Security & Setup warnings on Docker to Synology

Hi I have a problem with nextcloud application, the application is installed in docker on synology and uses mariadb database. When I go into the Administration panel from the Overview tab when checking it displays errors.

Just follow the instructions on that page until these warnings disappear.

I added entries to the file .htaccess

<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteRule ^/\.well-known/carddav /nextcloud/remote.php/dav [R=301,L]
  RewriteRule ^/\.well-known/caldav /nextcloud/remote.php/dav [R=301,L]
  RewriteRule ^/\.well-known/webfinger /nextcloud/index.php/.well-known/webfinger [R=301,L]
  RewriteRule ^/\.well-known/nodeinfo /nextcloud/index.php/.well-known/nodeinfo [R=301,L]
</IfModule>

This did nothing and the error still occurs

I would not install Nextcloud into a subfolder.

Mine looks like this

<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{HTTP_USER_AGENT} DavClnt
  RewriteRule ^$ /remote.php/webdav/ [L,R=302]
  RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
  RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
  RewriteRule ^remote/(.*) remote.php [QSA,L]
  RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
  RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]
  RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]
</IfModule>

In my case nextcloud is installed in /docker/nextcloud

I understand that this is the file path
/nextcloud/remote.php/dav

my directory structure looks like this
1

For errors related to

command helped

 docker exec -u www-data nextcloud php /var/www/html/occ db:add-missing-indices

only two bugs left