Thanks for the response.
I followed these instructions: https://pimylifeup.com/raspberry-pi-nextcloud-server/
Server logs when I try to download a folder:
{“reqId”:“QQYg2GXOoXECcMlzAwgJ”,“level”:3,“time”:“August 08, 2021 11:28:26”,“remoteAddr”:“223.177.147.195”,“user”:“sanyog”,“app”:“index”,“method”:“GET”,“url”:"/index.php/apps/files/ajax/download.php?dir=%2F&files=Kashmir&downloadStartSecret=zypj8x830b",“message”:{“Exception”:“TypeError”,“Message”:“Argument 2 passed to OC\Streamer::__construct() must be of the type int, float given, called in /var/www/nextcloud/lib/private/legacy/OC_Files.php on line 164”,“Code”:0,“Trace”:[{“file”:"/var/www/nextcloud/lib/private/legacy/OC_Files.php",“line”:164,“function”:"__construct",“class”:“OC\Streamer”,“type”:"->",“args”:[{“class”:“OC\AppFramework\Http\Request”},18396232783,1108]},{“file”:"/var/www/nextcloud/apps/files/ajax/download.php",“line”:64,“function”:“get”,“class”:“OC_Files”,“type”:"::",“args”:["/",“Kashmir”,{“head”:false}]},{“file”:"/var/www/nextcloud/lib/private/Route/Route.php",“line”:156,“args”:["/var/www/nextcloud/apps/files/ajax/download.php"],“function”:“require_once”},{“function”:“OC\Route\{closure}”,“class”:“OC\Route\Route”,“type”:"->",“args”:["*** sensitive parameters replaced ***"]},{“file”:"/var/www/nextcloud/lib/private/Route/Router.php",“line”:310,“function”:“call_user_func”,“args”:[{“class”:“Closure”},{"_route":“files_ajax_download”}]},{“file”:"/var/www/nextcloud/lib/base.php",“line”:993,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/apps/files/ajax/download.php"]},{“file”:"/var/www/nextcloud/index.php",“line”:37,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:}],“File”:"/var/www/nextcloud/lib/private/Streamer.php",“Line”:56,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36”,“version”:“21.0.3.1”}
Error when I try to download multiple files by selecting:
Server logs when try to download multiple files by selecting:
{“reqId”:“9Ujz2QbVpeALxq2KCu8c”,“level”:3,“time”:“August 08, 2021 11:31:23”,“remoteAddr”:“223.177.147.195”,“user”:“sanyog”,“app”:“index”,“method”:“GET”,“url”:"/index.php/apps/files/ajax/download.php?dir=%2FKashmir&files=Phone&downloadStartSecret=7apmc0x9juk",“message”:{“Exception”:“TypeError”,“Message”:“Argument 2 passed to OC\Streamer::__construct() must be of the type int, float given, called in /var/www/nextcloud/lib/private/legacy/OC_Files.php on line 164”,“Code”:0,“Trace”:[{“file”:"/var/www/nextcloud/lib/private/legacy/OC_Files.php",“line”:164,“function”:"__construct",“class”:“OC\Streamer”,“type”:"->",“args”:[{“class”:“OC\AppFramework\Http\Request”},13759309304,404]},{“file”:"/var/www/nextcloud/apps/files/ajax/download.php",“line”:64,“function”:“get”,“class”:“OC_Files”,“type”:"::",“args”:["/Kashmir",“Phone”,{“head”:false}]},{“file”:"/var/www/nextcloud/lib/private/Route/Route.php",“line”:156,“args”:["/var/www/nextcloud/apps/files/ajax/download.php"],“function”:“require_once”},{“function”:“OC\Route\{closure}”,“class”:“OC\Route\Route”,“type”:"->",“args”:["*** sensitive parameters replaced ***"]},{“file”:"/var/www/nextcloud/lib/private/Route/Router.php",“line”:310,“function”:“call_user_func”,“args”:[{“class”:“Closure”},{"_route":“files_ajax_download”}]},{“file”:"/var/www/nextcloud/lib/base.php",“line”:993,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/apps/files/ajax/download.php"]},{“file”:"/var/www/nextcloud/index.php",“line”:37,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:}],“File”:"/var/www/nextcloud/lib/private/Streamer.php",“Line”:56,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36”,“version”:“21.0.3.1”}
Please help me diagnose this and fix this :’(