Skip to content

file upload error - netxcloud 21.0.3 #402

@stratege1401

Description

@stratege1401

Hello,

i don't know if you had opportunity to make progress on updating this app.

I did the following test on a debian based server, with php7.4, nextcloud 21.0.3.

files or folder upload end in error.

log:
{"reqId":"V0H975qVpavlVCnZletR","level":3,"time":"2021-08-03T20:40:22+00:00","remoteAddr":"192.168.1.254","user":"rodolphe.cahen@gmail.com","app":"index","method":"POST","url":"/index.php/apps/flowupload/upload","message":{"Exception":"Exception","Message":"Call to a member function file_exists() on null","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/lib/base.php","line":993,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":159,"Previous":{"Exception":"Error","Message":"Call to a member function file_exists() on null","Code":0,"Trace":[{"file":"/var/www/html/apps/flowupload/lib/Controller/UploadController.php","line":84,"function":"file_exists","class":"OC\\Files\\Filesystem","type":"::"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":218,"function":"upload","class":"OCA\\flowupload\\Controller\\UploadController","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":127,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/lib/base.php","line":993,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/lib/private/Files/Filesystem.php","Line":701},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36","version":"21.0.3.1","id":"6109a9c028640"}

So i guess, i will update my server to php8 soon...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions