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 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 -
Hi All,
My cloudron is at 7.6 but my discourse instance at 3.1.3. i'm trying to restore my discourse but :
I beleive i have to update the discourse or add the docker_manager plugin, but how to do so ?
Many thanks
-
-
@necrevistonnezr i this try this -> git clone <plugin-repo> but it didn't work
-
@jrl-abstract27 said in Note on upgrade to Discourse v3.1:
I beleive i have to update the discourse or add the docker_manager plugin
Why do you believe that?
https://github.com/discourse/docker_manager says:
This plugin works with the Discourse docker image.
Cloudron packages have their own custom images, so it's not at all surprising this won't work on Cloudron.
-
@jdaviescoates Thanks, but then, how do i update the data ? I cannot update the discourse version and to upload the datas it says that i need a more recent version of discourse...