Hi community, I create this Wiki post to help users to find solutions for frequent issues after update to NC29. This should avoid flooding forum with similar topics and help others identify and solve known issues.
this is a WIKI article - everybody is welcome to contribute. if you feel there is a repeated topic related to nc29 update please add it to the list
Github issues
htaccess issue
The way how Nextcloud check if the data directory might be accessible from remote changed and for this reason new setup_warning is shown:
English:
Your data directory and files are probably accessible from the internet. The .htaccess file is not working. It is strongly recommended that you configure your web server so that the data directory is no longer accessible, or move the data directory outside the web server document root.
German:
Dein Datenverzeichnis und Deine Dateien sind wahrscheinlich vom Internet aus erreichbar. Die .htaccess-Datei funktioniert nicht. Es wird dringend empfohlen, Deinen Webserver dahingehend zu konfigurieren, dass das Datenverzeichnis nicht mehr vom Internet aus erreichbar ist oder dass Du es aus dem Dokument-Root-Verzeichnis des Webservers bewegst.
related threads:
- Admin Overview Error .htaccess file not working / data directory accessible
- After upgrade from 28 to 29 I have "Data directory and your files are probably accessible from the Internet"
- Data directory accessible from the internet
- [FIXED] Htaccess file is not working
- How to test if my files are not accessible from the internet?
Troubleshooting steps:
- review your
trusted_domains
andoverwrite.cli.url
values in config.php
(second one is important in case the server has no internet access and could point to internal URL)
well-known issue
English:
Your web server is not properly set up to resolve .well-known URLs, failed on: /.well-known/caldav For more details see the documentation
French:
Votre serveur web n’est pas configuré correctement pour résoudre les URL .well-known, a échoué sur : /.well-known/caldav Pour plus d’information, voir la documentation
problem is missing trailing slash in /remote.php/dav/
reverseproxy rewrite settings.
trailing slash is optional from 29.0.4 fix(settings): make trailing slash for caldav/carddav redirects optional by MichaIng · Pull Request #46079 · nextcloud/server · GitHub
Nginx proxy manager (notice trailing /)
location = /.well-known/carddav {
return 301 $scheme://$host:$server_port/remote.php/dav/;
}
location = /.well-known/caldav {
return 301 $scheme://$host:$server_port/remote.php/dav/;
}
related threads:
- [Bug]: NC29 .well-known URLs, failed on: /.well-known/caldav · Issue #45033 · nextcloud/server · GitHub
- Nextcloud Hub 8 (29.0.0) Weird error messages
- Nach Update Warning wegen well-known unter nginx
- .well-known warning with external CalDAV provider after upgrade to NC 29
cron not running
Error: Class “OC\BackgroundJob\TimedJob” not found in ..
different apps which are not ready for nc29 now cause the error so far music, backup, old richdocuments (8.4.0-beta.1)
- Unable to connect to 'trusted_domains' error after upgrade to 29.0 beta - #3 by Alexander_Robinson1
- https://github.com/nextcloud/richdocuments/issues/3523
- Php cron job fails on Nextcloud 29.0.0 Beta · Issue #36 · julien-nc/phonetrack · GitHub
- Cron background job not working after update to 29
cron memory warning
“Used memory grew by more than 10 MB when executing job”.
should be less visible from 29.0.4 as 10MB is debug and 300MB info level from 29.0.4 fix(cron): Log excess memory usage at debug and info levels by joshtrichards · Pull Request #45530 · nextcloud/server · GitHub
- NC29: Cron warning memory increase
- Warning: "Used memory grew by more than 10 MB when executing job ... UpdateAvailableNotifications"
Random logouts
After upgrading to Nextcloud 29 (and 28.0.5) users get randomly logged out of the instance and have to login again.
A fix is available at
- https://github.com/nextcloud/server/pull/45093.
and will be included in 29.0.1. - Web Interface forcing logout after upgrade to 28.0.5
maintenance mode (Polls)
- Nextcloud Maintanance Mode upgrading to NC29 (due to Polls 7.1.0)
- Maintenance mode after update to Polls 7.1.0 · Issue #3551 · nextcloud/polls · GitHub
mimetype migration issue
One or more mimetype migrations are available. Occasionally new mimetypes are added to better handle certain file types. Migrating the mimetypes take a long time on larger instances so this is not done automatically during upgrades. Use the command `occ maintenance:repair --include-expensive` to perform the migrations.
basically the message ships the answer already:
Use the command
occ maintenance:repair --include-expensive
to perform the migrations.
but seems to be a bug in 29.0.5 so many users struggle with the issue