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