Closed rspierenburg closed 5 years ago
Go to forum please, this is not for support. in config.php for tempdirectory and logfile change USBdrive into myCloudDrive
Thank you for the information, I apologize for not posting in the forums. However, I still believe this IS an issue. Shouldn't NextcloudPI update the "tempdirectory" to match the ncdata location automatically?
I'm having an issue with NextcloudPi and retrieving the app store. I have NextcloudPI running on an Odroid HC-1 with a second USB harddrive for Backups attached. I ran NCP-Report (see below) and from what I can gather it is trying to access /media/USBdrive/tmp which it says it can't. Well thats because /media/USBdrive is my backup drive and /media/USBdrive1 is my ncdata drive. I have /media/myCloudDrive/ncdata set in the WebUI which is a symbolic link to USBdrive1.
See report:
NextCloudPi diagnostics
``` NextCloudPi version v1.16.6 NextCloudPi image NextCloudPi_08-02-19 distribution Debian Buster with Armbian Linux \l automount yes USB devices sda sdb datadir /media/myCloudDrive/ncdata data in SD no data filesystem btrfs data disk usage 371G/3.7T rootfs usage 3.8G/7.2G swapfile /var/swap dbdir /var/lib/mysql Nextcloud check ok Nextcloud version 16.0.4.1 HTTPD service up PHP service up MariaDB service up Redis service up Postfix service up internet check ok port check 80 open port check 443 open IP ***REMOVED SENSITIVE VALUE*** gateway ***REMOVED SENSITIVE VALUE*** interface enx001e0630ca1a certificates ***REMOVED SENSITIVE VALUE*** NAT loopback no uptime 12min ```Nextcloud configuration
``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": { "0": "localhost", "11": "45.2.197.30", "1": "192.168.1.9", "5": "nextcloudpi.local", "7": "nextcloudpi", "8": "nextcloudpi.lan", "20": "spierenburg.ca", "21": "www.spierenburg.ca", "22": "192.168.1.9", "4": "www.spierenburg.ca" }, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "16.0.4.1", "overwrite.cli.url": "https:\/\/www.spierenburg.ca\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "timeout": 0, "password": "***REMOVED SENSITIVE VALUE***" }, "tempdirectory": "\/media\/USBdrive\/ncdata\/tmp", "mail_smtpmode": "sendmail", "mail_smtpauthtype": "LOGIN", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "preview_max_x": "2048", "preview_max_y": "2048", "jpeg_quality": "60", "overwriteprotocol": "https", "maintenance": false, "logfile": "\/media\/USBdrive\/ncdata\/nextcloud.log", "theme": "", "loglevel": 2 } } ```HTTPd logs
``` [Sun Sep 15 00:00:06.893025 2019] [mpm_event:notice] [pid 1402:tid 3069730224] AH00493: SIGUSR1 received. Doing graceful restart [Sun Sep 15 00:00:06.933524 2019] [ssl:warn] [pid 1402:tid 3069730224] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Sun Sep 15 00:00:06.934532 2019] [mpm_event:notice] [pid 1402:tid 3069730224] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1c configured -- resuming normal operations [Sun Sep 15 00:00:06.934555 2019] [core:notice] [pid 1402:tid 3069730224] AH00094: Command line: '/usr/sbin/apache2' [Mon Sep 16 00:00:05.020637 2019] [mpm_event:notice] [pid 1402:tid 3069730224] AH00493: SIGUSR1 received. Doing graceful restart [Mon Sep 16 00:00:05.049149 2019] [ssl:warn] [pid 1402:tid 3069730224] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Mon Sep 16 00:00:05.050150 2019] [mpm_event:notice] [pid 1402:tid 3069730224] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1c configured -- resuming normal operations [Mon Sep 16 00:00:05.050172 2019] [core:notice] [pid 1402:tid 3069730224] AH00094: Command line: '/usr/sbin/apache2' [Mon Sep 16 06:44:09.695696 2019] [authz_host:error] [pid 9415:tid 2575283232] [client 122.228.19.80:33441] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Mon Sep 16 06:44:09.695766 2019] [authz_core:error] [pid 9415:tid 2575283232] [client 122.228.19.80:33441] AH01630: client denied by server configuration: /var/www/ncp-web/ [Mon Sep 16 12:40:58.133380 2019] [mpm_event:notice] [pid 1402:tid 3069730224] AH00491: caught SIGTERM, shutting down [Mon Sep 16 12:42:04.257239 2019] [ssl:warn] [pid 1054:tid 3069967792] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Mon Sep 16 12:42:04.320169 2019] [ssl:warn] [pid 1520:tid 3069967792] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Mon Sep 16 12:42:04.326498 2019] [mpm_event:notice] [pid 1520:tid 3069967792] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1c configured -- resuming normal operations [Mon Sep 16 12:42:04.326598 2019] [core:notice] [pid 1520:tid 3069967792] AH00094: Command line: '/usr/sbin/apache2' [Mon Sep 16 13:31:34.294707 2019] [mpm_event:notice] [pid 1520:tid 3069967792] AH00491: caught SIGTERM, shutting down [Mon Sep 16 13:32:40.345782 2019] [ssl:warn] [pid 1049:tid 3069517232] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Mon Sep 16 13:32:40.406376 2019] [ssl:warn] [pid 1384:tid 3069517232] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Mon Sep 16 13:32:40.413021 2019] [mpm_event:notice] [pid 1384:tid 3069517232] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1c configured -- resuming normal operations [Mon Sep 16 13:32:40.413147 2019] [core:notice] [pid 1384:tid 3069517232] AH00094: Command line: '/usr/sbin/apache2' ```Database logs
``` 2019-09-16 13:32:58 0 [Note] InnoDB: Uses event mutexes 2019-09-16 13:32:58 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2019-09-16 13:32:58 0 [Note] InnoDB: Number of pools: 1 2019-09-16 13:32:58 0 [Note] InnoDB: Using generic crc32 instructions 2019-09-16 13:32:58 0 [Note] InnoDB: Initializing buffer pool, total size = 896M, instances = 1, chunk size = 128M 2019-09-16 13:32:59 0 [Note] InnoDB: Completed initialization of buffer pool 2019-09-16 13:32:59 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2019-09-16 13:32:59 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2019-09-16 13:32:59 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2019-09-16 13:32:59 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2019-09-16 13:32:59 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2019-09-16 13:32:59 0 [Note] InnoDB: 10.3.17 started; log sequence number 571693238; transaction id 772494 2019-09-16 13:32:59 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2019-09-16 13:32:59 0 [Note] Plugin 'FEEDBACK' is disabled. 2019-09-16 13:32:59 0 [Note] Server socket created on IP: '127.0.0.1'. 2019-09-16 13:33:00 0 [Note] Reading of all Master_info entries succeeded 2019-09-16 13:33:00 0 [Note] Added new Master_info '' to hash table 2019-09-16 13:33:00 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.3.17-MariaDB-0+deb10u1' socket: '/run/mysqld/mysqld.sock' port: 3306 Debian 10 2019-09-16 13:33:03 0 [Note] InnoDB: Buffer pool(s) load completed at 190916 13:33:03 ```Nextcloud logs
``` {"reqId":"XX@RgFi8RXahnsT2sQePQQAAAAI","level":2,"time":"2019-09-16T13:43:28+00:00","remoteAddr":"192.168.1.1","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/dav\/files\/robert\/Music","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"16.0.4.1"} {"reqId":"XX@RgFi8RXahnsT2sQePQQAAAAI","level":2,"time":"2019-09-16T13:43:28+00:00","remoteAddr":"192.168.1.1","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/dav\/files\/robert\/Music","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"16.0.4.1"} {"reqId":"XX@RgFi8RXahnsT2sQePQQAAAAI","level":2,"time":"2019-09-16T13:43:28+00:00","remoteAddr":"192.168.1.1","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/dav\/files\/robert\/Music","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"16.0.4.1"} {"reqId":"XX@RnaZHJuLzMBR7@0uJ1gAAAEs","level":2,"time":"2019-09-16T13:43:57+00:00","remoteAddr":"192.168.1.1","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/dav\/files\/robert\/Music","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"16.0.4.1"} {"reqId":"XX@RnaZHJuLzMBR7@0uJ1gAAAEs","level":2,"time":"2019-09-16T13:43:57+00:00","remoteAddr":"192.168.1.1","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/dav\/files\/robert\/Music","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"16.0.4.1"} {"reqId":"XX@RnaZHJuLzMBR7@0uJ1gAAAEs","level":2,"time":"2019-09-16T13:43:57+00:00","remoteAddr":"192.168.1.1","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/dav\/files\/robert\/Music","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"16.0.4.1"} {"reqId":"XX@Ru6ZHJuLzMBR7@0uJ1wAAAE0","level":2,"time":"2019-09-16T13:44:28+00:00","remoteAddr":"192.168.1.1","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/dav\/files\/robert\/Music","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"16.0.4.1"} {"reqId":"XX@Ru6ZHJuLzMBR7@0uJ1wAAAE0","level":2,"time":"2019-09-16T13:44:28+00:00","remoteAddr":"192.168.1.1","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/dav\/files\/robert\/Music","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"16.0.4.1"} {"reqId":"XX@Ru6ZHJuLzMBR7@0uJ1wAAAE0","level":2,"time":"2019-09-16T13:44:28+00:00","remoteAddr":"192.168.1.1","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/dav\/files\/robert\/Music","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"16.0.4.1"} {"reqId":"ABblfpS9TVtf42Davr2w","level":2,"time":"2019-09-16T13:44:54+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"--","version":"16.0.4.1"} {"reqId":"XX@R2KZHJuLzMBR7@0uJ2AAAAFA","level":2,"time":"2019-09-16T13:44:56+00:00","remoteAddr":"142.177.220.201","user":"--","app":"no app in context","method":"GET","url":"\/index.php\/204","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Jakarta Commons-HttpClient\/3.1","version":"16.0.4.1"} {"reqId":"XX@R2KZHJuLzMBR7@0uJ2AAAAFA","level":2,"time":"2019-09-16T13:44:56+00:00","remoteAddr":"142.177.220.201","user":"--","app":"no app in context","method":"GET","url":"\/index.php\/204","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Jakarta Commons-HttpClient\/3.1","version":"16.0.4.1"} {"reqId":"XX@R2KZHJuLzMBR7@0uJ2AAAAFA","level":2,"time":"2019-09-16T13:44:56+00:00","remoteAddr":"142.177.220.201","user":"--","app":"no app in context","method":"GET","url":"\/index.php\/204","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Jakarta Commons-HttpClient\/3.1","version":"16.0.4.1"} {"reqId":"XX@R2Fi8RXahnsT2sQePQgAAAAQ","level":2,"time":"2019-09-16T13:44:56+00:00","remoteAddr":"142.177.220.201","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Android) Nextcloud-android\/3.8.0","version":"16.0.4.1"} {"reqId":"XX@R2Fi8RXahnsT2sQePQgAAAAQ","level":2,"time":"2019-09-16T13:44:56+00:00","remoteAddr":"142.177.220.201","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Android) Nextcloud-android\/3.8.0","version":"16.0.4.1"} {"reqId":"XX@R2Fi8RXahnsT2sQePQgAAAAQ","level":2,"time":"2019-09-16T13:44:56+00:00","remoteAddr":"142.177.220.201","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Android) Nextcloud-android\/3.8.0","version":"16.0.4.1"} {"reqId":"SxBcPW0UrClZbN45uZIZ","level":2,"time":"2019-09-16T13:44:58+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"--","version":"16.0.4.1"} {"reqId":"XX@R2qZHJuLzMBR7@0uJ2QAAAFM","level":2,"time":"2019-09-16T13:44:58+00:00","remoteAddr":"192.168.1.1","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/dav\/files\/robert\/Music","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"16.0.4.1"} {"reqId":"XX@R2qZHJuLzMBR7@0uJ2QAAAFM","level":2,"time":"2019-09-16T13:44:58+00:00","remoteAddr":"192.168.1.1","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/dav\/files\/robert\/Music","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"16.0.4.1"} {"reqId":"XX@R2qZHJuLzMBR7@0uJ2QAAAFM","level":2,"time":"2019-09-16T13:44:58+00:00","remoteAddr":"192.168.1.1","user":"robert","app":"no app in context","method":"PROPFIND","url":"\/remote.php\/dav\/files\/robert\/Music","message":"Temporary directory \/media\/USBdrive\/ncdata\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"16.0.4.1"} ```