How to prevent installation page from showing after deployment from local development?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
I developed locally and want to upload to a prod server.
I download and import it nto mysql container the database and download the docker sources, but the installation page still comes up. Although I added all the necessary files to the container and restarted. What else is needed?

3 years ago
What version of nopCommerce?
3 years ago
New York wrote:
What version of nopCommerce?

Current version release-4.50.2 https://github.com/nopSolutions/nopCommerce/releases/tag/release-4.50.2
3 years ago
Why do you still have files: Setting.txt and InstalledPlugins.txt ?
4.50 uses:  appsettings.json, dataSettings.json, plugins.json
3 years ago
New York wrote:
Why do you still have files: Setting.txt and InstalledPlugins.txt ?
4.50 uses:  appsettings.json, dataSettings.json, plugins.json


I know  Setting.txt and InstalledPlugins.txt  is an old method. Nevertheless, there is also a new method with appsettings.json, plugins.json, but this also doesn't work.
Only from you I realized that there should still be dataSettings.json. What should it have inside and will it solve my problem?
3 years ago
RE: dataSettings.json
If you "developed locally", then you should have that file local.  (If not, then do another 'install' locally.  Without any of those files present, the system runs the install.)

Mine looks like this, but I use SQL Server, so yours will differ:
{
  "DataConnectionString": "Data Source=localhost;Initial Catalog=nopCommerce450;Integrated Security=True;Persist Security Info=False",
  "DataProvider": "sqlserver",
  "SQLCommandTimeout": null,
  "RawDataSettings": {}
}
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.