nextcloud-docker-dev icon indicating copy to clipboard operation
nextcloud-docker-dev copied to clipboard

Nextcloud container throws "access denied" error on intial startup

Open major-mayer opened this issue 3 years ago • 3 comments

Hi, i tried to set this up for a long time, but it always fails with the following error message: file_put_contents(/var/www/html/.htaccess): failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#552

So i created a fresh clone in a new folder and executed the bootstrap script once again, but the result was the same unfortunately... It's weird, because the container user should be root i guess and shouldn't have to deal with access permissions.

git clone https://github.com/juliushaertl/nextcloud-docker
cd nextcloud-docker-dev
./bootstrap.sh
sudo sh -c "echo '127.0.0.1 nextcloud.local' >> /etc/hosts"
docker-compose up nextcloud proxy
Klone nach 'nextcloud-docker-dev'...
remote: Enumerating objects: 1098, done.
remote: Counting objects: 100% (266/266), done.
remote: Compressing objects: 100% (129/129), done.
remote: Total 1098 (delta 182), reused 202 (delta 135), pack-reused 832
Empfange Objekte: 100% (1098/1098), 29.75 MiB | 14.92 MiB/s, fertig.
Löse Unterschiede auf: 100% (587/587), fertig.

⏩ Performing system checks
    ✅ docker is properly installed
    ✅ docker-compose is properly installed
    ✅ git is properly installed
    ✅ Docker is properly executable

