When I try to login I get
Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log
Technical Information
Remote Address: 172.19.0.4
xeTisVxTOQWzudx0rw8T
Nextcloud version: 22.0.0.11
as per the config.php
Operating system and version: Ubuntu 20.04
NC running via Docker
Additional Information: running behind caddy2 reverse proxy
Steps to replicate it:
- I guess upgrade to the latest version. I have ouroboros and I guess it updated nextcloud
- Go to the login page
- Login
The output of your config.php file:
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'instanceid' => 'aadfljk3g1k34',
'passwordsalt' => 'afagvasASDGafg423rfAS',
'secret' => 'asdf24adfav342SDA',
'trusted_domains' =>
array (
0 => '192.168.11.3:8080',
1 => 'sub.domain.tld',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '22.0.0.11',
'overwrite.cli.url' => 'http://192.168.11.51:8080',
'dbname' => 'nextcloud',
'dbhost' => 'db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'password',
'installed' => true,
'overwriteprotocol' => 'https',
'maintenance' => false,
'app_install_overwrite' =>
array (
0 => 'files_external_gdrive',
),
'loglevel' => 0,
'app.mail.verify-tls-peer' => false,
'theme' => '',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'redis',
'password' => false,
'port' => 6379,
),
);
The output of your Apache/nginx/system log in /var/log/____
:
app_1 | Configuring Redis as session handler
db_1 | 2021-07-14 15:58:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.3+maria~focal started.
db_1 | 2021-07-14 15:58:24+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
db_1 | 2021-07-14 15:58:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.3+maria~focal started.
db_1 | 2021-07-14 15:58:24 0 [Note] mysqld (mysqld 10.6.3-MariaDB-1:10.6.3+maria~focal) starting as process 1 ...
db_1 | 2021-07-14 15:58:24 0 [Warning] You need to use --log-bin to make --binlog-format work.
db_1 | 2021-07-14 15:58:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db_1 | 2021-07-14 15:58:24 0 [Note] InnoDB: Number of pools: 1
db_1 | 2021-07-14 15:58:24 0 [Note] InnoDB: Using generic crc32 instructions
db_1 | 2021-07-14 15:58:24 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
db_1 | 2021-07-14 15:58:24 0 [Note] InnoDB: Using Linux native AIO
db_1 | 2021-07-14 15:58:24 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
db_1 | 2021-07-14 15:58:24 0 [Note] InnoDB: Completed initialization of buffer pool
db_1 | 2021-07-14 15:58:24 0 [Note] InnoDB: 128 rollback segments are active.
db_1 | 2021-07-14 15:58:24 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1 | 2021-07-14 15:58:24 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
redis_1 | 1:C 14 Jul 15:58:23.582 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1 | 1:C 14 Jul 15:58:23.582 # Redis version=4.0.14, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1 | 1:C 14 Jul 15:58:23.582 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1 | 1:M 14 Jul 15:58:23.585 * Running mode=standalone, port=6379.
redis_1 | 1:M 14 Jul 15:58:23.585 # Server initialized
redis_1 | 1:M 14 Jul 15:58:23.585 # 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.
db_1 | 2021-07-14 15:58:24 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
redis_1 | 1:M 14 Jul 15:58:23.585 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
db_1 | 2021-07-14 15:58:24 0 [Note] InnoDB: 10.6.3 started; log sequence number 82217021177; transaction id 51163484
db_1 | 2021-07-14 15:58:24 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1 | 2021-07-14 15:58:24 0 [Note] Plugin 'FEEDBACK' is disabled.
db_1 | 2021-07-14 15:58:24 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
db_1 | 2021-07-14 15:58:24 0 [Note] Server socket created on IP: '0.0.0.0'.
db_1 | 2021-07-14 15:58:24 0 [Note] Server socket created on IP: '::'.
db_1 | 2021-07-14 15:58:24 0 [Warning] 'proxies_priv' entry '@% root@2404a78c672b' ignored in --skip-name-resolve mode.
redis_1 | 1:M 14 Jul 15:58:23.653 * DB loaded from disk: 0.069 seconds
redis_1 | 1:M 14 Jul 15:58:23.653 * Ready to accept connections
db_1 | 2021-07-14 15:58:24 0 [ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type varchar(, found type char(141).
db_1 | 2021-07-14 15:58:24 0 [ERROR] mysqld: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
db_1 | 2021-07-14 15:58:24 0 [Note] mysqld: ready for connections.
db_1 | Version: '10.6.3-MariaDB-1:10.6.3+maria~focal' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
db_1 | 2021-07-14 15:58:25 0 [Note] InnoDB: Buffer pool(s) load completed at 210714 15:58:25
app_1 | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.30.0.4. Set the 'ServerName' directive globally to suppress this message
app_1 | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.30.0.4. Set the 'ServerName' directive globally to suppress this message
app_1 | [Wed Jul 14 15:58:26.010754 2021] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/7.4.21 configured -- resuming normal operations
app_1 | [Wed Jul 14 15:58:26.010882 2021] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
app_1 | 172.19.0.4 - Marius [14/Jul/2021:15:58:33 +0000] "GET /status.php HTTP/1.1" 200 1101 "-" "Mozilla/5.0 (Linux) mirall/3.2.2git (Nextcloud, manjaro-5.10.42-1-MANJARO ClientArchitecture: x86_64 OsArchitecture: x86_64)"
app_1 | 172.19.0.4 - Marius [14/Jul/2021:15:58:33 +0000] "PROPFIND /remote.php/webdav/ HTTP/1.1" 503 1080 "-" "Mozilla/5.0 (Linux) mirall/3.2.2git (Nextcloud, manjaro-5.10.42-1-MANJARO ClientArchitecture: x86_64 OsArchitecture: x86_64)"
app_1 | 172.19.0.4 - Marius [14/Jul/2021:15:58:35 +0000] "GET /status.php HTTP/1.1" 200 1101 "-" "Mozilla/5.0 (Linux) mirall/3.2.2git (Nextcloud, manjaro-5.10.42-1-MANJARO ClientArchitecture: x86_64 OsArchitecture: x86_64)"
app_1 | 172.19.0.4 - Marius [14/Jul/2021:15:58:35 +0000] "PROPFIND /remote.php/webdav/ HTTP/1.1" 503 1080 "-" "Mozilla/5.0 (Linux) mirall/3.2.2git (Nextcloud, manjaro-5.10.42-1-MANJARO ClientArchitecture: x86_64 OsArchitecture: x86_64)"
app_1 | 172.19.0.4 - - [14/Jul/2021:15:58:43 +0000] "GET / HTTP/1.1" 302 892 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0"
app_1 | 172.19.0.4 - - [14/Jul/2021:15:58:43 +0000] "GET /login HTTP/1.1" 200 7000 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0"
app_1 | 172.19.0.4 - - [14/Jul/2021:15:58:44 +0000] "GET /core/img/loading-dark.gif HTTP/1.1" 200 5161 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0"
app_1 | 172.19.0.4 - - [14/Jul/2021:15:58:44 +0000] "GET /apps/photos/service-worker.js HTTP/1.1" 401 779 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0"
app_1 | 172.19.0.4 - - [14/Jul/2021:15:58:47 +0000] "POST /login HTTP/1.1" 500 5027 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0"
app_1 | 172.19.0.4 - - [14/Jul/2021:15:58:48 +0000] "GET /apps/photos/service-worker.js HTTP/1.1" 401 878 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0"
app_1 | 172.19.0.4 - - [14/Jul/2021:15:58:49 +0000] "GET /apps/photos/service-worker.js HTTP/1.1" 401 779 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0"