After installing Nextcloud via Docker, and if you go to /settings/admin/overview
, you might find some warnings that you need to do further configurations to get rid of.
Service Discovery
Your web server is not properly set up to resolve “/.well-known/caldav”. Your web server is not properly set up to resolve “/.well-known/carddav”.
Go to the app/
directory where you’ll find the .htaccess
file, and change the following lines:
RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
To:
RewriteRule ^\.well-known/carddav https://%{SERVER_NAME}/remote.php/dav/ [R=301,L]
RewriteRule ^\.well-known/caldav https://%{SERVER_NAME}/remote.php/dav/ [R=301,L]
Cron Jobs not working
You will need to setup a cron job from your host system. Try:
sudo crontab -e
Then add this line at the bottom:
*/5 * * * * docker exec -u www-data [containername] php /var/www/html/cron.php
Make sure to change [containername]
to the actual name of your container.