scala / scala-dev

Scala 2 team issues. Not for user-facing bugs or directly actionable user-facing improvements. For build/test/infra and for longer-term planning and idea tracking. Our bug tracker is at https://github.com/scala/bug/issues
Apache License 2.0
130 stars 14 forks source link

contributors forum needs Discourse upgrade #881

Closed SethTisue closed 2 weeks ago

SethTisue commented 2 weeks ago

@fsalvi it had been a while since we'd upgraded Discourse, and the site dashboard was complaining that our version was out of date, so I upgraded users.scala-lang.org through the web UI and that went fine

but then, I don't know why, but on contributors.scala-lang.org it isn't able to perform the upgrade automatically

at https://contributors.scala-lang.org/admin/dashboard/whats-new it says "A critical update is available. Please upgrade!"

the upgrade page is https://contributors.scala-lang.org/admin/update and it says:

You are running an old version of the Discourse image 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:

    cd /var/discourse
    git pull
    ./launcher rebuild app

is that something you could do...?

not urgent, but we shouldn't let it sit indefinitely, either

fsalvi commented 2 weeks ago

Upgrading thru the web interface doesn't always work fine. I think it can even be a bit risky (it already happened that it can get stuck in the middle of the operation)... I did the upgrade for contributors, it should be ok now.

SethTisue commented 2 weeks ago

Thank you Fabien!

In the future, would you prefer that I refrain from attempting any upgrades myself?

fsalvi commented 2 weeks ago

Well, maybe it's better if I do them myself. Usually, I do them from time to time, but if you see it's getting too long, you can ping me!