Upgrading - how to avoid new install?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Here is my situation:

I have a store using version 3.50, live and active. I don't want to touch it yet, because the store owner is not sure what version they want to upgrade to.

I have copied the database from the old store, upgraded it to version 3.90 and I have uploaded the 3.90 files to a subdomain, in order to create a demo for the store owner to try out.

Now when I visit to the demo site, I end up on the install page, and it wants me to type in an admin username and password, and the information for the database. Since I already have an admin account in the existing database I got suspicious and decided to be careful before I do something wrong.

Is there a way to "skip" the install procedure and make the program understand to use the existing database right away? Or do I have to run the installation even though I have a database set up already? The upgrade instructions don't mention anything about installing so I think I'm missing something.

Thanks in advance for any help I can get with this.
5 years ago
fsvanberg wrote:
Here is my situation:

I have a store using version 3.50, live and active. I don't want to touch it yet, because the store owner is not sure what version they want to upgrade to.

I have copied the database from the old store, upgraded it to version 3.90 and I have uploaded the 3.90 files to a subdomain, in order to create a demo for the store owner to try out.

Now when I visit to the demo site, I end up on the install page, and it wants me to type in an admin username and password, and the information for the database. Since I already have an admin account in the existing database I got suspicious and decided to be careful before I do something wrong.

Is there a way to "skip" the install procedure and make the program understand to use the existing database right away? Or do I have to run the installation even though I have a database set up already? The upgrade instructions don't mention anything about installing so I think I'm missing something.

Thanks in advance for any help I can get with this.


Hi,

You need to copy the Settings.txt file from App_Data folder to your test site. On startup, if nopCommerce detects that this file is missing it will automatically redirect you to the install page. Just copy the file and modify it with your credentials & database name for the test site.

P.S. You might want also to copy the InstalledPlugins.txt file from the same folder so that all the plugins ( assuming you are using the correct version for them ) will be loaded as well.

Regards,
Hristian
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.