Hello, Iâm quite new to Nextcloud. I have installed nextcloudpi on a rapsberry pi 4. Everything was working fine since I just updated nextcloudpi, nextcloud and all the apps from ncp-config (by ssh).
Nextcloud version : 20.0.8.1
Operating system and version : Nextcloupi
PHP version : 7.3.27-1~deb10u1
When I try to access to my nextcloud page I get an internal server error. (This is the first time I see this error)
Here is the result of ncp-report : pastebin
The output of your config.php
<?php
$CONFIG = array (
'passwordsalt' => XXXXX',
'secret' => 'XXXXX',
'trusted_domains' =>
array (
0 => 'localhost',
5 => 'nextcloudpi.local',
7 => 'nextcloudpi',
8 => 'nextcloudpi.lan',
11 => 'XXXXX',
1 => '192.168.1.X',
3 => 'XXXXX',
2 => 'XXXXX',
12 => 'XXXXX',
20 => 'XXXXX',
21 => 'XXXXX',
),
'datadirectory' => '/var/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '20.0.8.1',
'overwrite.cli.url' => 'XXXXX',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncadmin',
'dbpassword' => 'XXXXX',
'installed' => true,
'instanceid' => 'XXXXX',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'password' => 'XXXXX',
),
'tempdirectory' => '/var/www/nextcloud/data/tmp',
'mail_smtpmode' => 'smtp',
'mail_from_address' => 'XXXXX',
'mail_domain' => 'XXXXX',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'overwriteprotocol' => 'https',
'loglevel' => '2',
'log_type' => 'file',
'maintenance' => false,
'htaccess.RewriteBase' => '/',
'mail_sendmailmode' => 'smtp',
'mail_smtpauthtype' => 'PLAIN',
'mail_smtphost' => 'XXXXX',
'mail_smtpport' => '465',
'music.lastfm_api_key' => 'XXXXX',
'mail_smtpauth' => 1,
'mail_smtpname' => 'XXXXX',
'mail_smtppassword' => 'XXXXX',
'mail_smtpsecure' => 'ssl',
'theme' => '',
'updater.secret' => 'XXXXX',
);
The output of /var/log/apache2/error.log
:
[Sun Feb 28 00:00:07.794793 2021] [mpm_event:notice] [pid 762:tid 547799913840] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Sun Feb 28 00:00:07.794887 2021] [core:notice] [pid 762:tid 547799913840] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 28 01:19:04.529709 2021] [authz_host:error] [pid 6382:tid 546559730064] [client 183.136.225.46:33047] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Feb 28 01:19:04.529836 2021] [authz_core:error] [pid 6382:tid 546559730064] [client 183.136.225.46:33047] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Feb 28 01:19:11.390556 2021] [authz_host:error] [pid 6381:tid 546920452496] [client 183.136.225.46:29344] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Feb 28 01:19:11.390683 2021] [authz_core:error] [pid 6381:tid 546920452496] [client 183.136.225.46:29344] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Feb 28 04:10:21.118540 2021] [authz_host:error] [pid 6381:tid 545980928400] [client 183.136.225.46:46396] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Feb 28 04:10:21.118726 2021] [authz_core:error] [pid 6381:tid 545980928400] [client 183.136.225.46:46396] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Feb 28 04:10:22.587570 2021] [authz_host:error] [pid 6381:tid 547471565200] [client 183.136.225.46:1953] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Feb 28 04:10:22.587729 2021] [authz_core:error] [pid 6381:tid 547471565200] [client 183.136.225.46:1953] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Feb 28 04:10:28.164809 2021] [authz_host:error] [pid 6382:tid 546584908176] [client 183.136.225.46:2119] AH01753: access check of 'localhost' to /favicon.ico failed, reason: unable to get the remote host name
[Sun Feb 28 04:10:28.164986 2021] [authz_core:error] [pid 6382:tid 546584908176] [client 183.136.225.46:2119] AH01630: client denied by server configuration: /var/www/ncp-web/favicon.ico
[Sun Feb 28 08:43:08.966382 2021] [authz_host:error] [pid 6382:tid 547463164304] [client 183.136.225.46:12885] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Feb 28 08:43:08.966571 2021] [authz_core:error] [pid 6382:tid 547463164304] [client 183.136.225.46:12885] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Feb 28 08:43:12.143074 2021] [authz_host:error] [pid 6382:tid 546559730064] [client 183.136.225.46:27900] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Feb 28 08:43:12.143196 2021] [authz_core:error] [pid 6382:tid 546559730064] [client 183.136.225.46:27900] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Feb 28 08:43:18.865319 2021] [authz_host:error] [pid 6382:tid 546551337360] [client 183.136.225.46:28378] AH01753: access check of 'localhost' to /favicon.ico failed, reason: unable to get the remote host name
[Sun Feb 28 08:43:18.865504 2021] [authz_core:error] [pid 6382:tid 546551337360] [client 183.136.225.46:28378] AH01630: client denied by server configuration: /var/www/ncp-web/favicon.ico
[Sun Feb 28 09:19:51.354348 2021] [authz_core:error] [pid 6382:tid 547054670224] [client 162.142.125.53:57900] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Feb 28 09:19:51.817200 2021] [authz_core:error] [pid 6382:tid 546601693584] [client 162.142.125.53:52220] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Feb 28 09:59:43.509348 2021] [authz_host:error] [pid 6382:tid 547513602448] [client 139.28.219.84:42196] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Feb 28 09:59:43.510051 2021] [authz_core:error] [pid 6382:tid 547513602448] [client 139.28.219.84:42196] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Feb 28 09:59:43.596424 2021] [authz_host:error] [pid 6382:tid 547513602448] [client 139.28.219.84:42196] AH01753: access check of 'localhost' to /favicon.ico failed, reason: unable to get the remote host name, referer: https://kuluse.mooo.com:4443/
[Sun Feb 28 09:59:43.596505 2021] [authz_core:error] [pid 6382:tid 547513602448] [client 139.28.219.84:42196] AH01630: client denied by server configuration: /var/www/ncp-web/favicon.ico, referer: https://kuluse.mooo.com:4443/
[Sun Feb 28 10:04:48.463326 2021] [authz_host:error] [pid 6381:tid 547723485584] [client 139.28.219.84:42378] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Feb 28 10:04:48.463444 2021] [authz_core:error] [pid 6381:tid 547723485584] [client 139.28.219.84:42378] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Feb 28 10:04:48.562883 2021] [authz_host:error] [pid 6381:tid 547723485584] [client 139.28.219.84:42378] AH01753: access check of 'localhost' to /favicon.ico failed, reason: unable to get the remote host name, referer: https://kuluse.mooo.com:4443/
[Sun Feb 28 10:04:48.562953 2021] [authz_core:error] [pid 6381:tid 547723485584] [client 139.28.219.84:42378] AH01630: client denied by server configuration: /var/www/ncp-web/favicon.ico, referer: https://kuluse.mooo.com:4443/
[Sun Feb 28 10:04:55.411815 2021] [authz_host:error] [pid 6382:tid 547547206032] [client 139.28.219.84:42380] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Feb 28 10:04:55.411929 2021] [authz_core:error] [pid 6382:tid 547547206032] [client 139.28.219.84:42380] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Feb 28 10:04:55.472307 2021] [authz_host:error] [pid 6382:tid 547547206032] [client 139.28.219.84:42380] AH01753: access check of 'localhost' to /favicon.ico failed, reason: unable to get the remote host name, referer: https://kuluse.mooo.com:4443/
[Sun Feb 28 10:04:55.472380 2021] [authz_core:error] [pid 6382:tid 547547206032] [client 139.28.219.84:42380] AH01630: client denied by server configuration: /var/www/ncp-web/favicon.ico, referer: https://kuluse.mooo.com:4443/
[Sun Feb 28 12:01:59.726515 2021] [mpm_event:notice] [pid 762:tid 547799913840] AH00491: caught SIGTERM, shutting down
[Sun Feb 28 12:02:15.163411 2021] [ssl:warn] [pid 603:tid 548474865008] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 28 12:02:15.203552 2021] [ssl:warn] [pid 746:tid 548474865008] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 28 12:02:15.207766 2021] [mpm_event:notice] [pid 746:tid 548474865008] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Sun Feb 28 12:02:15.207895 2021] [core:notice] [pid 746:tid 548474865008] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 28 12:06:34.185238 2021] [mpm_event:notice] [pid 746:tid 548474865008] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Feb 28 12:06:34.210289 2021] [ssl:warn] [pid 746:tid 548474865008] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 28 12:06:34.211484 2021] [mpm_event:notice] [pid 746:tid 548474865008] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Sun Feb 28 12:06:34.211513 2021] [core:notice] [pid 746:tid 548474865008] AH00094: Command line: '/usr/sbin/apache2'
The output of /var/log/apache2/nc-error.log
:
[Sun Feb 28 10:04:22.143719 2021] [access_compat:error] [pid 6382:tid 547622773136] [client 139.28.219.84:29892] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Feb 28 10:47:52.636269 2021] [access_compat:error] [pid 6382:tid 547597595024] [client 139.28.219.84:37652] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Feb 28 10:47:56.254046 2021] [access_compat:error] [pid 6382:tid 547522003344] [client 139.28.219.84:37652] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Feb 28 10:48:18.724005 2021] [access_compat:error] [pid 6381:tid 547564007824] [client 139.28.219.84:39916] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Feb 28 11:53:14.651709 2021] [core:crit] [pid 6381:tid 547740270992] (13)Permission denied: [client 139.28.219.84:33814] AH00529: /var/www/nextcloud/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/nextcloud/' is executable
The output of /var/log/syslog
: pastebin
Thank you very much in advance for your help !