I broke my site while updating it

Hi there,

I broke my site while updating it :cry: I haven’t updated it in a while (it’s a work-in-progress so I don’t have users to worry about). I was following the updating instructions, and it was taking a very, very long time, and (I know I shouldn’t have! but) I clicked on the Versions link and then Packages link, and then -poof- I couldn’t get back to the Updating page. There was a Bad Gateway error, and now, I can no longer access the site.

I’m totally clueless.

Until now, I’ve been able to maintain things on my own, just following the update instructions and running the manual update on the Terminal. Ah, right! - which I decided to do in the midst of the update. Yep, I did that. I don’t know what I was thinking through any of this :upside_down_face:

(Clearly, thinking was not part of it).

sigh..

Can anyone point me toward what I can do to dig my site out of the mess I made?

Any help, suggestions, etc. will be greatly appreciated :orange_heart:

You need to log in to the terminal via ssh or perhaps the digital ocean console.

Then you can

./launcher rebuild app

It’s a good bet that it’s been so long since you’ve done that, that you’ll need to upgrade postgres (PostgreSQL 15 update. But it’s also a pretty good bet that you can just do that rebuild again and it’ll all be done.

You might first need to upgrade docker.

It’s also possible that your os is beyond end of life, which can make upgrading docker harder. (but maybe “apt update; apt upgrade” will do it.)

If you’d rather not learn that you can ask for help in Marketplace and someone like me can make it work for you.

1 Like

Hi Jay,

Thank you for your reply!

I did try ./launcher rebuild app and it looks like my problem may be connected to this

HINT: The plugin ‘discourse-subscriptions’ is now bundled with Discourse and should not be included in your container configuration.
Remove the line ‘git clone https://github.com/discourse/discourse-subscriptions’ from your containers/app.yml file, then try again.

and this

HINT: The plugin ‘discourse-calendar’ is now bundled with Discourse and should not be included in your container configuration.
Remove the line ‘git clone https://github.com/discourse/discourse-calendar’ from your containers/app.yml file, then try again.

Which I would do, but I don’t know how to do it. I am happy to learn that. And to learn about the other issues you brought up if they’re part of this, but I will need some guidance.

Is that something I can work out with you — through Marketplace? I haven’t used Marketplace before. Do I just repost this there? And then you’d reply there?

Do you remember how you installed the plugins? Removing them is very similar to that

2 Likes

Hi Moin,

I’ll check out these links and see if I can remember it - hehe. I know I sound absurd…I’ll let you know in a bit how it goes :slight_smile:

1 Like

We did it! Thank you @Moin ! It took me a long-minute, but I deleted those two plug-ins from yml and rebuilt the site. And - we’re back! Thank you @pfaffman for getting me started too :slight_smile:

You two, this community, you made my day :sparkles:

Now, I can just chuckle to myself about how much of a bull in a china shop I am :upside_down_face:

Much gratitude :orange_heart:

3 Likes