Literally offline now, so help as soon as possible would be amazing. Iāve relaunched my server probably 40 times now and this time, Iām getting an error Iāve never had before:
When I ran that doctor command it mentions there, a āserious problemā was:
app not running!
Attempting to rebuild
Discourse version at forums.mysite.me: NOT FOUND
Discourse version at localhost: NOT FOUND
But I mean, my site was running perfectly fine before I tried to rebuild it, so are those just showing since it shut it down when running the rebuild command? Restarting my VPS didnāt help. @RGJ
Can you give more context? Whatās above the error in your screenshot? If you can paste text rather than a picture of it, itāll be searchable and easier to read.
Under most conditions, you should be able to restart your site with ./launcher start app. But if rebooting the VPS didnāt do that, then it might have migrated the database such that it wonāt work.
The start app command did get my site back running last night for now. But thatās just a band-aid, right? Since it isnāt rebuilding the site? Iām using everything that I used before. The only difference in plugins I added were the post reactions one and the Newsletter one. But I tried removing them one at a time and then both but the site still wouldnāt launch. And thereās no whitespace or anything in the app.yml file.
Like a band-aid. It stops the bleeding and lets you get on with your life. Your site is functioning, which is what you want right now, right?
Unlike a band-aid, you are not going to heal without something else changing, so yes, your site isnāt upgraded.
Hmm. Thatās coming from pups, which makes me think thereās an error in your YML, but you say that you didnāt change it, so that doesnāt make sense.
Or did this error appear when you added those plugins?
Ummm, yeah, the site never had issues building before until I added those 2 plugins, but like I said, removing them one-by-one and then both (AKA having the original app.yml file that worked fine) still didnāt workā¦So weird.
Thatās consistent with your making an error in your YML file. YML is incredibly picky about spaces and tabs. You can try pasting it in to some YML validator site, though itās likely hard for you to be able to copy and paste it reliably.
Iāve gone through it about 10 times now, but I can comb through it again I guess. Before adding the plugins to it, I made a backup of it, which is the version that worked totally fine. But now isnāt. And yeah, also used a YML validator too.
That suggests that there is either there is some new error in pups or youāve somehow edited your backup file. Neither of those seems very likely.
There is whitespace in the file. You have whitespace at the beginning of a bunch of lines, as itās required. A typical problem is that you have tabs instead of spaces, but it sounds like thatās not what has happened.