I just tried to do an upgrade and it failed. Now when I try to access my Discourse site, I just see a blank screen. So I decided to do a command line rebuild…
But there’s no “discourse” directory under “var” anymore!
Any ideas on how to troubleshoot this?
Are you logging into the correct server? I’d check that. It happens to me sometimes.
No it was definitely the correct server and the directory definitely disappeared.
I had to reinstall Discourse on the server and restore a backup. Not a lot of fun.
This sort of report turns up quite often where people can’t find the Discourse files. But they are usually there although there are several reasons why we can’t find them easily. Maybe something like this:
We successfully installed Discourse on Digital Ocean, everything works well, but we can’t for the life of us find where the actual discourse files are. We wanted to test some modifications and build some plugins, but we can’t find any files. We used Filezilla to log into the site. However, we can’t actually find any of the Discourse application files anywhere, e.g. discourse/app. We went into the var/discourse folder and nothing. Then var/discourse/containers and nothing. We did SSH .launcher en…
It wasn’t that type of issue.
After I reinstalled Discourse I can see the directory again and files again.
Discourse doesn’t remove the directory, ever.
I would personally investigate the server security.