Error with WebDAV Access after update

Stefan J 1 year ago updated by Vlad R 1 year ago 3

Hi everyone, 
After the upgrade to the latest filer version I encounter a strange error. 

When I start my WebDAV ToDo App, I get an error message like these:

2021/12/15 11:09:21 [error] 1364#1364: *4697 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught ErrorException: Invalid argument supplied for foreach() in /var/www/html/FileRun/system/classes/vendor/FileRun/WebDAV/Methods/PROPFIND.php:118
Stack trace:
#0 /var/www/html/FileRun/system/classes/vendor/FileRun/WebDAV/Methods/PROPFIND.php(118):FileRun\{closure}()
#1 /var/www/html/FileRun/system/classes/vendor/FileRun/WebDAV/Server.php(99): FileRun\WebDAV\Methods\PROPFIND::run()
#2 /var/www/html/FileRun/system/classes/vendor/FileRun/WebDAV/Server.php(52): FileRun\WebDAV\Server->callMethod()
#3 /var/www/html/FileRun/system/modules/fileman/sections/default/php/webdav.php(5): FileRun\WebDAV\Server->serve()
#4 /var/www/html/FileRun/index.php(181): unknown()
#5 /var/www/html/FileRun/dav.php(7): unknown()
#6 {main}
  thrown in /var/www/html/FileRun/system/classes/vendor/FileRun/WebDAV/Methods/PROPFIND.php on line 118" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: DOMAIN.TLD, request: "PROPFIND /dav.php/@Home/Aufgaben/OpenTodoList/%7B70f640ed-45ff-47a3-a383-182f06c9155b%7D.otl/2021/12/%7Bff35bafd-7d2f-4d15-bb2b-48730cd6cb42%7D.otl HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "DOMAIN.TLD"

Other WebDAV Apps are working fine. Does this error has something to do with the filenames/filepath? (%7B70f640ed-45ff-47a3-a383-182f06c9155b%7D.otl/2021/12/%7B9194be87-804f-4f0e-9dfa-12cf701053d9%7D.otl)

Thanks for the help! FileRun is an awesome software!

Under review

Trying OpenTodoList version 3.38.0, on Android, with our demo, in WebDAV mode (not Nextcloud or ownCloud). Everything works fine so far.

Make sure you have no error when accessing your FileRun account via regular user interface, as judging on that error, it might be a folder access problem (perhaps a file permission issue).

Checking the server's PHP error_log for related entries would be helpful.

Thanks for the feedback. I restored a previous version of my todo-files and now it is working fine.

Keep up this very good work!


This Nextcloud sync problem might be related to this one: https://feedback.filerun.com/en/communities/1/topics/1348-issue-syncing-with-nextcloud-336-client-with-filerun-20211207-server#comment-4875

Updating files via Nextcloud desktop sync would need this patch.