-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug report #3
Comments
Hello again @StefanoOcchetti! We'll have a look at your issue today. In the meatime, maybe you can confirm that you have set the correct permissions (Web server can write) on the folder that the FileBrowser will be using to upload the files. Many thanks for reporting this, and we'll get back to you shortly, once we will have successfully reproduced your issue. Cheers! |
Hi! I accessed the running container using "docker exec -it /bin/bash" and manually set chmod 777 to:
but the problem still occurs. Here's a ls -la of the filebrowser directory:
|
OK. Many thanks! We'll have a look at this issue very shortly. Our initial evaluation leads us to believe that the issue is related to the fact of running the latest version of the FileBrowser on PHP 8.1. But, this being said, we will continue investigating this issue over the next week or so. If it is related to PHP 8.1, this issue will be resolved with the upcoming major release (issue #1). Cheers! P.S. We will update the documentation (issue #2) as soon as this issue is done being evaluated, because we don't want to multiply the number of releases only for the docs. We'll keep you posted, and thanks again! |
yeah, I was able to run it on php 7.x. I have my dockerfile in a gist here if you want it |
@halomademeapc thank you very much! |
Hello @halomademeapc and @StefanoOcchetti ! Yes, the underlying FlySystem version 1 has issues with PHP 8. The next step is to upgrade to FlySystem 2.4.5. We'll start thinking about v3 in about six months from now. Many thanks! Andrew |
Hello!
I'm almost sure that the permissions are ok. In any case, I tried to create a new file and the operation succeeded.
Thanks!
Best regards,
***@***.***
Stefano Occhetti
Senior Software Engineer
ORS<http://www.ors.it/> s.r.l.
Office: +39 0173 620211
Email: ***@***.******@***.***> |
www.ors.ai<http://www.ors.ai/>
From: Andrew Caya ***@***.***>
Sent: 24 May 2022 17:00
To: linuxforphp/filebrowser ***@***.***>
Cc: Stefano Occhetti ***@***.***>; Mention ***@***.***>
Subject: Re: [linuxforphp/filebrowser] Bug report (Issue #3)
Hello again @StefanoOcchetti<https://github.com/StefanoOcchetti>!
We'll have a look at your issue today. In the meatime, maybe you can confirm that you have set the correct permissions (Web server can write) on the folder that the FileBrowser will be using to upload the files.
Many thanks for reporting this, and we'll get back to you shortly once we successfully reproduce your issue.
Cheers!
—
Reply to this email directly, view it on GitHub<#3 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOJDJSPZ5I3PTN4KW64HDZLVLTVFLANCNFSM5WUZLOCQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
…________________________________
This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. They are confidential and may be subject to legal privilege. If you are not the intended recipient you should not peruse, disseminate, or distribute this message. If you have received this message in error please notify the sender immediately, destroy any copies taken and delete the original from your system. Computer viruses can be transmitted by email. Recipients should check this message for the presence of viruses. ORS srl and members of the ORS Group accept no liability for damage caused by any viruses transmitted by this email. This message represents the opinion of the sender and not necessarily the opinion of the company. Privacy policy<https://ors.ai/index.php/privacy-policy/>.
|
Fixed with e00c12f (Release-8.1.0). FileBrowser now works with PHP 8.0-8.2 out of the box. Thanks for reporting this, @StefanoOcchetti! |
Describe the bug
Unable to upload any file
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Selected file should be uploaded.
Screenshots
See above.
Logs
excerpted from container's file
/private/logs/app.log
:[2022-05-23 06:56:10] default.ALERT: Fatal Error (E_ERROR): Uncaught Error: Call to a member function isValid() on array in /var/www/filebrowser/backend/Controllers/UploadController.php:71 Stack trace: #0 [internal function]: Filebrowser\Controllers\UploadController->upload() #1 /var/www/filebrowser/vendor/php-di/invoker/src/Invoker.php(82): call_user_func_array() #2 /var/www/filebrowser/vendor/php-di/php-di/src/Container.php(276): Invoker\Invoker->call() #3 /var/www/filebrowser/backend/Services/Router/Router.php(81): DI\Container->call() #4 /var/www/filebrowser/backend/App.php(34): Filebrowser\Services\Router\Router->init() #5 /var/www/filebrowser/dist/index.php(95): Filebrowser\App->__construct() #6 {main} thrown {"code":1,"message":"Uncaught Error: Call to a member function isValid() on array in /var/www/filebrowser/backend/Controllers/UploadController.php:71\nStack trace:\n#0 [internal function]: Filebrowser\Controllers\UploadController->upload()\n#1 /var/www/filebrowser/vendor/php-di/invoker/src/Invoker.php(82): call_user_func_array()\n#2 /var/www/filebrowser/vendor/php-di/php-di/src/Container.php(276): Invoker\Invoker->call()\n#3 /var/www/filebrowser/backend/Services/Router/Router.php(81): DI\Container->call()\n#4 /var/www/filebrowser/backend/App.php(34): Filebrowser\Services\Router\Router->init()\n#5 /var/www/filebrowser/dist/index.php(95): Filebrowser\App->__construct()\n#6 {main}\n thrown","file":"/var/www/filebrowser/backend/Controllers/UploadController.php","line":71,"trace":null} []
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: