--- Log opened jue feb 24 00:00:35 2022 04:54 < fikabot> 💬 > <@bkil:grin.hu> What is the largest video that was successfully uploaded without an abort? 0.5MB? 7MB? 11MB? 04:54 < fikabot> 💬 04:54 < fikabot> 💬 Bit hard to find video's in all sizes. But ~500KB works. ~6.5MB does not: 500 error. That's even below the default 8MB limit right? Can you specify which logs would be more helpful? 05:17 < fikabot> 💬 My guess would be it is going to be somewhere in the Apache part or with some kind of Friendica settings. I am using Mastodon on the same host and I am able to upload up to the 40MB limit there. Mastodon only uses nginx, not Apache. 05:39 < fikabot> 💬 > <@Mecallie:matrix.org> My guess would be it is going to be somewhere in the Apache part or with some kind of Friendica settings. I am using Mastodon on the same host and I am able to upload up to the 40MB limit there. Mastodon only uses nginx, not Apache. 05:40 < fikabot> 💬 05:40 < fikabot> 💬 Because you use both Apache and nginx, I think you should check in both of their access and error logs. 05:40 < fikabot> 💬 Did you verify in the Friendica admin overview that your last change regarding the PHP configuration was successful? 09:45 < fikabot> 💬 Wait you can upload videos? 09:45 < fikabot> 💬 I was looking under php info, but it's actually in the "overview". Yes: it is changed there: 100, 100 and 256MB. 09:45 < fikabot> 💬 > <@hank:myportal.social> Wait you can upload videos? 09:45 < fikabot> 💬 09:45 < fikabot> 💬 😂 Glad to see I am not the only one that was confused :P 10:02 < fikabot> 💬 > <@hank:myportal.social> Wait you can upload videos? 10:02 < fikabot> 💬 10:03 < fikabot> 💬 Yes, but please don't tell anyone because they will start flooding your instance with useless data 🤫 🙊 https://nerdica.net/display/a85d7459-4662-0bc8-0c98-ebc902447365 10:03 < fikabot> 💬 When was that added? 10:04 < fikabot> 💬 Like since forever? 10:05 < fikabot> 💬 > <@Mecallie:matrix.org> I was looking under php info, but it's actually in the "overview". Yes: it is changed there: 100, 100 and 256MB. 10:05 < fikabot> 💬 10:05 < fikabot> 💬 And what about `max_allowed_packet`? It's also showed there. (By the way, the troubleshooting guide also states `overview`) Are you using the database backend at the moment? Would need to double check whether yunohost adds any database quota, though. 10:06 < fikabot> 💬 max_allowed_packet 16777216 10:06 < fikabot> 💬 And I am not using yunohost but my private vps. 10:07 < fikabot> 💬 And which guide did you follow for your setup? 10:07 < fikabot> 💬 Could you please increase max_allowed_packet as asked in the troubleshooting guide? 10:07 < fikabot> 💬 Pfew, good one. Not sure... 10:07 < fikabot> 💬 I thought that was for DB as a storage backend? 10:08 < fikabot> 💬 What are you using for backend right now? 10:08 < fikabot> 💬 Files 10:09 < fikabot> 💬 Did you enable verbose debug logging on Friendica and check what happens in the Apache, nginx and Friendica access and error logs around the time instance when you do the upload? 10:09 < fikabot> 💬 Sorry, but I'm not a tech support person and I'm starting to get quite annoyed by having to ask everything 4-5 times. Could perhaps somebody take over assisting in this issue? 10:26 < fikabot> 💬 The Friendica logging is flooded with errors caused by PHP8. I do not see any relevant errors in there, but I might miss some because of the volume of logging. 10:26 < fikabot> 💬 This is what I can find in the access logs: 10:26 < fikabot> 💬 ``` 10:26 < fikabot> 💬 Apache access log 10:26 < fikabot> 💬 10:27 < fikabot> 💬 127.0.0.1 - - [24/Feb/2022:13:19:59 +0000] "GET /ServiceWorker.js HTTP/1.0" 404 27050 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0" 10:27 < fikabot> 💬 127.0.0.1 - - [24/Feb/2022:13:20:01 +0000] "POST /zot HTTP/1.0" 500 371 "-" "Mozilla/5.0 (compatible; zot)" 10:27 < fikabot> 💬 127.0.0.1 - - [24/Feb/2022:13:20:03 +0000] "POST /wall_attach/admin?response=json HTTP/1.0" 500 358 "https://domain.name/profile/admin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0" 10:27 < fikabot> 💬 127.0.0.1 - - [24/Feb/2022:13:20:03 +0000] "GET /fbrowser/file?mode=none&theme=frio&_=1645708395295 HTTP/1.0" 200 1313 "https://domain.name/profile/admin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0" 10:27 < fikabot> 💬 127.0.0.1 - - [24/Feb/2022:13:20:04 +0000] "GET /ServiceWorker.js HTTP/1.0" 404 27050 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0" 10:27 < fikabot> 💬 23.95.100.141 - - [24/Feb/2022:13:20:04 +0000] "GET /ftptest.cgi HTTP/1.0" 404 451 "-" "-" 10:27 < fikabot> 💬 10:27 < fikabot> 💬 10:27 < fikabot> 💬 Nginx access log 10:27 < fikabot> 💬 10:28 < fikabot> 💬 2001:1c01:411c:1600:e0d1:4072:de8:ac17 - - [24/Feb/2022:13:23:56 +0000] "GET /ping?format=json&uid=2&_=1645708395306 HTTP/2.0" 200 253 "https://domain.name/profile/admin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0" 10:28 < fikabot> 💬 2001:1c01:411c:1600:e0d1:4072:de8:ac17 - - [24/Feb/2022:13:23:57 +0000] "GET /update_profile/?f=&p=2&force=1&item=0&_=1645708395307 HTTP/2.0" 200 5654 "https://domain.name/profile/admin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0" 10:28 < fikabot> 💬 2001:1c01:411c:1600:e0d1:4072:de8:ac17 - - [24/Feb/2022:13:23:57 +0000] "GET /ServiceWorker.js HTTP/2.0" 404 7009 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0" 10:28 < fikabot> 💬 2001:1c01:411c:1600:e0d1:4072:de8:ac17 - - [24/Feb/2022:13:24:02 +0000] "GET /ServiceWorker.js HTTP/2.0" 404 7009 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0" 10:28 < fikabot> 💬 2001:1c01:411c:1600:e0d1:4072:de8:ac17 - - [24/Feb/2022:13:24:04 +0000] "POST /wall_attach/admin?response=json HTTP/2.0" 500 0 "https://domain.name/profile/admin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0" 10:28 < fikabot> 💬 2001:1c01:411c:1600:e0d1:4072:de8:ac17 - - [24/Feb/2022:13:24:04 +0000] "GET /fbrowser/file?mode=none&theme=frio&_=1645708395308 HTTP/2.0" 200 736 "https://domain.name/profile/admin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0" 10:28 < fikabot> 💬 ``` 10:31 < fikabot> 💬 > <@hank:myportal.social> When was that added? 10:31 < fikabot> 💬 10:31 < fikabot> 💬 It was added in 2011-05-25 https://github.com/friendica/friendica/commit/73b4faca5c7af506558eba6b7317d23551f1aefa#diff-a06a17635e5f61c478e28ef412ff51e66ab865e41d1dc58f0a9b710d32358a81R68 10:31 < fikabot> 💬 I couldn't find it anywhere when I was looking for it a week or so ago 10:33 < fikabot> 💬 Was released in 2.3beta1 2011-08-24 https://github.com/friendica/friendica/releases/tag/2.3beta1 It's another question is that nobody bothered to improve it ever since. 😄 10:33 < fikabot> 💬 Was released in 2.3beta1 2011-08-24 https://github.com/friendica/friendica/releases/tag/2.3beta1 It's another question that nobody bothered to improve it ever since. 😄 10:33 < fikabot> 💬 But where is it in the UI? 10:35 < fikabot> 💬 > <@hank:myportal.social> But where is it in the UI? 10:35 < fikabot> 💬 10:35 < fikabot> 💬 https://github.com/friendica/friendica/issues/9941#issuecomment-1040433166 10:37 < fikabot> 💬 Oh gee how did I miss that? /sarcasm LOL 10:37 < fikabot> 💬 Good to know it is there though 10:42 < fikabot> 💬 > <@Mecallie:matrix.org> The Friendica logging is flooded with errors caused by PHP8. I do not see any relevant errors in there, but I might miss some because of the volume of logging. 10:42 < fikabot> 💬 10:42 < fikabot> 💬 Just grep for `24/Feb/2022:13:20:0` or whatever log format you have there (`2022-02-24T13:20:0` for me) 11:13 < fikabot> 💬 > <@bkil:grin.hu> Just grep for `24/Feb/2022:13:20:0` or whatever log format you have there (`2022-02-24T13:20:0` for me) 11:13 < fikabot> 💬 11:13 < fikabot> 💬 I think this is what you want: 11:13 < fikabot> 💬 ``` 11:13 < fikabot> 💬 [Thu Feb 24 13:20:03.185525 2022] [php:warn] [pid 113516] [client 127.0.0.1:37886] PHP Warning: file_put_contents(/home/friendica/16/2a/index.html): Failed to open stream: Permission denied in /var/www/html/friendica/src/Core/Storage/Type/Filesystem.php on line 100, referer: https://domain.name/profile/admin 11:13 < fikabot> 💬 [Thu Feb 24 13:20:03.185569 2022] [php:warn] [pid 113516] [client 127.0.0.1:37886] PHP Warning: chmod(): Permission denied in /var/www/html/friendica/src/Core/Storage/Type/Filesystem.php on line 102, referer: https://domain.name/profile/admin 11:13 < fikabot> 💬 [Thu Feb 24 13:20:03.185591 2022] [php:warn] [pid 113516] [client 127.0.0.1:37886] PHP Warning: chmod(): Operation not permitted in /var/www/html/friendica/src/Core/Storage/Type/Filesystem.php on line 103, referer: https://domain.name/profile/admin 11:13 < fikabot> 💬 [Thu Feb 24 13:20:03.185639 2022] [php:warn] [pid 113516] [client 127.0.0.1:37886] PHP Warning: file_put_contents(/home/friendica/16/2a/59f3344429ef8ac8d73c9c6d6eb05ce75c5562aa3733a7621e9c7a9963b3): Failed to open stream: Permission denied in /var/www/html/friendica/src/Core/Storage/Type/Filesystem.php on line 147, referer: https://domain.name/profile/admin 11:13 < fikabot> 💬 ``` 11:14 < fikabot> 💬 Note: I did manage to upload the 6.5MB video at some time. No idea why... --- Log closed vie feb 25 00:00:38 2022