Docker Nextcloud version (eg, 20.0.5): 25.0.4.1
Nextcloud was wunning perfectly on Docker on 25.0.4.1 behind Nginx reverse proxy manager. I then upgraded to the latest 27 release and got the error I need to update one version at a time. I then loaded the Docker image 26 and got:
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.26.0.3. Set the 'ServerName' directive globally to suppress this message
I tried again the 27 image and the error remained. Now I can’t even revert back to the original version as it says it is below the data’s version. The error persists whether I specify a domain name or use a local IP.
Here is my config.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' => '***************',
'passwordsalt' => '***************',
'secret' => '***************',
'trusted_domains' =>
array (
0 => 'sub.domain.net',
),
'datadirectory' => '/var/www/html/data',
'trusted_proxies' =>
array (
0 => '192.168.102.238', //this is the server's IP address
),
'overwritehost' => 'sub.domain.net',
'overwriteprotocol' => 'https',
'overwritewebroot' => '/',
'dbtype' => 'mysql',
'version' => '25.0.4.1',
'overwrite.cli.url' => 'https://sub.domain.net',
'dbname' => 'nextcloud',
'dbhost' => 'nextcloud_db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '***************',
'dbpassword' => '***************',
'installed' => true,
'updater.secret' => '***************',
'enable_previews' => false,
);
Did something change between v25 and v26/27 that I need to adjust my settings? How do I resolve the apache2
error above?
Thanks