Upgrading from 4.20 to 4.50

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 anni tempo fa
Hello Andrei,
I'm trying to upgrade to 4.50 but there's a problem.
From 4.20 to 4.30 there's the update.sql and that's fine, but next step (4.30 to 4.50) fails because database has not been updated to 4.40.
Is there an update.sql from 4.30 to 4.40 or I have to install (!!!) 4.40 just to update db?
2 anni tempo fa
Hi, just install 4.40.x should work fine.
2 anni tempo fa
infinito62 wrote:
Hello Andrei,
I'm trying to upgrade to 4.50 but there's a problem.
From 4.20 to 4.30 there's the update.sql and that's fine, but next step (4.30 to 4.50) fails because database has not been updated to 4.40.
Is there an update.sql from 4.30 to 4.40 or I have to install (!!!) 4.40 just to update db?


Just do the sql upgrade for 4.30 and then install 4.50 version, that will do it, there is no need for 4.40 installation :-)
2 anni tempo fa
No, it doesn't work. Reading the error log there are missing elents created on 4.40 reqyured for db uograde. It seems necessary 4.40, but i don't understand why instead of one minute sql script it is necessary losing hours fir a useless 4.40 installation.
2 anni tempo fa
Anyway, I installed nop 4040 and tried to upgrade 4.30 t0 4.40 but received the following error:  

Sequence contains more than one element

What does this mean?
2 anni tempo fa
infinito62 wrote:

Sequence contains more than one element
What does this mean?

This exception is caused by trying to install to a database that has already been installed (i.e. already has tables). are you using existing db connection to your app settings?
please check this thread https://www.nopcommerce.com/en/boards/topic/40009/setup-failed-sequence-contains-more-than-one-element
2 anni tempo fa
I am trying to upgrade also from 4.2 to 4.5. Can you go stead ahead from 4.2 to 4.5 without SQL script?
After I have copied all file I get the message:
HTTP Error 500.30 - ASP.NET Core app failed to start
Common solutions to this issue:
The app failed to start
The app started but then stopped
The app started but threw an exception during startup
Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028265

Can someone help me to solve the issue?
2 anni tempo fa
You still need to upgrade the DB from 4.20 to 4.30
https://github.com/nopSolutions/nopCommerce/releases/tag/release-4.30
nopCommerce_4.30_UpgradeScripts.zip

The error "ASP.NET Core app failed to start" implies you need to install .NET Core runtime
FYI  https://www.nopcommerce.com/en/boards/topic/90566/version-4401-http-error-50030-aspnet-core-app-failed-to-start
2 anni tempo fa
Thank you. the script worked indeed. Now I have nopcommerce running again.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.