Updates blocked must run latest img - Discourse hosted

Updates via the web UI are disabled until you run the latest image. To do so log in to your server using SSH and run.

This is a discourse hosted forum.

It’s fairly normal that the web UI updates cannot always do the job. So one must always be ready to login and do a command line update.

(One must also always take a backup before an update!)

how would i do that on discourses servers? I wouldnt think they would allow this.

Can’t you control that in the UI by following the right update channel?

I believe you will get some help shortly

no rush, i figured i should ask the Founders if the server is self hosted, just in case.

My conversations from years back led me to believe it wasnt. but now…

(it says at the bottom of every page ‘powered by discourse’ )

course, that could mean either way too.

ill find that out before i continue :slight_smile:

oh, all installations of Discourse have that ‘powered by discourse’ link at the bottom. If your site is self hosted you will need the ability to log into your server using a secure shell (SSH) where Discourse lives and run the upgrade from the command line

Oops, I did not take that into account. However, as noted, most likely you are in fact self-hosted.

(You might not necessarily need ssh as your hosting provider might provide you with a web-based command line or console.)

I added the hosted-support tag for clarity. @Giantkin_1 It’s currently the weekend for most, so you’d need to wait until Monday for this to receive support from the team.

Completely tangential, this is my “least favorite” feature of discourse.

I understand the stated logic behind it, and getting self hosted forums also taking care of underlying OS patching.

My curiosity is whether or not there is a technical reason why updates from the UI are disabled, or if its just a pattern to be a pattern.

Flipping it around- I love the ability to update my forum within the mobile app, it makes keeping up with updates simple and convenient.

As a discourse hosted site, we’re quite happy to hand-off that responsibility to team discourse. Their support is top-notch and we can focus on the community and not doing version control.

Well overall its odd, all the updates for the last 5 years i been able to do, but suddenly blocked and have to ssh in, i thought was weird.

but i asked the website team now, see when that gets answered.
then, if they say its self, i’ll beg them to update hehe

if its Discourse hosted, ill come back and beg to get updated :wink:

lol

You won’t have that update UI on hosted instances at all, so you must be self-hosted or someone is doing that for you.

yup. i had just clicked update for something from july The new update wouldnt let me do it, i assumed that the july one had to go first. so updated that one just fine. no problems at all.

guess its been over 5yrs for the image version update. well, i got the query in to the team. see what they say/whos doing it.

If you hadn’t yet got the big database version update, then picking that up does require you to do two command line updates. Thats from pg15 to pg18, available from early August. See

@Giantkin_1 Could you send a link to your forum if possible? Perhaps I can check if it’s self-hosted or not.

Ok; I’m about 95% sure you’re self-hosted. Your site doesn’t use the Discourse CDN for assets, and the nslookup command doesn’t have hosted-by-discourse.com in your CNAME records.

natedhaliwal@DESKTOP:~$ nslookup ndknowledgebase.discourse.group
Server:         10.255.255.254
Address:        10.255.255.254#53

Non-authoritative answer:
ndknowledgebase.discourse.group canonical name = ndknowledgebase.hosted-by-discourse.com.
Name:   ndknowledgebase.hosted-by-discourse.com
Address: 184.105.99.43
Name:   ndknowledgebase.hosted-by-discourse.com
Address: 2602:fd3f:3:ff01::2b

vs:

natedhaliwal@DESKTOP:~$ nslookup forum.giveth.io
Server:         10.255.255.254
Address:        10.255.255.254#53

Non-authoritative answer:
Name:   forum.giveth.io
Address: 64.225.108.97

Do you know where your forum is hosted? DigitalOcean perhaps?

for the name aspect, the other server i run, forum.shapeshift.com is def hosted by discourse, if you want to use it as a comparison.

Yup, I’m looking at this one, and I can see the CNAME record. So I think your forum is self-hosted.

root@localhost:~# nslookup forum.shapeshift.com   Server:         8.8.8.8
Address:        8.8.8.8#53

Non-authoritative answer:
forum.shapeshift.com    canonical name = shapeshift1.hosted-by-discourse.com.
Name:   shapeshift1.hosted-by-discourse.com
Address: 184.104.178.43
Name:   shapeshift1.hosted-by-discourse.com
Address: 2602:fd3f:1:ff01::2b

root@localhost:~# nslookup forum.giveth.io        Server:         8.8.8.8
Address:        8.8.8.8#53

Non-authoritative answer:
Name:   forum.giveth.io
Address: 64.225.108.97

root@localhost:~#