Nextcloud version (eg, 20.0.5): 21.0.3
Operating system and version (eg, Ubuntu 20.04): Synology DSM 6.2.4-25556
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4
PHP version (eg, 7.4): PHP 7.4
The issue you are facing:
Since DSM 7 & Nextcloud 21 drops the support for Maria DB5, I would like to test a fresh, new and separate Nextcloud 21 installation in combination with Maria DB10.
The actual Nextcloud version is 20.0.11
Is this the first time you’ve seen this error? (Y/N): Yes
Steps to replicate it:
- Backup and restore Nextcloud DB as described here: How to migrate databases from MariaDB 5 to MariaDB 10 - Synology Knowledge Center
- Extracted Nextcloud 21.0.3 into a new subdirectory under /web
- copy Nextcloud /config/config.php into the new config folder. (What should I change here in order to get the old config working with a new maria DB version?
The output of your Nextcloud log in Admin > Logging:
Not accessible, because of this behavior
The logfile which is generated through the config file generate an empty logfile.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => 'ip',
),
'datadirectory' => '/volume1/web/nextcloud/data',
'dbtype' => 'mysql',
'version' => '20.0.11.1',
'overwrite.cli.url' => 'http://ip/nextcloud',
'dbname' => 'nx',
'dbhost' => '127.0.0.1',
'dbport' => '3307',
'dbtableprefix' => 'oc_',
'dbuser' => 'nx',
'dbpassword' => 'password',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'maintenance' => false,
'updater.release.channel' => 'stable',
'theme' => '',
'memcache.local' => '\\OC\\Memcache\\APCu',
'installed' => true,
'mysql.utf8mb4' => true,
'log_type' => 'file',
'logfile' => 'nextcloud.log',
'loglevel' => 3,
'logdateformat' => 'F d, Y H:i:s',
);```
The output of your Apache/nginx/system log in `/var/log/____`:
It seems that I am too dump to find the proper logfiles for the webserver in the Synology, because the protocol center has nothing valuable.