⏩ Setting up folder structure and fetching repositories
    🌏 Fetching server (this might take a while to finish)
       > Klone nach 'workspace/server'...
       > Submodul '3rdparty' (https://github.com/nextcloud/3rdparty.git) für Pfad '3rdparty' in die Konfiguration eingetragen.
       > Klone nach '/home/laurenz/Checkouts/test/nextcloud-docker-dev/workspace/server/3rdparty'...
       > Submodul-Pfad '3rdparty': '3095d4062823f3f913d594f9ff313010ed55cd74' ausgecheckt
    🌏 Fetching viewer
       > Klone nach 'workspace/server/apps-extra/viewer'...
    ✅ viewer installed
    🌏 Fetching recommendations
       > Klone nach 'workspace/server/apps-extra/recommendations'...
    ✅ recommendations installed
    🌏 Fetching files_pdfviewer
       > Klone nach 'workspace/server/apps-extra/files_pdfviewer'...
    ✅ files_pdfviewer installed
    🌏 Fetching profiler
       > Klone nach 'workspace/server/apps-extra/profiler'...
    ✅ profiler installed


⏩ Setup your environment in an .env file


 ╔═════════════════════════════════════════╗
 ║ oOo Ready to start developing 🎉        ║
 ╚═════════════════════════════════════════╝

 🚀  Start the Nextcloud server by running

        $ docker-compose up -d nextcloud


 💤  Stop it with

        $ docker-compose stop nextcloud


 🗑  Fresh install and wipe all data

        $ docker-compose down -v


        Note that for performance reasons the server repository has been cloned with
        --depth=1. To get the full history it is highly recommended to run:

        $ cd workspace/server
        $ git fetch --unshallow

        This may take some time depending on your internet connection speed.


For more details about the individual setup options see
the README.md file or checkout the repo at
https://github.com/juliushaertl/nextcloud-docker-dev
[sudo] Passwort für laurenz: 
[+] Running 6/5
 ⠿ Network nextcloud_default             Created                                                         0.0s
 ⠿ Container nextcloud-database-mysql-1  Created                                                         0.1s
 ⠿ Container nextcloud-proxy-1           Created                                                         0.1s
 ⠿ Container nextcloud-mail-1            Created                                                         0.1s
 ⠿ Container nextcloud-redis-1           Created                                                         0.1s
 ⠿ Container nextcloud-nextcloud-1       Created                                                         0.0s
Attaching to nextcloud-nextcloud-1, nextcloud-proxy-1
nextcloud-proxy-1      | Info: running nginx-proxy version 1.0.1-6-gc4ad18f
nextcloud-proxy-1      | Warning: The DHPARAM_GENERATION environment variable is deprecated, please consider using DHPARAM_SKIP set to true instead.
nextcloud-proxy-1      | Skipping Diffie-Hellman parameters setup.
nextcloud-proxy-1      | forego      | starting dockergen.1 on port 5000
nextcloud-proxy-1      | forego      | starting nginx.1 on port 5100
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: using the "epoll" event method
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: nginx/1.21.6
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: built by gcc 10.2.1 20210110 (Debian 10.2.1-6) 
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: OS: Linux 5.15.65-1-MANJARO
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker processes
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker process 23
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker process 24
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker process 25
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker process 26
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker process 27
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker process 28
nextcloud-nextcloud-1  | ⌛ Waiting for other containers
nextcloud-nextcloud-1  |  - MySQL
nextcloud-proxy-1      | dockergen.1 | 2022/10/02 19:43:58 Generated '/etc/nginx/conf.d/default.conf' from 5 containers
nextcloud-proxy-1      | dockergen.1 | 2022/10/02 19:43:58 Running 'nginx -s reload'
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: signal 1 (SIGHUP) received from 31, reconfiguring
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: reconfiguring
nextcloud-proxy-1      | dockergen.1 | 2022/10/02 19:43:58 Watching docker events
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: using the "epoll" event method
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker processes
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker process 36
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker process 37
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker process 38
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker process 39
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker process 40
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: start worker process 41
nextcloud-proxy-1      | dockergen.1 | 2022/10/02 19:43:58 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 25#25: gracefully shutting down
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 27#27: gracefully shutting down
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 23#23: gracefully shutting down
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 24#24: gracefully shutting down
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 26#26: gracefully shutting down
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 27#27: exiting
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 25#25: exiting
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 23#23: exiting
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 24#24: exiting
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 26#26: exiting
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 27#27: exit
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 25#25: exit
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 24#24: exit
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 23#23: exit
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 26#26: exit
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 28#28: gracefully shutting down
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 28#28: exiting
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 28#28: exit
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: signal 17 (SIGCHLD) received from 23
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: worker process 23 exited with code 0
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: signal 29 (SIGIO) received
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: signal 17 (SIGCHLD) received from 27
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: worker process 25 exited with code 0
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: worker process 27 exited with code 0
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: worker process 28 exited with code 0
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: signal 29 (SIGIO) received
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: signal 17 (SIGCHLD) received from 26
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: worker process 26 exited with code 0
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: signal 29 (SIGIO) received
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: signal 17 (SIGCHLD) received from 24
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: worker process 24 exited with code 0
nextcloud-proxy-1      | nginx.1     | 2022/10/02 19:43:58 [notice] 19#19: signal 29 (SIGIO) received
nextcloud-nextcloud-1  | ✅ Database server ready
nextcloud-nextcloud-1  | Nextcloud or one of the apps require upgrade - only a limited number of commands are available
nextcloud-nextcloud-1  | You may use your browser or the occ upgrade command to do the upgrade
nextcloud-nextcloud-1  | 🚀 Nextcloud already installed ... skipping setup
nextcloud-nextcloud-1  |  Detecting SSL...
nextcloud-nextcloud-1  | 🗝 No SSL proxy, removing overwriteprotocol
nextcloud-nextcloud-1  | 🗝 No SSL proxy, removing overwriteprotocol
nextcloud-nextcloud-1  | Nextcloud or one of the apps require upgrade - only a limited number of commands are available
nextcloud-nextcloud-1  | You may use your browser or the occ upgrade command to do the upgrade
nextcloud-nextcloud-1  |    System config value overwriteprotocol deleted
nextcloud-nextcloud-1  | Nextcloud or one of the apps require upgrade - only a limited number of commands are available
nextcloud-nextcloud-1  | You may use your browser or the occ upgrade command to do the upgrade
nextcloud-nextcloud-1  |    System config value overwrite.cli.url set to string http://nextcloud.local
nextcloud-nextcloud-1  | 📰 Watching log file
nextcloud-nextcloud-1  | ⌚ Starting cron
nextcloud-nextcloud-1  | 🚀 Starting apache
nextcloud-nextcloud-1  | ==> /var/www/html/data/nextcloud.log <==
nextcloud-nextcloud-1  | {"reqId":"GellYHinfAKI8gwY2pea","level":3,"time":"2022-05-17T18:08:23+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"file_put_contents(/var/www/html/.htaccess): failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#552","userAgent":"--","version":"23.0.0.1","exception":{"Exception":"Error","Message":"file_put_contents(/var/www/html/.htaccess): failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#552","Code":0,"Trace":[{"function":"onAll","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"file_put_contents(/var/www/html/.htaccess): failed to open stream: Permission denied","/var/www/html/lib/private/Setup.php",552,{"config":{"__class__":"OC\\SystemConfig"},"webRoot":"","setupHelper":{"__class__":"OC\\Setup"},"htaccessContent":"<IfModule mod_headers.c>\n  <IfModule mod_setenvif.c>\n    <IfModule mod_fcgid.c>\n       SetEnvIfNoCase ^Authorization$ \"(.+)\" XAUTHORIZATION=$1\n       RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION\n    </IfModule>\n    <IfModule mod_proxy_fcgi.c>\n       SetEnvIfNoCase Authorization \"(.+)\" HTTP_AUTHORIZATION=$1\n    </IfModule>\n    <IfModule mod_lsapi.c>\n      SetEnvIfNoCase ^Authorization$ \"(.+)\" XAUTHORIZATION=$1\n      RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION\n    </IfModule>\n  </IfModule>\n\n  <IfModule mod_env.c>\n    # Add security and privacy related headers\n\n    # Avoid doubled headers by unsetting headers in \"onsuccess\" table,\n    # then add headers to \"always\" table: https://github.com/nextcloud/server/pull/19002\n    Header onsuccess unset Referrer-Policy\n    Header always set Referrer-Policy \"no-referrer\"\n\n    Header onsuccess unset X-Content-Type-Options\n    Header always set X-Content-Type-Options \"nosniff\"\n\n    Header onsuccess unset X-Download-Options\n    Header always set X-Download-Options \"noopen\"\n\n    Header onsuccess unset X-Frame-Options\n    Header always set X-Frame-Options \"SAMEORIGIN\"\n\n    Header onsuccess unset X-Permitted-Cross-Domain-Policies\n    Header always set X-Permitted-Cross-Domain-Policies \"none\"\n\n    Header onsuccess unset X-Robots-Tag\n    Header always set X-Robots-Tag \"none\"\n\n    Header onsuccess unset X-XSS-Protection\n    Header always set X-XSS-Protection \"1; mode=block\"\n\n    SetEnv modHeadersAvailable true\n  </IfModule>\n\n  # Add cache control for static resources\n  <FilesMatch \"\\.(css|js|svg|gif|png|jpg|ico)$\">\n    Header set Cache-Control \"max-age=15778463\"\n  </FilesMatch>\n\n  # Let browsers cache WOFF files for a week\n  <FilesMatch \"\\.woff2?$\">\n    Header set Cache-Control \"max-age=604800\"\n  </FilesMatch>\n</IfModule>\n\n# PHP 7.x\n<IfModule mod_php7.c>\n  php_value mbstring.func_overload 0\n  php_value default_charset 'UTF-8'\n  php_value output_buffering 0\n  <IfModule mod_env.c>\n    SetEnv htaccessWorking true\n  </IfModule>\n</IfModule>\n\n# PHP 8+\n<IfModule mod_php.c>\n  php_value mbstring.func_overload 0\n  php_value default_charset 'UTF-8'\n  php_value output_buffering 0\n  <IfModule mod_env.c>\n    SetEnv htaccessWorking true\n  </IfModule>\n</IfModule>\n\n<IfModule mod_mime.c>\n  AddType image/svg+xml svg svgz\n  AddEncoding gzip svgz\n</IfModule>\n\n<IfModule mod_dir.c>\n  DirectoryIndex index.php index.html\n</IfModule>\n\n<IfModule pagespeed_module>\n  ModPagespeed Off\n</IfModule>\n\n<IfModule mod_rewrite.c>\n  RewriteEngine on\n  RewriteCond %{HTTP_USER_AGENT} DavClnt\n  RewriteRule ^$ /remote.php/webdav/ [L,R=302]\n  RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\n  RewriteRule ^\\.well-known/carddav /remote.php/dav/ [R=301,L]\n  RewriteRule ^\\.well-known/caldav /remote.php/dav/ [R=301,L]\n  RewriteRule ^remote/(.*) remote.php [QSA,L]\n  RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]\n  RewriteRule ^\\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]\n  RewriteRule ^(?:\\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]\n</IfModule>\n\nAddDefaultCharset utf-8\nOptions -Indexes\n","content":"#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####\n\nErrorDocument 403 /\nErrorDocument 404 /","0":"And 1 more entries, set log level to debug to see all entries"}]},{"file":"/var/www/html/lib/private/Setup.php","line":552,"function":"file_put_contents","args":["/var/www/html/.htaccess","<IfModule mod_headers.c>\n  <IfModule mod_setenvif.c>\n    <IfModule mod_fcgid.c>\n       SetEnvIfNoCase ^Authorization$ \"(.+)\" XAUTHORIZATION=$1\n       RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION\n    </IfModule>\n    <IfModule mod_proxy_fcgi.c>\n       SetEnvIfNoCase Authorization \"(.+)\" HTTP_AUTHORIZATION=$1\n    </IfModule>\n    <IfModule mod_lsapi.c>\n      SetEnvIfNoCase ^Authorization$ \"(.+)\" XAUTHORIZATION=$1\n      RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION\n    </IfModule>\n  </IfModule>\n\n  <IfModule mod_env.c>\n    # Add security and privacy related headers\n\n    # Avoid doubled headers by unsetting headers in \"onsuccess\" table,\n    # then add headers to \"always\" table: https://github.com/nextcloud/server/pull/19002\n    Header onsuccess unset Referrer-Policy\n    Header always set Referrer-Policy \"no-referrer\"\n\n    Header onsuccess unset X-Content-Type-Options\n    Header always set X-Content-Type-Options \"nosniff\"\n\n    Header onsuccess unset X-Download-Options\n    Header always set X-Download-Options \"noopen\"\n\n    Header onsuccess unset X-Frame-Options\n    Header always set X-Frame-Options \"SAMEORIGIN\"\n\n    Header onsuccess unset X-Permitted-Cross-Domain-Policies\n    Header always set X-Permitted-Cross-Domain-Policies \"none\"\n\n    Header onsuccess unset X-Robots-Tag\n    Header always set X-Robots-Tag \"none\"\n\n    Header onsuccess unset X-XSS-Protection\n    Header always set X-XSS-Protection \"1; mode=block\"\n\n    SetEnv modHeadersAvailable true\n  </IfModule>\n\n  # Add cache control for static resources\n  <FilesMatch \"\\.(css|js|svg|gif|png|jpg|ico)$\">\n    Header set Cache-Control \"max-age=15778463\"\n  </FilesMatch>\n\n  # Let browsers cache WOFF files for a week\n  <FilesMatch \"\\.woff2?$\">\n    Header set Cache-Control \"max-age=604800\"\n  </FilesMatch>\n</IfModule>\n\n# PHP 7.x\n<IfModule mod_php7.c>\n  php_value mbstring.func_overload 0\n  php_value default_charset 'UTF-8'\n  php_value output_buffering 0\n  <IfModule mod_env.c>\n    SetEnv htaccessWorking true\n  </IfModule>\n</IfModule>\n\n# PHP 8+\n<IfModule mod_php.c>\n  php_value mbstring.func_overload 0\n  php_value default_charset 'UTF-8'\n  php_value output_buffering 0\n  <IfModule mod_env.c>\n    SetEnv htaccessWorking true\n  </IfModule>\n</IfModule>\n\n<IfModule mod_mime.c>\n  AddType image/svg+xml svg svgz\n  AddEncoding gzip svgz\n</IfModule>\n\n<IfModule mod_dir.c>\n  DirectoryIndex index.php index.html\n</IfModule>\n\n<IfModule pagespeed_module>\n  ModPagespeed Off\n</IfModule>\n\n<IfModule mod_rewrite.c>\n  RewriteEngine on\n  RewriteCond %{HTTP_USER_AGENT} DavClnt\n  RewriteRule ^$ /remote.php/webdav/ [L,R=302]\n  RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\n  RewriteRule ^\\.well-known/carddav /remote.php/dav/ [R=301,L]\n  RewriteRule ^\\.well-known/caldav /remote.php/dav/ [R=301,L]\n  RewriteRule ^remote/(.*) remote.php [QSA,L]\n  RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]\n  RewriteRule ^\\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]\n  RewriteRule ^(?:\\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]\n</IfModule>\n\nAddDefaultCharset utf-8\nOptions -Indexes\n#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####\n\nErrorDocument 403 /\nErrorDocument 404 /\n"]},{"file":"/var/www/html/lib/private/Setup.php","line":420,"function":"updateHtaccess","class":"OC\\Setup","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/core/Command/Maintenance/Install.php","line":108,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/symfony/console/Command/Command.php","line":255,"function":"execute","class":"OC\\Core\\Command\\Maintenance\\Install","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":1009,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":273,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"OC\\Core\\Command\\Maintenance\\Install"},{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":149,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/lib/private/Console/Application.php","line":211,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/console.php","line":99,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":99,"CustomMessage":"--"}}
nextcloud-nextcloud-1  | {"reqId":"GellYHinfAKI8gwY2pea","level":3,"time":"2022-05-17T18:08:23+00:00","remoteAddr":"","user":"admin","app":"no app in context","method":"","url":"--","message":"Could not boot files_trashbin: Could not resolve trashManager! Class trashManager does not exist","userAgent":"--","version":"23.0.0.1","exception":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve trashManager! Class trashManager does not exist","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":131,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["trashManager"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":161,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["trashManager",true]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":438,"function":"query","class":"OC\\ServerContainer","type":"->","args":["trashManager",true]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["trashManager"]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":57,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["trashManager"]},{"function":"OC\\AppFramework\\Bootstrap\\{closure}","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":67,"function":"array_map","args":[{"__class__":"Closure"},[{"__class__":"ReflectionParameter","name":"serverContainer"},{"__class__":"ReflectionParameter","name":"logger"},{"__class__":"ReflectionParameter","name":"appManager"},"*** sensitive parameter replaced ***"]]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php","line":51,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[[{"__class__":"OCA\\Files_Trashbin\\AppInfo\\Application"},"registerTrashBackends"]]},{"file":"/var/www/html/apps/files_trashbin/lib/AppInfo/Application.php","line":56,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[[{"__class__":"OCA\\Files_Trashbin\\AppInfo\\Application"},"registerTrashBackends"]]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":178,"function":"boot","class":"OCA\\Files_Trashbin\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":206,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["files_trashbin"]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":140,"function":"loadApp","class":"OC_App","type":"::","args":["files_trashbin"]},{"file":"/var/www/html/apps/dav/lib/AppInfo/Application.php","line":168,"function":"loadApps","class":"OC_App","type":"::","args":[["dav"]]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":178,"function":"boot","class":"OCA\\DAV\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":206,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["dav"]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":140,"function":"loadApp","class":"OC_App","type":"::","args":["dav"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":205,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/var/www/html/lib/private/User/Session.php","line":553,"function":"setupFS","class":"OC_Util","type":"::","args":["*** sensitive parameter replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":414,"function":"prepareUserLogin","class":"OC\\User\\Session","type":"->","args":[true,"*** sensitive parameter replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":625,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":366,"function":"loginWithPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Setup.php","line":434,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/core/Command/Maintenance/Install.php","line":108,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/symfony/console/Command/Command.php","line":255,"function":"execute","class":"OC\\Core\\Command\\Maintenance\\Install","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":1009,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":273,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"OC\\Core\\Command\\Maintenance\\Install"},{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":149,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/lib/private/Console/Application.php","line":211,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/console.php","line":99,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","Line":120,"CustomMessage":"Could not boot files_trashbin: Could not resolve trashManager! Class trashManager does not exist"}}
nextcloud-nextcloud-1  | {"reqId":"GellYHinfAKI8gwY2pea","level":3,"time":"2022-05-17T18:08:23+00:00","remoteAddr":"","user":"admin","app":"no app in context","method":"","url":"--","message":"Could not boot files_versions: Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated","userAgent":"--","version":"23.0.0.1","exception":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":131,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":463,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":435,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/html/apps/files_versions/lib/AppInfo/Application.php","line":128,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/html/apps/files_versions/lib/AppInfo/Application.php","line":115,"function":"loadBackend","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"@attributes":{"for":"OCP\\Files\\Storage\\IStorage"},"@value":"OCA\\Files_Versions\\Versions\\LegacyVersionsBackend"},{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\AppFramework\\ScopedPsrLogger"}]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":67,"function":"registerVersionBackends","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\App\\AppManager"},{"__class__":"OC\\AppFramework\\ScopedPsrLogger"}]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php","line":51,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/apps/files_versions/lib/AppInfo/Application.php","line":100,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":178,"function":"boot","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":206,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["files_versions"]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":140,"function":"loadApp","class":"OC_App","type":"::","args":["files_versions"]},{"file":"/var/www/html/apps/dav/lib/AppInfo/Application.php","line":168,"function":"loadApps","class":"OC_App","type":"::","args":[["dav"]]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":178,"function":"boot","class":"OCA\\DAV\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":206,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["dav"]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":140,"function":"loadApp","class":"OC_App","type":"::","args":["dav"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":205,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/var/www/html/lib/private/User/Session.php","line":553,"function":"setupFS","class":"OC_Util","type":"::","args":["*** sensitive parameter replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":414,"function":"prepareUserLogin","class":"OC\\User\\Session","type":"->","args":[true,"*** sensitive parameter replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":625,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":366,"function":"loginWithPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Setup.php","line":434,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/core/Command/Maintenance/Install.php","line":108,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/symfony/console/Command/Command.php","line":255,"function":"execute","class":"OC\\Core\\Command\\Maintenance\\Install","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":1009,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":273,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"OC\\Core\\Command\\Maintenance\\Install"},{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":149,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/lib/private/Console/Application.php","line":211,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/console.php","line":99,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","Line":116,"CustomMessage":"Could not boot files_versions: Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated"}}
nextcloud-nextcloud-1  | 
nextcloud-nextcloud-1  | ==> /var/log/cron/nextcloud.log <==
nextcloud-nextcloud-1  | [Sun Oct 02 19:44:08.057272 2022] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.54 (Debian) PHP/7.4.32 configured -- resuming normal operations
nextcloud-nextcloud-1  | [Sun Oct 02 19:44:08.057300 2022] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
nextcloud-proxy-1      | nginx.1     | 127.0.0.1 192.168.21.1 - - [02/Oct/2022:19:44:33 +0000] "GET / HTTP/1.1" 503 190 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0" "-"
nextcloud-proxy-1      | nginx.1     | 127.0.0.1 192.168.21.1 - - [02/Oct/2022:19:44:34 +0000] "GET / HTTP/1.1" 503 190 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0" "-"
^CGracefully stopping... (press Ctrl+C again to force)
[+] Running 2/2
 ⠿ Container nextcloud-proxy-1      Stopped                                                              0.3s
 ⠿ Container nextcloud-nextcloud-1  Stopped                                                              1.2s
canceled

Docker logs if it helps...?:

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc., v0.8.2-docker)
  compose: Docker Compose (Docker Inc., 2.10.2)
  scan: Docker Scan (Docker Inc., v0.1.0-260-g9c79702144)

Server:
 Containers: 8
  Running: 3
  Paused: 0
  Stopped: 5
 Images: 248
 Server Version: 20.10.17
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: false
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6.m
 runc version: 
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
  cgroupns
 Kernel Version: 5.15.65-1-MANJARO
 Operating System: Manjaro Linux
 OSType: linux
 Architecture: x86_64
 CPUs: 6
 Total Memory: 31.26GiB
 Name: laurenz-ManjaroKDE
 ID: 2RXV:LA4W:IMSU:4CB4:3GWD:OFPY:SMEJ:EIW2:BUCQ:RB5M:RIMG:5VQB
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  192.168.0.81:5000
  127.0.0.0/8
 Live Restore Enabled: false

major-mayer avatar Oct 02 '22 19:10 major-mayer

Thanks for reporting.

The webserver is running as www-data so that explains the error. This should not be a blocking issue for running the environment unless you need to work on url handling in the server and need to test htaccess configuration changes. Might be still nice to address that, but probably a low priority one. From the log output this is just a line in the Nextcloud log and the server seems to start fine.

juliusknorr avatar Oct 03 '22 09:10 juliusknorr

Hmm, this makes sense, but then the error must be somewhere else, since I can't access the Nextcloud instance, neither using 127.0.0.1/ localhost nor nextcloud.local. The bootstrap script (and I) have correctly added the entries to /etc/fstab.

The browser shows just the default HTTP 503 error page from Nginx: grafik

And the logs only show that 503 error too, but no explanation why the Nextcloud can't be reached

master-nextcloud-1  | 
master-nextcloud-1  | ==> /var/log/cron/nextcloud.log <==
master-nextcloud-1  | [Mon Oct 03 14:53:00.594212 2022] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.54 (Debian) PHP/7.4.32 configured -- resuming normal operations
master-nextcloud-1  | [Mon Oct 03 14:53:00.594286 2022] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
master-nextcloud-1  |    The user "user5" was created successfully
master-nextcloud-1  |    The user "user3" was created successfully
master-nextcloud-1  |    The user "nextcloud" was created successfully
master-nextcloud-1  |    The user "alice" was created successfully
master-nextcloud-1  |    The user "bob" was created successfully
master-nextcloud-1  |    The user "user2" was created successfully
master-nextcloud-1  |    The user "user4" was created successfully
master-nextcloud-1  |    The user "john" was created successfully
master-nextcloud-1  |    The user "user1" was created successfully
master-nextcloud-1  |    The user "jane" was created successfully
master-nextcloud-1  |    The user "user6" was created successfully
master-proxy-1      | nginx.1     | 127.0.0.1 192.168.21.1 - - [03/Oct/2022:14:53:16 +0000] "GET / HTTP/1.1" 503 190 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0" "-"
master-proxy-1      | nginx.1     | 127.0.0.1 192.168.21.1 - - [03/Oct/2022:14:56:24 +0000] "GET / HTTP/1.1" 503 190 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0" "-"

Any Idea why Nextcloud still can't be reached?

major-mayer avatar Oct 03 '22 15:10 major-mayer

Here are the logs from all services that were started by docker-compose:

   ~/Checkouts/nextcloud-docker-dev    master ⇣2 !1  docker logs nextcloud-database-mysql-1                                                                                                                             ✔ 
2022-10-02 19:46:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2022-10-02 19:46:18+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2022-10-02 19:46:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2022-10-02 19:46:18+00:00 [Note] [Entrypoint]: Initializing database files


PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following command:

'/usr/bin/mysql_secure_installation'

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the MariaDB Knowledgebase at https://mariadb.com/kb

Please report any problems at https://mariadb.org/jira

The latest information about MariaDB is available at https://mariadb.org/.

Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/

2022-10-02 19:46:19+00:00 [Note] [Entrypoint]: Database files initialized
2022-10-02 19:46:19+00:00 [Note] [Entrypoint]: Starting temporary server
2022-10-02 19:46:19+00:00 [Note] [Entrypoint]: Waiting for server startup
2022-10-02 19:46:19 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 93 ...
2022-10-02 19:46:19 0 [Note] InnoDB: Uses event mutexes
2022-10-02 19:46:19 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-10-02 19:46:19 0 [Note] InnoDB: Number of pools: 1
2022-10-02 19:46:19 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2022-10-02 19:46:19 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
2022-10-02 19:46:19 0 [Note] InnoDB: Using Linux native AIO
2022-10-02 19:46:19 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
2022-10-02 19:46:19 0 [Note] InnoDB: Completed initialization of buffer pool
2022-10-02 19:46:19 0 [Note] InnoDB: 128 rollback segments are active.
2022-10-02 19:46:19 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-10-02 19:46:19 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-10-02 19:46:19 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-10-02 19:46:19 0 [Note] InnoDB: 10.5.17 started; log sequence number 45106; transaction id 20
2022-10-02 19:46:19 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-10-02 19:46:19 0 [Warning] 'user' entry 'root@f86ea28f137c' ignored in --skip-name-resolve mode.
2022-10-02 19:46:19 0 [Warning] 'proxies_priv' entry '@% root@f86ea28f137c' ignored in --skip-name-resolve mode.
2022-10-02 19:46:19 0 [Note] Reading of all Master_info entries succeeded
2022-10-02 19:46:19 0 [Note] Added new Master_info '' to hash table
2022-10-02 19:46:19 0 [Note] mysqld: ready for connections.
Version: '10.5.17-MariaDB-1:10.5.17+maria~ubu2004'  socket: '/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
2022-10-02 19:46:20+00:00 [Note] [Entrypoint]: Temporary server started.
2022-10-02 19:46:21+00:00 [Note] [Entrypoint]: Creating database nextcloud
2022-10-02 19:46:21+00:00 [Note] [Entrypoint]: Creating user nextcloud
2022-10-02 19:46:21+00:00 [Note] [Entrypoint]: Giving user nextcloud access to schema nextcloud
2022-10-02 19:46:21+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation)

2022-10-02 19:46:21+00:00 [Note] [Entrypoint]: Stopping temporary server
2022-10-02 19:46:21 0 [Note] mysqld (initiated by: unknown): Normal shutdown
2022-10-02 19:46:21 0 [Note] Event Scheduler: Purging the queue. 0 events
2022-10-02 19:46:21 0 [Note] InnoDB: FTS optimize thread exiting.
2022-10-02 19:46:21 0 [Note] InnoDB: Starting shutdown...
2022-10-02 19:46:21 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2022-10-02 19:46:21 0 [Note] InnoDB: Buffer pool(s) dump completed at 221002 19:46:21
2022-10-02 19:46:21 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2022-10-02 19:46:21 0 [Note] InnoDB: Shutdown completed; log sequence number 45118; transaction id 21
2022-10-02 19:46:21 0 [Note] mysqld: Shutdown complete

2022-10-02 19:46:21+00:00 [Note] [Entrypoint]: Temporary server stopped

2022-10-02 19:46:21+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up.

2022-10-02 19:46:21 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 ...
2022-10-02 19:46:21 0 [Note] InnoDB: Uses event mutexes
2022-10-02 19:46:21 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-10-02 19:46:21 0 [Note] InnoDB: Number of pools: 1
2022-10-02 19:46:21 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2022-10-02 19:46:21 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
2022-10-02 19:46:21 0 [Note] InnoDB: Using Linux native AIO
2022-10-02 19:46:21 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
2022-10-02 19:46:21 0 [Note] InnoDB: Completed initialization of buffer pool
2022-10-02 19:46:21 0 [Note] InnoDB: 128 rollback segments are active.
2022-10-02 19:46:21 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-10-02 19:46:21 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-10-02 19:46:21 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-10-02 19:46:21 0 [Note] InnoDB: 10.5.17 started; log sequence number 45118; transaction id 20
2022-10-02 19:46:21 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2022-10-02 19:46:21 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-10-02 19:46:21 0 [Note] InnoDB: Buffer pool(s) load completed at 221002 19:46:21
2022-10-02 19:46:21 0 [Note] Server socket created on IP: '::'.
2022-10-02 19:46:21 0 [Note] Reading of all Master_info entries succeeded
2022-10-02 19:46:21 0 [Note] Added new Master_info '' to hash table
2022-10-02 19:46:21 0 [Note] mysqld: ready for connections.
Version: '10.5.17-MariaDB-1:10.5.17+maria~ubu2004'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
2022-10-02 19:46:22 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '192.168.21.6' (This connection closed normally without authentication)
2022-10-02 21:01:10 0 [Note] mysqld (initiated by: unknown): Normal shutdown
2022-10-02 21:01:10 0 [Note] Event Scheduler: Purging the queue. 0 events
2022-10-02 21:01:10 0 [Note] InnoDB: FTS optimize thread exiting.
2022-10-02 21:01:10 0 [Note] InnoDB: Starting shutdown...
2022-10-02 21:01:10 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2022-10-02 21:01:10 0 [Note] InnoDB: Buffer pool(s) dump completed at 221002 21:01:10
2022-10-02 21:01:10 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2022-10-02 21:01:10 0 [Note] InnoDB: Shutdown completed; log sequence number 957357; transaction id 2409
2022-10-02 21:01:10 0 [Note] mysqld: Shutdown complete

    ~/Checkouts/nextcloud-docker-dev    master ⇣2 !1  docker logs master-database-mysql-1                                                                                                                                ✔ 
2022-10-03 14:52:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2022-10-03 14:52:29+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2022-10-03 14:52:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2022-10-03 14:52:30+00:00 [Note] [Entrypoint]: Initializing database files


PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following command:

'/usr/bin/mysql_secure_installation'

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the MariaDB Knowledgebase at https://mariadb.com/kb

Please report any problems at https://mariadb.org/jira

The latest information about MariaDB is available at https://mariadb.org/.

Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/

2022-10-03 14:52:30+00:00 [Note] [Entrypoint]: Database files initialized
2022-10-03 14:52:30+00:00 [Note] [Entrypoint]: Starting temporary server
2022-10-03 14:52:30+00:00 [Note] [Entrypoint]: Waiting for server startup
2022-10-03 14:52:30 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 95 ...
2022-10-03 14:52:30 0 [Note] InnoDB: Uses event mutexes
2022-10-03 14:52:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-10-03 14:52:30 0 [Note] InnoDB: Number of pools: 1
2022-10-03 14:52:30 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2022-10-03 14:52:30 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
2022-10-03 14:52:30 0 [Note] InnoDB: Using Linux native AIO
2022-10-03 14:52:30 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
2022-10-03 14:52:30 0 [Note] InnoDB: Completed initialization of buffer pool
2022-10-03 14:52:30 0 [Note] InnoDB: 128 rollback segments are active.
2022-10-03 14:52:30 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-10-03 14:52:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-10-03 14:52:30 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-10-03 14:52:30 0 [Note] InnoDB: 10.5.17 started; log sequence number 45106; transaction id 20
2022-10-03 14:52:30 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-10-03 14:52:30 0 [Warning] 'user' entry 'root@a7d14ba350ae' ignored in --skip-name-resolve mode.
2022-10-03 14:52:30 0 [Warning] 'proxies_priv' entry '@% root@a7d14ba350ae' ignored in --skip-name-resolve mode.
2022-10-03 14:52:30 0 [Note] Reading of all Master_info entries succeeded
2022-10-03 14:52:30 0 [Note] Added new Master_info '' to hash table
2022-10-03 14:52:30 0 [Note] mysqld: ready for connections.
Version: '10.5.17-MariaDB-1:10.5.17+maria~ubu2004'  socket: '/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
2022-10-03 14:52:31+00:00 [Note] [Entrypoint]: Temporary server started.
2022-10-03 14:52:32+00:00 [Note] [Entrypoint]: Creating database nextcloud
2022-10-03 14:52:32+00:00 [Note] [Entrypoint]: Creating user nextcloud
2022-10-03 14:52:32+00:00 [Note] [Entrypoint]: Giving user nextcloud access to schema nextcloud
2022-10-03 14:52:32+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation)

