Upgrade to 4.5

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 anno tempo fa
I HAVE MY CUSTOMIZED DB WHICH IS UPGRADED TO 4.3 NOW FROM 3.8.
NOW WHILE RUNNING THE LATEST SOURCE 4.5.3 , WHICH OPTION IS BEST

OPT 1:   RUN SOURCE, ON INTSALLATION WINDOW , GIVE THE EXISTING DB DETAILS ,
OPT 2:  ADD APPSETTINGS.JSON AND PLUGIN.JSON MANUALLY AND THEN RUN SOURCE. IN THIS APPROACH IS THE UPGRADE QUERY WILL EXECUTE OR NOT??

ANYBODY SPECIFY WHICH IS BEST APPROACH TO AVOID BUGS
1 anno tempo fa
1. Run install and create a test database
2. Check the system is operating correctly
3. Edit appsettings.json and point to v4.3 database
4. Run website to migrate the database to v4.5
- If errors check the std_error log
- See https://www.selectsystems.com.au/checking-for-errors-on-a-new-installation-of-nopcommerce
5. Ensure system is running on upgraded database
6. Install 3rd Patry Plugins
1 anno tempo fa
4. Run website to migrate the database to v4.5

HOPE MIGRATION WILL AUTOMATICALLY TAKEN WHILE RUNNING
1 anno tempo fa
You can also check Windows System Event Logs

You probably have a security / connection issue with the database
How are you running in Visual studio or Production ?
If IIS Have you set the security access on the database
1 anno tempo fa
i am running from vs 2022.

the approach yu said is worked for me for 4.3

while running 4.5 , page not displayed error is coming

app not running perfectly. logs are also empty
1 anno tempo fa
What is the error ?
1 anno tempo fa
is there an upgrade path from 4.3 to 4.5 through Visual Studio with NuGet?
1 anno tempo fa
Hi
to upgrade you need to install some SDK which is required for the latest .Net version
using VS Nuget maybe it can be build success as some of software required to install

please check this doc. and link it may be helpful for you
https://docs.nopcommerce.com/en/installation-and-upgrading/upgrading-nopcommerce.html
https://www.nopcommerce.com/en/boards/topic/92682/upgrade-42-to-45
https://www.nopcommerce.com/en/boards/topic/95167/upgrade-from-43-to-45

Using this you may get more idea regarding upgrade
1 anno tempo fa
RE: "upgrade ... through Visual Studio"
Upgrade what?
Get Visual Studio 2022.
Get the source code version of nopCommerce 4.50.x
If you have custom code in your 4.30 version, you will need to upgrade/merge it into the 4.50 version.
(Use a Diff tool to see the types of changes that the core team did)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.