Opened 9 months ago

Closed 8 months ago

#3141 closed task (fixed)

Upgrade Discourse to latest 3.3.0.beta1 version

Reported by: robe Owned by: sac-tickets@…
Priority: normal Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Discourse Keywords:
Cc:

Description

Just saw in admin panel, showing

"A critical update is available. Please upgrade!"

I'm going to test on staging first to make sure it doesn't break anything before attempting on production.

Change History (7)

comment:1 by cvvergara, 9 months ago

Last time what broke was the mbox importing. The upgrade had to be done manually instead of using the admin panel

comment:2 by robe, 9 months ago

@cvvergara,

Can you check if the mbox importing is still working on staging? I did the upgrade thru the interface on staging. If import still works, then I think we should be good to just use the web interface and not incur any downtime as is required doing via the OS.

comment:3 by robe, 9 months ago

BTW looks like it upgraded staging to 3.3.0.beta1-dev.

comment:4 by cvvergara, 9 months ago

Import fails after the admin panel upgrade ` <internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require': cannot load such file -- sqlite3 (LoadError)

from <internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require' from /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require' from /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:34:in `require' from /var/www/discourse/script/import_scripts/mbox/support/database.rb:3:in `<main>' from /var/www/discourse/script/import_scripts/mbox/importer.rb:4:in `require_relative' from /var/www/discourse/script/import_scripts/mbox/importer.rb:4:in `<top (required)>' from script/import_scripts/mbox.rb:12:in `require_relative' from script/import_scripts/mbox.rb:12:in `<module:Mbox>' from script/import_scripts/mbox.rb:11:in `<module:ImportScripts>' from script/import_scripts/mbox.rb:10:in `<main>'

`

comment:5 by robe, 8 months ago

Summary: Upgrade Discourse to latest 3.2.0beta5 versionUpgrade Discourse to latest 3.3.0.beta1 version

comment:6 by robe, 8 months ago

I'll do a test on staging with a full shutdown and then if looks okay do the same on production. I'm upgrading the docker plugin at moment on both.

comment:7 by robe, 8 months ago

Resolution: fixed
Status: newclosed

Done on both staging and production

Note: See TracTickets for help on using tickets.