2022-10-03 14:52:32+00:00 [Note] [Entrypoint]: Stopping temporary server
2022-10-03 14:52:32 0 [Note] mysqld (initiated by: unknown): Normal shutdown
2022-10-03 14:52:32 0 [Note] Event Scheduler: Purging the queue. 0 events
2022-10-03 14:52:32 0 [Note] InnoDB: FTS optimize thread exiting.
2022-10-03 14:52:32 0 [Note] InnoDB: Starting shutdown...
2022-10-03 14:52:32 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2022-10-03 14:52:32 0 [Note] InnoDB: Buffer pool(s) dump completed at 221003 14:52:32
2022-10-03 14:52:32 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2022-10-03 14:52:32 0 [Note] InnoDB: Shutdown completed; log sequence number 45118; transaction id 21
2022-10-03 14:52:32 0 [Note] mysqld: Shutdown complete

2022-10-03 14:52:32+00:00 [Note] [Entrypoint]: Temporary server stopped

2022-10-03 14:52:32+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up.

2022-10-03 14:52:32 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 ...
2022-10-03 14:52:32 0 [Note] InnoDB: Uses event mutexes
2022-10-03 14:52:32 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-10-03 14:52:32 0 [Note] InnoDB: Number of pools: 1
2022-10-03 14:52:32 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2022-10-03 14:52:32 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
2022-10-03 14:52:32 0 [Note] InnoDB: Using Linux native AIO
2022-10-03 14:52:32 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
2022-10-03 14:52:32 0 [Note] InnoDB: Completed initialization of buffer pool
2022-10-03 14:52:32 0 [Note] InnoDB: 128 rollback segments are active.
2022-10-03 14:52:32 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-10-03 14:52:32 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-10-03 14:52:32 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-10-03 14:52:32 0 [Note] InnoDB: 10.5.17 started; log sequence number 45118; transaction id 20
2022-10-03 14:52:32 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-10-03 14:52:32 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2022-10-03 14:52:32 0 [Note] InnoDB: Buffer pool(s) load completed at 221003 14:52:32
2022-10-03 14:52:32 0 [Note] Server socket created on IP: '::'.
2022-10-03 14:52:32 0 [Note] Reading of all Master_info entries succeeded
2022-10-03 14:52:32 0 [Note] Added new Master_info '' to hash table
2022-10-03 14:52:32 0 [Note] mysqld: ready for connections.
Version: '10.5.17-MariaDB-1:10.5.17+maria~ubu2004'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
2022-10-03 14:52:34 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '192.168.21.6' (This connection closed normally without authentication)
    ~/Checkouts/nextcloud-docker-dev    master ⇣2 !1  docker logs master-nextcloud-1                                                                                                                                     ✔ 
