Nextcloud version (eg, 12.0.2): 18.0.3
Operating system and version (eg, Ubuntu 17.04): Raspbian GNU/Linux 10 (buster)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.38 (Raspbian)
PHP version (eg, 7.1): PHP 7.3.14-1~deb10u1 (cli)
The issue you are facing:
I moved my data folder to a new SSD and edited the config.php. I can access for example my news via Android app, but I can’t access the web interface: internal server error.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Try to open the web nextcloud interface via browser.
The output of your Nextcloud log in Admin > Logging:
{"reqId":"XoxIIcOD7j@3BrLHUSC5yAAASRE","level":3,"time":"2020-04-07T09:30:56+00:00","remoteAddr":"109.91.135.63","user":"ncp","app":"index","method":"GET","url":"/index.php/apps/files/","message":{"Exception":"OCP\\Files\\NotPermittedException","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php","line":108,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->","args":[":root {\n--icon-confirm-fade-000: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iwLjMwMjd6IiBmaWxsPSIjMDAwIi8+PC9zdmc+Cg==);--icon-search-fffffe: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcSIgZmlsbD0iI2ZmZmZmZSIvPjwvZz48L3N2Zz4K);--icon-add-000: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC1di0yaDV2LTVoMnY1bDUtLjAyOFY4Ljk4aC01eiIgZmlsbD0iIzAwMCIvPjwvc3ZnPgo=);--icon-add-fff: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iGQ9Ik05LjAyIDEzLjk4aC0ydi01aC01di0yaDV2LTVoMnY1bDUtLjAyOFY4Ljk4aC01eiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPgo=);--icon-address-000: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiIgd2lkdGg9IjE2IiB2ZXJzaW9uPSIxL
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'XXX',
'secret' => 'XXX',
'trusted_domains' =>
array (
0 => 'localhost',
11 => '2a02:908:212:ed40:8618:a611:c43f:8d2c',
1 => '192.168.0.87',
5 => 'nextcloudpi.local',
7 => 'nextcloudpi',
8 => 'nextcloudpi.lan',
20 => 'example.com',
21 => '192.168.0.87',
),
'datadirectory' => '/media/ssd_nextcloud/ncdata/',
'dbtype' => 'mysql',
'version' => '18.0.3.0',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncadmin',
'dbpassword' => 'XXX',
'installed' => true,
'instanceid' => 'oc6cnssj6shs',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'XXX',
'dbpassword' => 'XXX',
'installed' => true,
'instanceid' => 'oc6cnssj6shs',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' => array ( 'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'password' => 'XXX',
),
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'XXX',
'mail_domain' => 'XXX',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'overwriteprotocol' => 'https',
'maintenance' => false,
'tempdirectory' => '/media/ssd_nextcloud/ncdata/tmp',
'logfile' => '/media/ssd_nextcloud/ncdata/nextcloud.log',
'mail_sendmailmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_smtphost' => 'XXX',
'mail_smtpport' => '587',
'mail_smtpauth' => 1,
'mail_smtpname' => 'XXX',
'mail_smtppassword' => 'XXX',
'updater.release.channel' => 'stable',
'theme' => '',
'loglevel' => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
[Tue Apr 07 11:29:53.429068 2020] [ssl:warn] [pid 801:tid 3069288976] AH01909: localhost:4443:0 server certificate does NOT include an$[Tue Apr 07 11:29:53.429278 2020] [ssl:error] [pid 801:tid 3069288976] AH02217: ssl_stapling_init_cert: can't retrieve issuer certific$[Tue Apr 07 11:29:53.429297 2020] [ssl:error] [pid 801:tid 3069288976] AH02604: Unable to configure certificate localhost:4443:0 for s$[Tue Apr 07 11:29:53.430239 2020] [mpm_event:notice] [pid 801:tid 3069288976] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1d configu$[Tue Apr 07 11:29:53.430259 2020] [core:notice] [pid 801:tid 3069288976] AH00094: Command line: '/usr/sbin/apache2'