I’ve been running Discourse on DigitalOcean for the past two years. Just this week I tried to upgrade and every time I tried to do it from the control panel it would fail.
I tried SSH’ing in and doing it manually, but for some reason DO’s setup of Discourse–at least at the time I originally set it up–didn’t have the var/discourse directory. Regardless, now I’m getting 502 and I can’t get my application to start back up again. Running the logs app from the /docker directory I get Could not find activesupport-4.2.8 in any of the sources
What I would love to do is to start completely over - perhaps by installing with whatever new paradigm DO/Discourse has for 2017 BUT I want to be able to keep my old database - my years of posts, comments, etc.
Is there any resource or suggestion anyone would have about how to go about doing this? I would super appreciate it as I have a pretty big active community that is wondering what happened!
Is this better than the one-click install app option on DO? What’s the difference?
How do I go about downloading my last backup? What is the location of all the important info?
In DO, my only options are to Create Droplet from a Backup or Restore Droplet from a Backup, nothing about downloading - but I’m sure I can do it manually if I know the essential parts.
The one-click install is out of date (2 major versions if I’m not mistaken) and there have been a number of support requests recently that appeared to be related to the DO install.
Are you still able to access Discourse from the browser? If so, download your backup from /admin/backups. If not, the files are located (by default) in /var/discourse/shared/standalone/backups/default. If you can find the installation location in your droplet, the shared folder should exist and from there you should be able to get the backups.
And if I somehow don’t have a /var/discourse folder but a var/docker folder…does that sound right?
I can’t get into the control panel from the browser, only SSH through Terminal.
Also, just realized, these are DO’s automatic backups of the entire droplet done once a week. Unless Discourse does backups automatically I might not have them in that location.
That is where Discourse used to be installed (years ago), so yes, that sounds right.
Discourse does do automated backups, and that is what you should be looking for. DO droplet backups will not help you reinstall Discourse and then restore the database.
Before contacting DO I’d really appreciate it if someone would double check me on that. I’ve never personally used the DO one-click install…I’ve just seen reports of people doing it and coming in with old versions.
commit 0113fce420bcf3bc18a38c6864150334fdefa273
Author: Sam <sam.saffron@gmail.com>
Date: Tue Apr 12 13:29:48 2016 +1000
FEATURE: automatically close topics with 10k+ posts
FEATURE: automatically close messages with 2k+ posts
Both configurable via `auto_close_messages_post_count`
and `auto_close_topics_post_count`
I installed Discourse yesterday and it’s on Version 2.0.20180802. The lastest Discourse is not available. But I guess they need a week to update it to the latest.
Although when I clicked to update the discourse, the installation got stuck and after that 504 error.
Do you research about a car to know it’s buggy or you drive it to know about its issue? I prefer the latter. Now I can make my mind, about which way to go.