Support intro
Nextcloud version (eg, 20.0.5): 19.0.6.2
Operating system and version (eg, Ubuntu 20.04): TurnKey GNU/Linux 16.0 (Debian 10/Buster)
Apache or nginx version (eg, Apache 2.4.cd25): replace me
PHP version (eg, 7.4): replace me
The issue you are facing:
i cannot access my files through web page or any ios app.
I was using a turnkey linux install on proxmox container. i had sucessfully moved my data directory an NFS drive and it was working fine for at least 4 months until (i think) a power cycle on proxmox and container caused some isse and now from web page i get invalid data directory and the suggestion that .ocdata is missing (it isn’t).
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
- By changing the data directory back to the original (var/www/nextcloud/data) i can get access to the web page but none of my files are there, the folders are.
2, i have chaged the owner of the files in data directory to www-data.
total 76
drwxr-x--- 8 www-data www-data 4096 Mar 26 11:21 .
drwxrwx--- 8 www-data www-data 4096 Jan 12 22:28 ..
-rw-r--r-- 1 www-data www-data 542 Jan 12 22:57 .htaccess
-rw-r--r-- 1 www-data www-data 0 Mar 24 22:23 .ocdata
drwxr-xr-x 4 www-data www-data 4096 Jan 12 22:28 admin
drwxr-xr-x 12 www-data www-data 4096 Jan 27 18:54 appdata_oc10el8hld3f
drwxr-xr-x 3 www-data www-data 4096 Mar 26 09:03 user2
drwxr-xr-x 2 www-data www-data 4096 Jan 12 22:57 files_external
-rw-r--r-- 1 www-data www-data 0 Jan 12 22:57 index.html
-rw-r--r-- 1 www-data www-data 0 Mar 26 08:44 nextcloud.log
drwxr-xr-x 7 www-data www-data 4096 Jan 13 00:10 user1
drwxr-xr-x 4 www-data www-data 4096 Jan 12 22:57 updater-oc10el8hld3f
-rw-r--r-- 1 www-data www-data 32959 Jan 12 22:57 updater.log
The output of your Nextcloud log in Admin > Logging:
the nextcloud.log within the migrated data directory is empty. which is strange...
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'b6edb6d1c**********************cc22d6580d',
'secret' => 'ef98fd4e0a5985ace53ac********************************50b968c4da98ea8c3f1c42a8fd0b56b73fbbc0858642160e',
'trusted_domains' =>
array (
0 => '192.168.1.64',
1 => 'nextcloud-*****.ddns.net',
2 => 'localhost',
),
'datadirectory' => '/mnt/Nextcloud/data',
'dbtype' => 'mysql',
'version' => '19.0.6.2',
'overwrite.cli.url' => 'https://nextcloud-*****.ddns.net',
'overwritehost' => 'nextcloud-*****.ddns.net',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => '70b350a9c6133c25d5e3a1dc002bf884',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'instanceid' => 'oc10el8hld3f',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
[Fri Mar 26 00:00:28.928382 2021] [ssl:warn] [pid 412] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 00:00:28.929338 2021] [ssl:warn] [pid 412] AH01909: localhost:12322:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 00:00:28.929456 2021] [mpm_prefork:notice] [pid 412] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Mar 26 00:00:28.929461 2021] [core:notice] [pid 412] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 26 09:22:01.268770 2021] [mpm_prefork:notice] [pid 412] AH00169: caught SIGTERM, shutting down
[Fri Mar 26 09:22:10.868076 2021] [ssl:warn] [pid 289] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 09:22:10.870660 2021] [ssl:warn] [pid 289] AH01909: localhost:12322:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 09:22:11.190604 2021] [ssl:warn] [pid 372] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 09:22:11.190882 2021] [ssl:warn] [pid 372] AH01909: localhost:12322:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 09:22:11.193544 2021] [mpm_prefork:notice] [pid 372] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Mar 26 09:22:11.193569 2021] [core:notice] [pid 372] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 26 10:23:34.204031 2021] [mpm_prefork:notice] [pid 372] AH00169: caught SIGTERM, shutting down
[Fri Mar 26 10:23:40.767710 2021] [ssl:warn] [pid 323] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 10:23:40.768371 2021] [ssl:warn] [pid 323] AH01909: localhost:12322:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 10:23:41.020818 2021] [ssl:warn] [pid 387] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 10:23:41.021095 2021] [ssl:warn] [pid 387] AH01909: localhost:12322:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 10:23:41.030749 2021] [mpm_prefork:notice] [pid 387] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Mar 26 10:23:41.030778 2021] [core:notice] [pid 387] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 26 10:23:48.889511 2021] [access_compat:error] [pid 434] [client 192.168.1.205:52972] AH01797: client denied by server configuration: /var/www/nextcloud/config
[Fri Mar 26 10:43:12.000381 2021] [mpm_prefork:notice] [pid 387] AH00169: caught SIGTERM, shutting down
[Fri Mar 26 10:43:18.774320 2021] [ssl:warn] [pid 306] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 10:43:18.775044 2021] [ssl:warn] [pid 306] AH01909: localhost:12322:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 10:43:19.026579 2021] [ssl:warn] [pid 374] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 10:43:19.030177 2021] [ssl:warn] [pid 374] AH01909: localhost:12322:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 10:43:19.033208 2021] [mpm_prefork:notice] [pid 374] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Mar 26 10:43:19.033233 2021] [core:notice] [pid 374] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 26 11:07:26.628184 2021] [mpm_prefork:notice] [pid 374] AH00169: caught SIGTERM, shutting down
[Fri Mar 26 11:07:33.455347 2021] [ssl:warn] [pid 305] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 11:07:33.455839 2021] [ssl:warn] [pid 305] AH01909: localhost:12322:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 11:07:33.692046 2021] [ssl:warn] [pid 379] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 11:07:33.692336 2021] [ssl:warn] [pid 379] AH01909: localhost:12322:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 26 11:07:33.711047 2021] [mpm_prefork:notice] [pid 379] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Mar 26 11:07:33.711073 2021] [core:notice] [pid 379] AH00094: Command line: '/usr/sbin/apache2'