⌛ Waiting for other containers
 - MySQL
✅ Database server ready
Nextcloud is not installed - only a limited number of commands are available
Add the host IP as host.docker.internal to /etc/hosts ...
database name will be nextcloud
🔧 Starting auto installation
   Nextcloud was successfully installed
   No such app enabled: password_policy

                                          
  The "--value" option requires a value.  
                                          

config:system:set [--output [OUTPUT]] [--type TYPE] [--value VALUE] [--update-only] [--] <name>...

 Detecting SSL...
🗝 No SSL proxy, removing overwriteprotocol
   App "OpenID Connect user backend" cannot be installed because it is not compatible with this version of the server.

                                                               
  There are no commands defined in the "user_oidc" namespace.  
                                                               

🔧 setting trusted domains…
   System config value trusted_domains => 1 set to string nextcloud
   System config value trusted_domains => 2 set to string nextcloud.local
   System config value trusted_domains => 3 set to string 192.168.21.6
   System config value trusted_domains => 4 set to string localhost
🗝 No SSL proxy, removing overwriteprotocol
   System config value overwriteprotocol deleted
   System config value overwrite.cli.url set to string http://nextcloud.local
   Set mode for background jobs to 'cron'
🔧 Setting up users and LDAP in the background
🚀 Finished setup using mysql database…
📰 Watching log file
⌚ Starting cron
🚀 Starting apache
==> /var/www/html/data/nextcloud.log <==
{"reqId":"0zcGLcC128JLpaiNNWYl","level":3,"time":"2022-10-03T14:52:40+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"file_put_contents(/var/www/html/.htaccess): failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#546","userAgent":"--","version":"26.0.0.0","exception":{"Exception":"Error","Message":"file_put_contents(/var/www/html/.htaccess): failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#546","Code":0,"Trace":[{"function":"onAll","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"file_put_contents(/var/www/html/.htaccess): failed to open stream: Permission denied","/var/www/html/lib/private/Setup.php",546,[{"__class__":"OC\\SystemConfig"},"",{"__class__":"OC\\Setup"},"<IfModule mod_headers.c>\n  <IfModule mod_setenvif.c>\n    <IfModule mod_fcgid.c>\n       SetEnvIfNoCase ^Authorization$ \"(.+)\" XAUTHORIZATION=$1\n       RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION\n    </IfModule>\n    <IfModule mod_proxy_fcgi.c>\n       SetEnvIfNoCase Authorization \"(.+)\" HTTP_AUTHORIZATION=$1\n    </IfModule>\n    <IfModule mod_lsapi.c>\n      SetEnvIfNoCase ^Authorization$ \"(.+)\" XAUTHORIZATION=$1\n      RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION\n    </IfModule>\n  </IfModule>\n\n  <IfModule mod_env.c>\n    # Add security and privacy related headers\n\n    # Avoid doubled headers by unsetting headers in \"onsuccess\" table,\n    # then add headers to \"always\" table: https://github.com/nextcloud/server/pull/19002\n    Header onsuccess unset Referrer-Policy\n    Header always set Referrer-Policy \"no-referrer\"\n\n    Header onsuccess unset X-Content-Type-Options\n    Header always set X-Content-Type-Options \"nosniff\"\n\n    Header onsuccess unset X-Frame-Options\n    Header always set X-Frame-Options \"SAMEORIGIN\"\n\n    Header onsuccess unset X-Permitted-Cross-Domain-Policies\n    Header always set X-Permitted-Cross-Domain-Policies \"none\"\n\n    Header onsuccess unset X-Robots-Tag\n    Header always set X-Robots-Tag \"none\"\n\n    Header onsuccess unset X-XSS-Protection\n    Header always set X-XSS-Protection \"1; mode=block\"\n\n    SetEnv modHeadersAvailable true\n  </IfModule>\n\n  # Add cache control for static resources\n  <FilesMatch \"\\.(css|js|svg|gif|png|jpg|ico|wasm|tflite)$\">\n    Header set Cache-Control \"max-age=15778463\"\n  </FilesMatch>\n\n  <FilesMatch \"\\.(css|js|svg|gif|png|jpg|ico|wasm|tflite)(\\?v=.*)?$\">\n    Header set Cache-Control \"max-age=15778463, immutable\"\n  </FilesMatch>\n\n  # Let browsers cache WOFF files for a week\n  <FilesMatch \"\\.woff2?$\">\n    Header set Cache-Control \"max-age=604800\"\n  </FilesMatch>\n</IfModule>\n\n# PHP 7.x\n<IfModule mod_php7.c>\n  php_value mbstring.func_overload 0\n  php_value default_charset 'UTF-8'\n  php_value output_buffering 0\n  <IfModule mod_env.c>\n    SetEnv htaccessWorking true\n  </IfModule>\n</IfModule>\n\n# PHP 8+\n<IfModule mod_php.c>\n  php_value mbstring.func_overload 0\n  php_value default_charset 'UTF-8'\n  php_value output_buffering 0\n  <IfModule mod_env.c>\n    SetEnv htaccessWorking true\n  </IfModule>\n</IfModule>\n\n<IfModule mod_mime.c>\n  AddType image/svg+xml svg svgz\n  AddType application/wasm wasm\n  AddEncoding gzip svgz\n</IfModule>\n\n<IfModule mod_dir.c>\n  DirectoryIndex index.php index.html\n</IfModule>\n\n<IfModule pagespeed_module>\n  ModPagespeed Off\n</IfModule>\n\n<IfModule mod_rewrite.c>\n  RewriteEngine on\n  RewriteCond %{HTTP_USER_AGENT} DavClnt\n  RewriteRule ^$ /remote.php/webdav/ [L,R=302]\n  RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\n  RewriteRule ^\\.well-known/carddav /remote.php/dav/ [R=301,L]\n  RewriteRule ^\\.well-known/caldav /remote.php/dav/ [R=301,L]\n  RewriteRule ^remote/(.*) remote.php [QSA,L]\n  RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]\n  RewriteRule ^\\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]\n  RewriteRule ^(?:\\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]\n</IfModule>\n\nAddDefaultCharset utf-8\nOptions -Indexes\n","#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####\n\nErrorDocument 403 /\nErrorDocument 404 /","And 1 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/Setup.php","line":546,"function":"file_put_contents","args":["/var/www/html/.htaccess","<IfModule mod_headers.c>\n  <IfModule mod_setenvif.c>\n    <IfModule mod_fcgid.c>\n       SetEnvIfNoCase ^Authorization$ \"(.+)\" XAUTHORIZATION=$1\n       RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION\n    </IfModule>\n    <IfModule mod_proxy_fcgi.c>\n       SetEnvIfNoCase Authorization \"(.+)\" HTTP_AUTHORIZATION=$1\n    </IfModule>\n    <IfModule mod_lsapi.c>\n      SetEnvIfNoCase ^Authorization$ \"(.+)\" XAUTHORIZATION=$1\n      RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION\n    </IfModule>\n  </IfModule>\n\n  <IfModule mod_env.c>\n    # Add security and privacy related headers\n\n    # Avoid doubled headers by unsetting headers in \"onsuccess\" table,\n    # then add headers to \"always\" table: https://github.com/nextcloud/server/pull/19002\n    Header onsuccess unset Referrer-Policy\n    Header always set Referrer-Policy \"no-referrer\"\n\n    Header onsuccess unset X-Content-Type-Options\n    Header always set X-Content-Type-Options \"nosniff\"\n\n    Header onsuccess unset X-Frame-Options\n    Header always set X-Frame-Options \"SAMEORIGIN\"\n\n    Header onsuccess unset X-Permitted-Cross-Domain-Policies\n    Header always set X-Permitted-Cross-Domain-Policies \"none\"\n\n    Header onsuccess unset X-Robots-Tag\n    Header always set X-Robots-Tag \"none\"\n\n    Header onsuccess unset X-XSS-Protection\n    Header always set X-XSS-Protection \"1; mode=block\"\n\n    SetEnv modHeadersAvailable true\n  </IfModule>\n\n  # Add cache control for static resources\n  <FilesMatch \"\\.(css|js|svg|gif|png|jpg|ico|wasm|tflite)$\">\n    Header set Cache-Control \"max-age=15778463\"\n  </FilesMatch>\n\n  <FilesMatch \"\\.(css|js|svg|gif|png|jpg|ico|wasm|tflite)(\\?v=.*)?$\">\n    Header set Cache-Control \"max-age=15778463, immutable\"\n  </FilesMatch>\n\n  # Let browsers cache WOFF files for a week\n  <FilesMatch \"\\.woff2?$\">\n    Header set Cache-Control \"max-age=604800\"\n  </FilesMatch>\n</IfModule>\n\n# PHP 7.x\n<IfModule mod_php7.c>\n  php_value mbstring.func_overload 0\n  php_value default_charset 'UTF-8'\n  php_value output_buffering 0\n  <IfModule mod_env.c>\n    SetEnv htaccessWorking true\n  </IfModule>\n</IfModule>\n\n# PHP 8+\n<IfModule mod_php.c>\n  php_value mbstring.func_overload 0\n  php_value default_charset 'UTF-8'\n  php_value output_buffering 0\n  <IfModule mod_env.c>\n    SetEnv htaccessWorking true\n  </IfModule>\n</IfModule>\n\n<IfModule mod_mime.c>\n  AddType image/svg+xml svg svgz\n  AddType application/wasm wasm\n  AddEncoding gzip svgz\n</IfModule>\n\n<IfModule mod_dir.c>\n  DirectoryIndex index.php index.html\n</IfModule>\n\n<IfModule pagespeed_module>\n  ModPagespeed Off\n</IfModule>\n\n<IfModule mod_rewrite.c>\n  RewriteEngine on\n  RewriteCond %{HTTP_USER_AGENT} DavClnt\n  RewriteRule ^$ /remote.php/webdav/ [L,R=302]\n  RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\n  RewriteRule ^\\.well-known/carddav /remote.php/dav/ [R=301,L]\n  RewriteRule ^\\.well-known/caldav /remote.php/dav/ [R=301,L]\n  RewriteRule ^remote/(.*) remote.php [QSA,L]\n  RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]\n  RewriteRule ^\\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]\n  RewriteRule ^(?:\\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]\n</IfModule>\n\nAddDefaultCharset utf-8\nOptions -Indexes\n#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####\n\nErrorDocument 403 /\nErrorDocument 404 /\n"]},{"file":"/var/www/html/lib/private/Setup.php","line":411,"function":"updateHtaccess","class":"OC\\Setup","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/core/Command/Maintenance/Install.php","line":105,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/symfony/console/Command/Command.php","line":255,"function":"execute","class":"OC\\Core\\Command\\Maintenance\\Install","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":1009,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":273,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"OC\\Core\\Command\\Maintenance\\Install"},{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":149,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/lib/private/Console/Application.php","line":213,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/console.php","line":100,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":99,"CustomMessage":"--"}}

==> /var/log/cron/nextcloud.log <==
[Mon Oct 03 14:53:00.594212 2022] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.54 (Debian) PHP/7.4.32 configured -- resuming normal operations
[Mon Oct 03 14:53:00.594286 2022] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
   The user "user5" was created successfully
   The user "user3" was created successfully
   The user "nextcloud" was created successfully
   The user "alice" was created successfully
   The user "bob" was created successfully
   The user "user2" was created successfully
   The user "user4" was created successfully
   The user "john" was created successfully
   The user "user1" was created successfully
   The user "jane" was created successfully
   The user "user6" was created successfully
    ~/Checkouts/nextcloud-docker-dev    master ⇣2 !1  docker logs master-redis-1                                                                                                                                         ✔ 
1:C 03 Oct 2022 14:52:29.752 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 03 Oct 2022 14:52:29.752 # Redis version=6.2.7, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 03 Oct 2022 14:52:29.752 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
1:M 03 Oct 2022 14:52:29.752 * monotonic clock: POSIX clock_gettime
1:M 03 Oct 2022 14:52:29.753 # A key '__redis__compare_helper' was added to Lua globals which is not on the globals allow list nor listed on the deny list.
1:M 03 Oct 2022 14:52:29.753 * Running mode=standalone, port=6379.
1:M 03 Oct 2022 14:52:29.753 # Server initialized
1:M 03 Oct 2022 14:52:29.753 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
1:M 03 Oct 2022 14:52:29.753 * Ready to accept connections
1:M 03 Oct 2022 14:57:30.096 * 100 changes in 300 seconds. Saving...
1:M 03 Oct 2022 14:57:30.096 * Background saving started by pid 19
19:C 03 Oct 2022 14:57:30.099 * DB saved on disk
19:C 03 Oct 2022 14:57:30.099 * RDB: 0 MB of memory used by copy-on-write
1:M 03 Oct 2022 14:57:30.196 * Background saving terminated with success
    ~/Checkouts/nextcloud-docker-dev    master ⇣2 !1  docker logs master-mail-1                                                                                                                                          ✔ 
2022/10/03 14:52:29 Using in-memory storage
2022/10/03 14:52:29 Serving under http://0.0.0.0:8025/
[HTTP] Binding to address: 0.0.0.0:8025
2022/10/03 14:52:29 [SMTP] Binding to address: 0.0.0.0:1025
Creating API v1 with WebPath: 
Creating API v2 with WebPath: 
[APIv1] KEEPALIVE /api/v1/events
[APIv1] KEEPALIVE /api/v1/events
[APIv1] KEEPALIVE /api/v1/events
[APIv1] KEEPALIVE /api/v1/events
[APIv1] KEEPALIVE /api/v1/events
[APIv1] KEEPALIVE /api/v1/events
[APIv1] KEEPALIVE /api/v1/events
[APIv1] KEEPALIVE /api/v1/events
    ~/Checkouts/nextcloud-docker-dev    master ⇣2 !1  docker logs master-proxy-1                                                                                                                                         ✔ 
Info: running nginx-proxy version 1.0.1-6-gc4ad18f
Skipping Diffie-Hellman parameters setup.
Warning: The DHPARAM_GENERATION environment variable is deprecated, please consider using DHPARAM_SKIP set to true instead.
forego      | starting dockergen.1 on port 5000
forego      | starting nginx.1 on port 5100
nginx.1     | 2022/10/03 14:52:29 [notice] 15#15: using the "epoll" event method
nginx.1     | 2022/10/03 14:52:29 [notice] 15#15: nginx/1.21.6
nginx.1     | 2022/10/03 14:52:29 [notice] 15#15: built by gcc 10.2.1 20210110 (Debian 10.2.1-6) 
nginx.1     | 2022/10/03 14:52:29 [notice] 15#15: OS: Linux 5.15.65-1-MANJARO
nginx.1     | 2022/10/03 14:52:29 [notice] 15#15: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx.1     | 2022/10/03 14:52:29 [notice] 15#15: start worker processes
nginx.1     | 2022/10/03 14:52:29 [notice] 15#15: start worker process 27
nginx.1     | 2022/10/03 14:52:29 [notice] 15#15: start worker process 28
nginx.1     | 2022/10/03 14:52:29 [notice] 15#15: start worker process 29
nginx.1     | 2022/10/03 14:52:29 [notice] 15#15: start worker process 30
nginx.1     | 2022/10/03 14:52:29 [notice] 15#15: start worker process 31
nginx.1     | 2022/10/03 14:52:29 [notice] 15#15: start worker process 32
dockergen.1 | 2022/10/03 14:52:30 Generated '/etc/nginx/conf.d/default.conf' from 6 containers
dockergen.1 | 2022/10/03 14:52:30 Running 'nginx -s reload'
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: signal 1 (SIGHUP) received from 36, reconfiguring
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: reconfiguring
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: using the "epoll" event method
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: start worker processes
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: start worker process 37
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: start worker process 38
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: start worker process 39
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: start worker process 40
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: start worker process 41
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: start worker process 42
dockergen.1 | 2022/10/03 14:52:30 Watching docker events
dockergen.1 | 2022/10/03 14:52:30 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
nginx.1     | 2022/10/03 14:52:30 [notice] 27#27: gracefully shutting down
nginx.1     | 2022/10/03 14:52:30 [notice] 28#28: gracefully shutting down
nginx.1     | 2022/10/03 14:52:30 [notice] 30#30: gracefully shutting down
nginx.1     | 2022/10/03 14:52:30 [notice] 32#32: gracefully shutting down
nginx.1     | 2022/10/03 14:52:30 [notice] 27#27: exiting
nginx.1     | 2022/10/03 14:52:30 [notice] 28#28: exiting
nginx.1     | 2022/10/03 14:52:30 [notice] 30#30: exiting
nginx.1     | 2022/10/03 14:52:30 [notice] 32#32: exiting
nginx.1     | 2022/10/03 14:52:30 [notice] 28#28: exit
nginx.1     | 2022/10/03 14:52:30 [notice] 27#27: exit
nginx.1     | 2022/10/03 14:52:30 [notice] 30#30: exit
nginx.1     | 2022/10/03 14:52:30 [notice] 32#32: exit
nginx.1     | 2022/10/03 14:52:30 [notice] 31#31: gracefully shutting down
nginx.1     | 2022/10/03 14:52:30 [notice] 31#31: exiting
nginx.1     | 2022/10/03 14:52:30 [notice] 31#31: exit
nginx.1     | 2022/10/03 14:52:30 [notice] 29#29: gracefully shutting down
nginx.1     | 2022/10/03 14:52:30 [notice] 29#29: exiting
nginx.1     | 2022/10/03 14:52:30 [notice] 29#29: exit
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: signal 17 (SIGCHLD) received from 30
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: worker process 30 exited with code 0
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: signal 29 (SIGIO) received
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: signal 17 (SIGCHLD) received from 27
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: worker process 27 exited with code 0
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: signal 29 (SIGIO) received
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: signal 17 (SIGCHLD) received from 32
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: worker process 32 exited with code 0
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: signal 29 (SIGIO) received
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: signal 17 (SIGCHLD) received from 31
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: worker process 28 exited with code 0
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: worker process 31 exited with code 0
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: signal 29 (SIGIO) received
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: signal 17 (SIGCHLD) received from 28
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: signal 17 (SIGCHLD) received from 29
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: worker process 29 exited with code 0
nginx.1     | 2022/10/03 14:52:30 [notice] 15#15: signal 29 (SIGIO) received
nginx.1     | 127.0.0.1 192.168.21.1 - - [03/Oct/2022:14:53:16 +0000] "GET / HTTP/1.1" 503 190 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0" "-"
nginx.1     | 127.0.0.1 192.168.21.1 - - [03/Oct/2022:14:56:24 +0000] "GET / HTTP/1.1" 503 190 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0" "-"
    ~/Checkouts/nextcloud-docker-dev    master ⇣2 !1              

major-mayer avatar Oct 03 '22 15:10 major-mayer