Lost plugin configurations after deployed to staging.

Posted: December 11, 2013 at 7:19 PM Quote #111365
As title, I am deploying my local dev solution to staging. I got everything workings except the status of plugins. I have installed some plugins in dev, and after I deploy the plugins folder, they are available in staging too, except they are not installed nor configured. Seems the configurations are not installed in the database, so instead of reconfigure them one by one, is there anyway to "deploy" these configurations?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
http://tech.sunnyw.net/search/label/NopCommerce
Posted: December 11, 2013 at 8:15 PM Quote #111366
sunnyw wrote:
As title, I am deploying my local dev solution to staging. I got everything workings except the status of plugins. I have installed some plugins in dev, and after I deploy the plugins folder, they are available in staging too, except they are not installed nor configured. Seems the configurations are not installed in the database, so instead of reconfigure them one by one, is there anyway to "deploy" these configurations?


Apparently settings are saved in DB, so you need to copy over (part if not all) the DB rows too. :D
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Lam Woon Cherk
https://www.pronopcommerce.com

Sign up to my mailing list for tons of tips on nopCommerce: http://bit.ly/2fg5fMy

HINT: Upon signing up, you'll receive my e-book "nopCommerce Speed Optimization" on
how to make your nopCommerce websites score A in Google PageSpeed Insights
Posted: December 11, 2013 at 8:43 PM Quote #111372
wooncherk wrote:
As title, I am deploying my local dev solution to staging. I got everything workings except the status of plugins. I have installed some plugins in dev, and after I deploy the plugins folder, they are available in staging too, except they are not installed nor configured. Seems the configurations are not installed in the database, so instead of reconfigure them one by one, is there anyway to "deploy" these configurations?

Apparently settings are saved in DB, so you need to copy over (part if not all) the DB rows too. :D


I don't think that's the case. I restored the whole DB across. All orders / products etc retained, except only plugins
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
http://tech.sunnyw.net/search/label/NopCommerce
Posted: December 11, 2013 at 8:50 PM Quote #111373
sunnyw wrote:
As title, I am deploying my local dev solution to staging. I got everything workings except the status of plugins. I have installed some plugins in dev, and after I deploy the plugins folder, they are available in staging too, except they are not installed nor configured. Seems the configurations are not installed in the database, so instead of reconfigure them one by one, is there anyway to "deploy" these configurations?

Apparently settings are saved in DB, so you need to copy over (part if not all) the DB rows too. :D

I don't think that's the case. I restored the whole DB across. All orders / products etc retained, except only plugins


Did you upload the /App_Data/InstalledPlugins.txt file also?
This post/answer is useful
2
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Lam Woon Cherk
https://www.pronopcommerce.com

Sign up to my mailing list for tons of tips on nopCommerce: http://bit.ly/2fg5fMy

HINT: Upon signing up, you'll receive my e-book "nopCommerce Speed Optimization" on
how to make your nopCommerce websites score A in Google PageSpeed Insights
Posted: December 11, 2013 at 8:55 PM Quote #111374
wooncherk wrote:
As title, I am deploying my local dev solution to staging. I got everything workings except the status of plugins. I have installed some plugins in dev, and after I deploy the plugins folder, they are available in staging too, except they are not installed nor configured. Seems the configurations are not installed in the database, so instead of reconfigure them one by one, is there anyway to "deploy" these configurations?

Apparently settings are saved in DB, so you need to copy over (part if not all) the DB rows too. :D

I don't think that's the case. I restored the whole DB across. All orders / products etc retained, except only plugins

Did you upload the /App_Data/InstalledPlugins.txt file also?


Nope, that's the missing step in the deployment!!
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
http://tech.sunnyw.net/search/label/NopCommerce
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2017
Learn more