By andxblink
My vanilla install of Discourse as One-Click Install App now crashed three times. Why?
The first two times I thought this might my mistake and that ./launcher rebuild app may not be allowed in this One-Click Install App. Those first two were for corrections to app.yml that I wanted to save.
But the third was after updating from inside Discourse, so a necessary final step.
My question put another way: How can I successfully edit app.yml and should I do updates from inside Discourse?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Our one-click uses a very standard installation of Discourse using docker and should be rebuildable using standard methods. If the app has been crashing, the first thing I would check is whether you are running out of memory on the droplet causing services to crash.
As part of the one-click setup process we build a new app.yml and use the following process to fully reconfigure (this is done by the script that is run when you first log in)
cd /var/discourse;
./launcher destroy app;
rm -f /var/discourse/shared/standalone/redis_data/redis.rdb;
rm -Rf /var/discourse/shared/standalone/nginx;
rm -Rf /var/discourse/shared/standalone/html;
export UNICORN_SIDEKIQS=1;
./launcher start app;
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.