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. Nextcloud
  3. Nextcloud 21 is out

Nextcloud 21 is out

Scheduled Pinned Locked Moved Solved Nextcloud
26 Posts 7 Posters 3.5k Views 9 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.
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #15

    @nebulon you've probably spotted this already, but I just noticed 21.0.1 is now out - so I think that means time to update the Cloudron package, right? (I really want to try out the new whiteboard 🙂 )

    https://github.com/nextcloud/server/releases/tag/v21.0.1

    I use Cloudron with Gandi & Hetzner

    nebulonN 1 Reply Last reply
    1
    • jdaviescoatesJ jdaviescoates

      @nebulon you've probably spotted this already, but I just noticed 21.0.1 is now out - so I think that means time to update the Cloudron package, right? (I really want to try out the new whiteboard 🙂 )

      https://github.com/nextcloud/server/releases/tag/v21.0.1

      nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #16

      @jdaviescoates right, I've just updated the v20 app package and will then start testing v21 tomorrow.

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

        We have released the 21 package now and will be rolling it out slowly over the next week.

        necrevistonnezrN imc67I 2 Replies Last reply
        1
        • nebulonN nebulon

          We have released the 21 package now and will be rolling it out slowly over the next week.

          necrevistonnezrN Offline
          necrevistonnezrN Offline
          necrevistonnezr
          wrote on last edited by necrevistonnezr
          #18

          @nebulon said in Nextcloud 21 is out:

          We have released the 21 package now and will be rolling it out slowly over the next week.

          Installed and now problems so far. Will you update to the "high-performance-backend" in the future as described here: https://github.com/nextcloud/notify_push?

          1 Reply Last reply
          0
          • imc67I Offline
            imc67I Offline
            imc67
            translator
            wrote on last edited by imc67
            #19

            @nebulon said in Nextcloud 21 is out:

            We have released the 21 package now and will be rolling it out slowly over the next week.

            Just updated to the new version, when you go to settings > administration > overview, you see several configuration “warnings”:

            Security & setup warnings
            It's important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the linked documentation for more information.

            There are some warnings regarding your setup.
            Your web server is not properly set up to resolve "/.well-known/webfinger". Further information can be found in the documentation.
            Your web server is not properly set up to resolve "/.well-known/nodeinfo". Further information can be found in the documentation.

            imc67I 1 Reply Last reply
            1
            • nebulonN nebulon

              We have released the 21 package now and will be rolling it out slowly over the next week.

              imc67I Offline
              imc67I Offline
              imc67
              translator
              wrote on last edited by
              #20

              @nebulon said in Nextcloud 21 is out:

              We have released the 21 package now and will be rolling it out slowly over the next week.

              Logs still not working, could this be a package bug?

              1 Reply Last reply
              1
              • imc67I imc67

                @nebulon said in Nextcloud 21 is out:

                We have released the 21 package now and will be rolling it out slowly over the next week.

                Just updated to the new version, when you go to settings > administration > overview, you see several configuration “warnings”:

                Security & setup warnings
                It's important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the linked documentation for more information.

                There are some warnings regarding your setup.
                Your web server is not properly set up to resolve "/.well-known/webfinger". Further information can be found in the documentation.
                Your web server is not properly set up to resolve "/.well-known/nodeinfo". Further information can be found in the documentation.

                imc67I Offline
                imc67I Offline
                imc67
                translator
                wrote on last edited by
                #21

                @imc67 said in Nextcloud 21 is out:

                @nebulon said in Nextcloud 21 is out:

                We have released the 21 package now and will be rolling it out slowly over the next week.

                Just updated to the new version, when you go to settings > administration > overview, you see several configuration “warnings”:

                Security & setup warnings
                It's important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the linked documentation for more information.

                There are some warnings regarding your setup.
                Your web server is not properly set up to resolve "/.well-known/webfinger". Further information can be found in the documentation.
                Your web server is not properly set up to resolve "/.well-known/nodeinfo". Further information can be found in the documentation.

                @nebulon did you find time to check the new app version for this warning? Also logs still don't work.

                nebulonN 1 Reply Last reply
                0
                • imc67I imc67

                  @imc67 said in Nextcloud 21 is out:

                  @nebulon said in Nextcloud 21 is out:

                  We have released the 21 package now and will be rolling it out slowly over the next week.

                  Just updated to the new version, when you go to settings > administration > overview, you see several configuration “warnings”:

                  Security & setup warnings
                  It's important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the linked documentation for more information.

                  There are some warnings regarding your setup.
                  Your web server is not properly set up to resolve "/.well-known/webfinger". Further information can be found in the documentation.
                  Your web server is not properly set up to resolve "/.well-known/nodeinfo". Further information can be found in the documentation.

                  @nebulon did you find time to check the new app version for this warning? Also logs still don't work.

                  nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #22

                  @imc67 indeed I can reproduce this. Not yet sure why this is not the case for newly installed instances, but the previous version didn't have those files/routes either.

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

                    Apparently the htaccess file now has a few new rewrite rules:

                      RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L]
                      RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L]
                      RewriteRule ^\.well-known/webfinger /public.php?service=webfinger [QSA,L]
                      RewriteRule ^\.well-known/nodeinfo /public.php?service=nodeinfo [QSA,L]
                    

                    however they are all in the section where nextcloud itself says one should not modify them. Not sure how they have thought this to be handled for updates.

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

                      Some of the instances are hitting "Undefined class constant ‘MAJOR_VERSION’ after upgrade to 21" . This is a bug in the nextcloud plugin/app and you have to disable that plugin following the instructions at https://docs.cloudron.io/apps/nextcloud/#fixing-a-broken-install . It seems a lot of plugins are incompatible - https://github.com/nextcloud/vm/issues/1834#issuecomment-782832104 . If you use any of these plugins, either disable the plugin or disable automatic updates to nextcloud.

                      You might think 🙂 It turns out that occ tool itself stops working and you cannot disable plugins anymore with the CLI tool since it fails with the following error:

                      root@5795ea67-b3c2-4604-9710-88d1997920bd:/app/code# sudo -u www-data php -f /app/code/occ app:list
                      An unhandled exception has been thrown:
                      Error: Undefined class constant 'MAJOR_VERSION' in /app/code/3rdparty/guzzlehttp/guzzle/src/Utils.php:118
                      Stack trace:
                      #0 /app/code/3rdparty/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent()
                      #1 /app/data/apps/files_external_gdrive/vendor/guzzlehttp/guzzle/src/Client.php(194): GuzzleHttp\default_user_agent()
                      #2 /app/data/apps/files_external_gdrive/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\Client->configureDefaults()
                      

                      It seems the fix is to put nextcloud in recovery mode and then rm -rf /app/data/apps/<plugin> and then disable recovery mode.

                      necrevistonnezrN 1 Reply Last reply
                      0
                      • girishG girish

                        Some of the instances are hitting "Undefined class constant ‘MAJOR_VERSION’ after upgrade to 21" . This is a bug in the nextcloud plugin/app and you have to disable that plugin following the instructions at https://docs.cloudron.io/apps/nextcloud/#fixing-a-broken-install . It seems a lot of plugins are incompatible - https://github.com/nextcloud/vm/issues/1834#issuecomment-782832104 . If you use any of these plugins, either disable the plugin or disable automatic updates to nextcloud.

                        You might think 🙂 It turns out that occ tool itself stops working and you cannot disable plugins anymore with the CLI tool since it fails with the following error:

                        root@5795ea67-b3c2-4604-9710-88d1997920bd:/app/code# sudo -u www-data php -f /app/code/occ app:list
                        An unhandled exception has been thrown:
                        Error: Undefined class constant 'MAJOR_VERSION' in /app/code/3rdparty/guzzlehttp/guzzle/src/Utils.php:118
                        Stack trace:
                        #0 /app/code/3rdparty/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent()
                        #1 /app/data/apps/files_external_gdrive/vendor/guzzlehttp/guzzle/src/Client.php(194): GuzzleHttp\default_user_agent()
                        #2 /app/data/apps/files_external_gdrive/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\Client->configureDefaults()
                        

                        It seems the fix is to put nextcloud in recovery mode and then rm -rf /app/data/apps/<plugin> and then disable recovery mode.

                        necrevistonnezrN Offline
                        necrevistonnezrN Offline
                        necrevistonnezr
                        wrote on last edited by necrevistonnezr
                        #25

                        @girish
                        That‘s real stupid by NC 🙄
                        The occ command should be bulletproof.

                        girishG 1 Reply Last reply
                        0
                        • necrevistonnezrN necrevistonnezr

                          @girish
                          That‘s real stupid by NC 🙄
                          The occ command should be bulletproof.

                          girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #26

                          @necrevistonnezr right I was hoping for a --skip-plugins or equivalent but couldn't find one (the WP cli tool has something like that for skipping loading of themes and plugins).

                          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