Note on upgrade to Discourse v3.1
-
It's wonderful to see the Cloudron packaging updated so quickly after the Discourse release! I wanted to share a few notes on my upgrade to v3.1, in case it helps anyone else.
First, I had to remove
login.invite_only.validator
(which was previously set to "EnableInviteOnlyValidator") fromsite_settings.yml
in order to get the server to start after updating.Second, one of the featured additions in the 3.1 announcement was the modular Discourse AI plugin. I was interested to test it out, but was unsuccessful in trying it. After adding the plugin and restarting the server, I got caught on this:
PG::UndefinedFile: ERROR: could not open extension control file "/usr/share/postgresql/14/extension/vector.control": No such file or directory
Looks like there is a Postgresql extension that needs to be installed/configured to use this plugin.
-
Looks like we need pgvector extension - https://github.com/pgvector/pgvector/issues/162
-
Looks like there is ready-made package for this extension, so this will be complicated to support. We can use postgresql apt packages maybe - https://github.com/pgvector/pgvector#apt but have to check what is the support guarantee for this (currently, we use ubuntu lts packages).
-
@ari said in Note on upgrade to Discourse v3.1:
It's wonderful to see the Cloudron packaging updated so quickly after the Discourse release!
Installation version is still 2.8.14. Anything I missed?
Cheers