Nextcloud version 16.0.3
(Upgraded via WebUI from: https://github.com/danb35/freenas-iocage-nextcloud.git)
Operating system and version FreeNAS-11.2-U5 - 11.2-RELEASE-p11
mholt-caddy-v0.11.5_GH0
PHP version (eg, 7.1): PHP 7.2.19
The issue you are facing:
Issues with previews (or perhaps displaying resized images).
Is this the first time you’ve seen this error? (Y/N): Since install
Steps to replicate it:
- Install nextcloud into FreeNAS jail via git and follow instruction
- View recent activity - shows broken image on recent images logged
- Inspect file path and enter into browser results in displaying only [] w/ no image:
3b. Can craft URL to view/resize image using || https://domain.com/index.php/core/preview?fileId=1492&x=150&y=150&a=true
The output of your Nextcloud log in Admin > Logging:
Used to have entries listed in the log file, but wanted to clear any non-active entries and did so by running echo " " > nextcloud.log and nothing has shown since. Would this break functionality?
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => *****************
'secret' => *****************
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'domain.com',
2 => '192.168.11.203',
),
'datadirectory' => '/mnt/files',
'dbtype' => 'mysql',
'version' => '16.0.3.0',
'overwrite.cli.url' => 'https://domain.com/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:/tmp/mysql.sock',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => ****************
'installed' => true,
'instanceid' => 'octazwo81i4w',
'logtimezone' => 'America/Chicago',
'log_type' => 'file',
'logfile' => '/var/log/nextcloud.log',
'loglevel' => '2',
'logrotate_size' => '104847600',
'memcache.local' => '\\OC\\Memcache\\APCu',
'redis' =>
array (
'host' => '/tmp/redis.sock',
'port' => 0,
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'htaccess.RewriteBase' => '/',
'updater.secret' => ****************
'maintenance' => false,
'theme' => '',
'updater.release.channel' => 'stable',
);
The output of your Apache/nginx/system log in /var/log/____
:
(I periodically get some strange reports for port 80 - sometimes it looks like it’s successful. Sometimes it looks like it’s reporting IP’s upstream you would see in a traceroute)
2019/07/10 07:07:01 [INFO][cache:0xc000114820] Started certificate maintenance routine
Activating privacy features... done.
Serving HTTPS on port 443
https://cloud.dixcartel.com
2019/07/10 07:07:01 [INFO] Serving https://cloud.dixcartel.com
Serving HTTP on port 80
http://domain.com
2019/07/10 07:07:01 [INFO] Serving http://domain.com
2019/07/10 07:10:30 [INFO] WAN_IP - No such site at :80 (Remote: 193.106.29.210, Referer: )
2019/07/10 07:11:00 [INFO] WAN_IP - No such site at :80 (Remote: 186.251.231.249, Referer: )
2019/07/10 07:22:08 [INFO] SIGTERM: Shutting down servers then terminating
2019/07/10 07:22:08 [INFO][cache:0xc000114820] Stopped certificate maintenance routine
Activating privacy features... 2019/07/10 07:22:23 [INFO][cache:0xc00009e960] Started certificate maintenance routine
done.
Serving HTTPS on port 443
https://domain.com
2019/07/10 07:22:23 [INFO] Serving https://domain.com
Serving HTTP on port 80
http://domain.com
2019/07/10 07:22:23 [INFO] Serving http://domain.com
2019/07/10 07:24:35 [INFO] - No such site at :80 (Remote: 77.247.110.219, Referer: )
2019/07/10 07:44:50 http: TLS handshake error from 222.177.14.41:37921: EOF
2019/07/10 07:44:51 [INFO] WAN_IP - No such site at :80 (Remote: 222.177.14.41, Referer: )
2019/07/10 08:22:23 [INFO][cache:0xc00009e960] Scanning for stale OCSP staples
2019/07/10 08:22:23 [INFO][cache:0xc00009e960] Done checking OCSP staples
2019/07/10 09:22:23 [INFO][cache:0xc00009e960] Scanning for stale OCSP staples
2019/07/10 09:22:23 [INFO][cache:0xc00009e960] Done checking OCSP staples
2019/07/10 09:24:34 http: TLS handshake error from 66.240.205.34:50322: tls: first record does not look like a TLS handshake
2019/07/10 09:59:22 [INFO] - No such site at :80 (Remote: 13.56.21.224, Referer: )
2019/07/10 09:59:42 [INFO] 172-10-114-103.lightspeed.stlsmo.sbcglobal.net - No such site at :80 (Remote: 13.56.21.224, Referer: )
2019/07/10 09:59:42 [INFO] - No such site at :80 (Remote: 13.56.21.224, Referer: )
2019/07/10 09:59:47 [INFO] 172-10-114-103.lightspeed.stlsmo.sbcglobal.net - No such site at :80 (Remote: 13.56.21.224, Referer: )
2019/07/10 10:00:21 [INFO] WAN_IP - No such site at :80 (Remote: 184.70.146.210, Referer: )
2019/07/10 10:22:23 [INFO][cache:0xc00009e960] Scanning for stale OCSP staples
2019/07/10 10:22:23 [INFO][cache:0xc00009e960] Done checking OCSP staples
2019/07/10 11:22:23 [INFO][cache:0xc00009e960] Scanning for stale OCSP staples
2019/07/10 11:22:23 [INFO][cache:0xc00009e960] Done checking OCSP staples
2019/07/10 11:27:12 [Error] failed to write body: http2: stream closed
2019/07/10 11:27:13 [Error] failed to write body: http2: stream closed
2019/07/10 11:27:38 [INFO] WAN_IP - No such site at :80 (Remote: 179.106.101.72, Referer: )
2019/07/10 12:14:57 http: TLS handshake error from 107.77.206.72:27005: EOF
2019/07/10 12:15:01 [Error] failed to write body: http2: stream closed
2019/07/10 12:15:02 [Error] failed to write body: http2: stream closed
2019/07/10 12:15:12 [Error] failed to write body: http2: stream closed
2019/07/10 12:22:23 [INFO][cache:0xc00009e960] Scanning for stale OCSP staples
2019/07/10 12:22:23 [INFO][cache:0xc00009e960] Done checking OCSP staples
2019/07/10 13:14:04 [INFO] 127.0.0.1 - No such site at :80 (Remote: 130.15.3.80, Referer: )
2019/07/10 13:22:23 [INFO][cache:0xc00009e960] Scanning for stale OCSP staples
2019/07/10 13:22:23 [INFO][cache:0xc00009e960] Done checking OCSP staples
2019/07/10 13:23:06 [INFO] - No such site at :80 (Remote: 77.247.110.219, Referer: )
2019/07/10 14:22:23 [INFO][cache:0xc00009e960] Scanning for stale OCSP staples
2019/07/10 14:22:23 [INFO][cache:0xc00009e960] Done checking OCSP staples
2019/07/10 14:46:25 [INFO] - No such site at :80 (Remote: 37.106.149.39, Referer: )
2019/07/10 14:49:39 [INFO] WAN_IP - No such site at :80 (Remote: 191.254.239.102, Referer: )
2019/07/10 14:49:39 [INFO] WAN_IP - No such site at :80 (Remote: 191.254.239.102, Referer: )
2019/07/10 14:55:39 [INFO] SIGTERM: Shutting down servers then terminating
2019/07/10 14:55:39 [INFO][cache:0xc00009e960] Stopped certificate maintenance routine
Activating privacy features... 2019/07/10 14:55:55 [INFO][cache:0xc0001bc3c0] Started certificate maintenance routine
done.
Serving HTTPS on port 443
https://domain.com
2019/07/10 14:55:55 [INFO] Serving https://domain.com
Serving HTTP on port 80
http://domain.com
2019/07/10 14:55:55 [INFO] Serving http://domain.com
2019/07/10 15:00:56 [Error] failed to write body: http2: stream closed
2019/07/10 15:01:27 [Error] failed to write body: http2: stream closed
2019/07/10 15:01:28 [Error] failed to write body: http2: stream closed
2019/07/10 15:11:13 [INFO] SIGTERM: Shutting down servers then terminating
2019/07/10 15:11:13 [INFO][cache:0xc0001bc3c0] Stopped certificate maintenance routine
Activating privacy features... 2019/07/10 15:11:28 [INFO][cache:0xc0001c03c0] Started certificate maintenance routine
done.
Serving HTTPS on port 443
https://domain.com
2019/07/10 15:11:28 [INFO] Serving https://domain.com
Serving HTTP on port 80
http://domain.com
2019/07/10 15:11:28 [INFO] Serving http://domain.com
2019/07/10 15:19:12 [INFO] SIGTERM: Shutting down servers then terminating
2019/07/10 15:19:12 [INFO][cache:0xc0001c03c0] Stopped certificate maintenance routine
Activating privacy features... 2019/07/10 15:19:17 [INFO][cache:0xc00009e960] Started certificate maintenance routine
done.
Serving HTTP on port 80
http://domain.com
2019/07/10 15:19:17 [INFO] Serving http://domain.com
Serving HTTPS on port 443
https://domain.com
2019/07/10 15:19:17 [INFO] Serving https://domain.com
2019/07/10 15:28:28 [INFO] SIGTERM: Shutting down servers then terminating
2019/07/10 15:28:28 [INFO][cache:0xc00009e960] Stopped certificate maintenance routine
Activating privacy features... 2019/07/10 15:28:34 [INFO][cache:0xc0001bc3c0] Started certificate maintenance routine
done.
Serving HTTPS on port 443
https://domain.com
2019/07/10 15:28:34 [INFO] Serving https://domain.com
Serving HTTP on port 80
http://domain.com
2019/07/10 15:28:34 [INFO] Serving http://domain.com
2019/07/10 15:53:34 [INFO][cache:0xc0001c83c0] Started certificate maintenance routine
Activating privacy features... done.
Serving HTTP on port 80
http://domain.com
2019/07/10 15:53:34 [INFO] Serving http://domain.com
Serving HTTPS on port 443
https://domain.com
2019/07/10 15:53:34 [INFO] Serving https://domain.com
2019/07/10 16:03:42 [INFO] WAN_IP - No such site at :80 (Remote: 189.69.152.135, Referer: )
2019/07/10 16:20:21 [INFO] SIGTERM: Shutting down servers then terminating
2019/07/10 16:20:21 [INFO][cache:0xc0001c83c0] Stopped certificate maintenance routine
Activating privacy features... 2019/07/10 16:20:36 [INFO][cache:0xc00009e960] Started certificate maintenance routine
done.
Serving HTTPS on port 443
https://domain.com
2019/07/10 16:20:36 [INFO] Serving https://domain.com
Serving HTTP on port 80
http://domain.com
2019/07/10 16:20:36 [INFO] Serving http://domain.com
2019/07/10 17:05:09 [INFO] SIGTERM: Shutting down servers then terminating
2019/07/10 17:05:09 [INFO][cache:0xc00009e960] Stopped certificate maintenance routine
Activating privacy features... 2019/07/10 17:05:24 [INFO][cache:0xc00009e960] Started certificate maintenance routine
done.
Serving HTTPS on port 443
https://domain.com
2019/07/10 17:05:24 [INFO] Serving https://domain.com
Serving HTTP on port 80
http://domain.com
2019/07/10 17:05:24 [INFO] Serving http://domain.com
2019/07/10 17:17:39 http: TLS handshake error from 185.137.233.222:60000: tls: first record does not look like a TLS handshake
2019/07/10 17:37:24 [INFO] WAN_IP - No such site at :80 (Remote: 188.163.219.227, Referer: )
2019/07/10 17:38:42 [INFO] WAN_IP - No such site at :80 (Remote: 212.51.159.51, Referer: )
2019/07/10 17:42:42 [INFO] WAN_IP - No such site at :80 (Remote: 187.1.36.6, Referer: )
2019/07/10 17:44:57 [INFO][cache:0xc0001ce3c0] Started certificate maintenance routine
Activating privacy features... done.
Serving HTTP on port 80
http://domain.com
2019/07/10 17:44:57 [INFO] Serving http://domain.com
Serving HTTPS on port 443
https://domain.com
2019/07/10 17:44:57 [INFO] Serving https://domain.com
2019/07/10 18:09:22 [INFO] WAN_IP - No such site at :80 (Remote: 179.96.182.33, Referer: )
2019/07/10 18:15:15 [INFO] WAN_IP - No such site at :80 (Remote: 80.24.191.81, Referer: )
2019/07/10 18:35:38 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48732: write: connection reset by peer
2019/07/10 18:35:38 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48734: write: broken pipe
2019/07/10 18:35:39 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48736: write: broken pipe
2019/07/10 18:35:39 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48738: write: broken pipe
2019/07/10 18:35:40 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48740: write: broken pipe
2019/07/10 18:35:40 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48742: write: broken pipe
2019/07/10 18:35:40 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48744: write: broken pipe
2019/07/10 18:35:41 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48746: write: broken pipe
2019/07/10 18:35:41 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48748: write: broken pipe
2019/07/10 18:35:42 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48750: write: broken pipe
2019/07/10 18:35:42 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48752: write: broken pipe
2019/07/10 18:35:42 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48754: write: broken pipe
2019/07/10 18:35:43 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48756: write: broken pipe
2019/07/10 18:35:44 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48760: write: broken pipe
2019/07/10 18:35:45 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48762: write: broken pipe
2019/07/10 18:35:45 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48764: write: broken pipe
2019/07/10 18:35:45 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48766: write: broken pipe
2019/07/10 18:35:46 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48768: write: broken pipe
2019/07/10 18:35:46 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48770: write: broken pipe
2019/07/10 18:35:46 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48772: write: broken pipe
2019/07/10 18:42:39 [Error] failed to write body: write tcp 192.168.11.203:443->192.168.11.20:48774: write: broken pipe
2019/07/10 18:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/10 18:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/10 18:46:10 [INFO] WAN_IP - No such site at :80 (Remote: 149.248.58.55, Referer: )
2019/07/10 19:06:50 [INFO] WAN_IP - No such site at :80 (Remote: 103.82.188.179, Referer: )
2019/07/10 19:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/10 19:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/10 20:01:24 [INFO] WAN_IP - No such site at :80 (Remote: 103.78.14.10, Referer: )
2019/07/10 20:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/10 20:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/10 21:36:28 [INFO] WAN_IP - No such site at :80 (Remote: 186.211.3.36, Referer: )
2019/07/10 21:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/10 21:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/10 22:41:12 [INFO] WAN_IP - No such site at :80 (Remote: 109.160.111.113, Referer: )
2019/07/10 22:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/10 22:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/10 23:26:13 http: TLS handshake error from 184.105.139.70:27642: no certificate available for ''
2019/07/10 23:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/10 23:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/10 23:54:10 [INFO] WAN_IP - No such site at :80 (Remote: 219.155.124.168, Referer: )
2019/07/11 00:34:13 http: TLS handshake error from 198.108.66.80:41982: no certificate available for ''
2019/07/11 00:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/11 00:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/11 01:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/11 01:44:57 [INFO] Advancing OCSP staple for [domain.com] from 2019-07-14 18:00:00 +0000 UTC to 2019-07-17 18:00:00 +0000 UTC
2019/07/11 01:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/11 02:17:40 [INFO] WAN_IP - No such site at :80 (Remote: 61.219.126.133, Referer: )
2019/07/11 02:31:10 [INFO] - No such site at :80 (Remote: 2.27.53.90, Referer: )
2019/07/11 02:34:29 [INFO] WAN_IP - No such site at :80 (Remote: 61.219.126.133, Referer: )
2019/07/11 02:44:11 [INFO] maewin.dixcartel.com - No such site at :80 (Remote: 178.33.52.5, Referer: )
2019/07/11 02:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/11 02:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/11 02:49:55 [INFO] WAN_IP - No such site at :80 (Remote: 103.69.111.118, Referer: )
2019/07/11 03:18:41 http: TLS handshake error from 198.108.66.224:27638: no certificate available for ''
2019/07/11 03:24:18 [INFO] WAN_IP - No such site at :80 (Remote: 86.57.49.169, Referer: )
2019/07/11 03:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/11 03:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/11 03:53:50 http: TLS handshake error from 80.82.77.33:51612: no certificate available for ''
2019/07/11 04:16:54 [INFO] WAN_IP - No such site at :80 (Remote: 95.8.207.148, Referer: )
2019/07/11 04:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/11 04:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/11 05:14:15 http: TLS handshake error from 61.219.11.153:62291: tls: first record does not look like a TLS handshake
2019/07/11 05:26:29 [INFO] WAN_IP - No such site at :80 (Remote: 159.146.84.141, Referer: )
2019/07/11 05:44:57 [INFO][cache:0xc0001ce3c0] Scanning for expiring certificates
2019/07/11 05:44:57 [INFO][cache:0xc0001ce3c0] Done scanning certificates
2019/07/11 05:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/11 05:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/11 05:50:13 [INFO] WAN_IP - No such site at :80 (Remote: 62.69.252.121, Referer: )
2019/07/11 06:44:57 [INFO][cache:0xc0001ce3c0] Scanning for stale OCSP staples
2019/07/11 06:44:57 [INFO][cache:0xc0001ce3c0] Done checking OCSP staples
2019/07/11 07:19:26 [INFO] SIGTERM: Shutting down servers then terminating
2019/07/11 07:19:26 [INFO][cache:0xc0001ce3c0] Stopped certificate maintenance routine
Activating privacy features... 2019/07/11 07:19:26 [INFO][cache:0xc00009a960] Started certificate maintenance routine
done.
Serving HTTPS on port 443
https://domain.com
2019/07/11 07:19:26 [INFO] Serving https://domain.com
Serving HTTP on port 80
http://domain.com
2019/07/11 07:19:26 [INFO] Serving http://domain.com
2019/07/11 07:25:27 [INFO] SIGTERM: Shutting down servers then terminating
2019/07/11 07:25:27 [INFO][cache:0xc00009a960] Stopped certificate maintenance routine
2019/07/11 07:25:27 [INFO][cache:0xc0001be3c0] Started certificate maintenance routine
Activating privacy features... done.
2019/07/11 07:25:27 [WARNING] TLS disabled for http://domain.com
Serving HTTP on port 80
http://domain.com
2019/07/11 07:25:27 [INFO] Serving http://domain.com
Serving HTTPS on port 443
https://domain.com
https://domain.com
2019/07/11 07:25:27 [INFO] Serving https://domain.com
2019/07/11 07:25:27 [INFO] Serving https://domain.com
2019/07/11 07:28:49 [INFO][cache:0xc0001de3c0] Started certificate maintenance routine
Activating privacy features... done.
2019/07/11 07:28:49 [WARNING] TLS disabled for http://domain.com
Serving HTTPS on port 443
https://domain.com
https://domain.com
2019/07/11 07:28:49 [INFO] Serving https://domain.com
2019/07/11 07:28:49 [INFO] Serving https://domain.com
Serving HTTP on port 80
http://domain.com
2019/07/11 07:28:49 [INFO] Serving http://domain.com
2019/07/11 08:11:10 [INFO] SIGTERM: Shutting down servers then terminating
2019/07/11 08:11:10 [INFO][cache:0xc0001de3c0] Stopped certificate maintenance routine
I’m using this as a solution for family to upload photos/videos and back them up on my NAS - Also so family can all view / share various files taken from mobile devices etc. It’s also nice to use it as a share so images and videos aren’t compressed and lose quality when sharing among one another. Most of the users aren’t real tech savvy - so getting this to work as best and user friendly as possible is beneficial.
This is my first forum post in regards to Unix/NAS/Nextcloud etc etc. I’m fairly new to all of this so ready your RTM’s and what not ;p I just hope my template loadout and post location is at least correct/useful! I fear this could likely be linked to existing issues - however through my research I couldn’t find anything too terribly relevant but then again when it comes to isolating the issue and which layer it exists at… being a server/file hosting n00b it’s difficult to tell what functions rely on what, etc.
Thanks again for your time and consideration and I’ll be happy to provide / reprovide any requested information.
EDIT: Also finding sharing .mp4 videos do not seem to be transcoding properly and showing a black screen though plays the audio. I imagine this is likely codec/a different issue from the above I’m trying to address - but wanted to mention it just in case it is linked.
I don’t get preview/thumbnails from movie files - but through research it sounds like nothing could be done about that in Nextcloud current iteration if I am not mistaken.