Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discourse
  3. Note on upgrade to Discourse v3.1

Note on upgrade to Discourse v3.1

Scheduled Pinned Locked Moved Discourse
10 Posts 7 Posters 1.9k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      A Offline
      ari
      wrote on last edited by
      #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") from site_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.

      N 1 Reply Last reply
      2
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        Looks like we need pgvector extension - https://github.com/pgvector/pgvector/issues/162

        1 Reply Last reply
        1
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          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).

          1 Reply Last reply
          1
          • A ari

            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") from site_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.

            N Offline
            N Offline
            nafets-lesierk
            wrote on last edited by
            #4

            @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

            1 Reply Last reply
            1
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #5

              The latest package has discourse 3.1.1 you may have to update your Cloudron first to v7.5

              1 Reply Last reply
              1
              • jrl-abstract27J Offline
                jrl-abstract27J Offline
                jrl-abstract27
                wrote on last edited by
                #6

                Hi All,
                My cloudron is at 7.6 but my discourse instance at 3.1.3. i'm trying to restore my discourse but :
                CleanShot 2023-12-03 at 16.42.45@2x.png

                I beleive i have to update the discourse or add the docker_manager plugin, but how to do so ?

                Many thanks

                London Web Agency : https://abstract27.com/

                1 Reply Last reply
                0
                • necrevistonnezrN Offline
                  necrevistonnezrN Offline
                  necrevistonnezr
                  wrote on last edited by
                  #7

                  RTM?
                  https://docs.cloudron.io/apps/discourse/#installing-plugins

                  1 Reply Last reply
                  0
                  • jrl-abstract27J Offline
                    jrl-abstract27J Offline
                    jrl-abstract27
                    wrote on last edited by
                    #8

                    @necrevistonnezr i this try this -> git clone <plugin-repo> but it didn't work

                    London Web Agency : https://abstract27.com/

                    1 Reply Last reply
                    0
                    • jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #9

                      @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.

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      0
                      • jrl-abstract27J Offline
                        jrl-abstract27J Offline
                        jrl-abstract27
                        wrote on last edited by
                        #10

                        @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...

                        London Web Agency : https://abstract27.com/

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search