Server doesn't boot, how can I recover Discourse


(Roberto_Pezzali) #1

Hello everybody, I have an issue.
My server autoupdate kernel and now it doesn’t boot because the virtual environment doesn’t support the new kernel.
I can install a new OS, how can I move Discourse to the new instance?

I have a backup but it’s not recent… can I move the docker container to the other server and everything is fine?


(Robby O'Connor) #2

What environment are you in that this is the case? How do you not have recent backups? I automatically take backups daily…can you downgrade the kernel?

The OS install isn’t hosed, just the kernel.


(Felix Freiberger) #3

Do you have a way to access the /var/discourse folder?

If so, copying the full folder over to a new server (with Docker and Git installed) should allow you to simply run ./launcher rebuild app there to re-create the container with all data intact; in case fixing the kernel setup as per @robbyoconnor doesn’t work out.


(Matt Palmer) #4

Contact the hosting provider, work with them to get a copy of the disk image, move /var/discourse to a server with a provider who knows what they’re doing.