What triggers the Install Screen on new installations?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 Jahre weitere
I am simply doing a local test of my deploy.  I am deploying from my local machine to my local machine's IIS (same box).

I just want to run it on IIS locally before I pack it up.

I want to use the same connection string as my Visual Studio project.

I deployed using Deploy.bat. check
I connect local IIS to the deploy folder. check
I copied my Settings.txt file from my working root, into the into the target site's App_Data folder  check (and it contains the right local connection info)

But the site shows me the Install screen.  No check

Is there any other files or settings I need to transfer as to not get the install screen?

Thanks in advance!


Jeremy
13 Jahre weitere
If you want to copy your existing setup, then you also need InstalledPlugins.txt (also in App_Data).  But I don't recall if that also affects/triggers the Install
13 Jahre weitere
nope that's not it. I tried copying over the contents of the entire app_data folder, but my deployed site still throws up the install page.

Any other triggers?
13 Jahre weitere
https://www.nopcommerce.com/boards/t/12962/installing-nopcommerce-on-test-server-with-an-existing-database.aspx
See the post by AndyMcKenna
13 Jahre weitere
I must have had the SQL settings incorrect.

The rule is that if you want to move over an existing installation, and not get the install screen you just need to copy the two txt files from the app_data folder, settings and InstalledPlugins.

If you get the install screen still, then you may have a permission or settings issue.

Thanks everyone!
8 Jahre weitere
Hello to all,

I install NopCommerce 3.8 Version Local in my computer and I use a database in a SQL Server.
And then when I start publish my site in a server its ask me again to Install it.
I try your solution but it doesn't work.
Is there anything else I can do?


PS
I use Visual Studio 2015

thank you in advance
8 Jahre weitere
The lack of Settings.txt triggers install.  When install finishes, it creates Settings.txt (and InstalledPlugins.txt ).  Thus it is not in the Visual Studio solution and does not get published.  If you are using the same database you tested with, then take the files Settings.txt and InstalledPlugins.txt from your project folder \Presentation\Nop.Web\App_Data, and copy them to your host's \App_Data folder.
(If you are not using the same database, then you need to adjust the connection string in the Settings.txt file.)
8 Jahre weitere
Thank you very much for your quick answer it works, yes I use the same database.
One more question which is following is if i install a plugin locally should I do again the copy-paste the txts files from local to host? and moreover i see that if i unistall a plugin at live site when I work locally it remains install. Is a way to synchronize or I should work in one of two sites?

Thank you
8 Jahre weitere
If both sites point to the same database, then after install on one site, copy the InstalledPlugins.txt file from that site to the other, and then "reload list of plugins" in the plugin list page.  (It will then show "Installed" on that site's plugin list.)
8 Jahre weitere
Thank you it works perfect!!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.