I think there could be some problems:
'instanceid' => '***',
found the value in the path name: /data/appdata_***
'passwordsalt' => '***',
Perhaps you can reset all passwords with “occ”.
'secret' => ***',
???
Read Lost config.php - #2 by koenada
Please make a backup of your data and MariaDB before testing it.