thanks Jay. I just did it and it fails
>Pups::ExecError: socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1 failed with return #<Process::Status: pid 45 exit 1>
>Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
>exec failed with the params "socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1 >24f9bd2c5a37439d0ae738c6b3eb09dc43f719dd12c8405c0056eed480d6e4c4
>** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
> **root@ESK8FRDiscourse** : **/var/discourse** #
Following your advice, I just started from scratch, recreated the droplet for Discourse on Digital Ocean. I did the ssh setup and I’m good. The Discourse forum is now back and running here
I’m using a A DNS value for forum.xxxx as the domain is not hosted by the same provider (here Digital Ocean) than the existing e-sk8.fr/forum forum.
now I’m coming to how I migrate http://www.e-sk8.fr/forum (3.2.1) to this discourse forum and that’s where I’m stuck. I got the raw file db export in .sql
I would love someone to help me but as it’s all personal money for a good cause; I would be able to pull out around 200/300 euros but not more. I know it’s not much but again, nothing is money driven on the ESK8FR forum.
It may also be a good option to simplify the categories to make the move simpler.
Would love to have your help Jay as you seem to be the man and it’s for a good cause
For some reasons, I went into Discourse admin and clicked “Update docker” (option was available). Went fine. Then I had the “Update Discourse” option available. I clicked “Upgrade”… and after 3 minutes it failed. Well, I didn’t gave up, so I went back to the terminal and did a ./discourse-setup and it’s running now. what a journey.
The discourse is now back up and running at the same state. It seems the “Upgrade option in Discourse just screwed the whole”, but now using the discourse-setup again, it’s now back to a proper/nominal state.
In the meanwhile and by reading a lot of tutorials, I managed to setup:
- Adsense plugin
- Email works with Mailgun.
- I took a snapshot of the environment to avoid redoing this initial setup hundred of time and can get back to a normal initial / baseline state anytime needed.
I imagine that this may be a laugh for you experts, but for me it’s a huge win and I almost didn’t sleep this night.
So now I’m back to my initial issue (and I apologize for some of the off topic of my post) : migration from my existing forum to this brand new and lovely Discourse.
I did an export of the php 3.2.1 database in gzip
and uploaded it in the right place. Renamed it accordingly
I then run the import script
I’m trying to do whatever I can but I’m stuck. At this time, the discourse was no more working and I had to come back to the snapshot
So I’m now back to the initial situation.
My forum is super simple : users, categories, posts. No polls, attachements uploads or whatever. I believe this could be achievable but I’m stuck