linuxforphp / filebrowser Goto Github PK
View Code? Open in Web Editor NEWFileBrowser is a free, open-source, self-hosted web application for managing files and folders.
License: Other
FileBrowser is a free, open-source, self-hosted web application for managing files and folders.
License: Other
How would I go about configuring the s3client to handle backblaze b2?
Describe the bug
A wrong documentation is provided in:
/docs/installation.rst
In section Install on fresh Ubuntu 18.04 or Debian 10.3, the download address specified in the wget command is incorrect.
wget https://filebrowser.linuxforphp.com/files/filebrowser_latest.zip
unzip filebrowser_latest.zip && rm filebrowser_latest.zip
The domain seems to be .net (instead of .com) and no _latest file is available.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
wget should correctly find the resource specified
Environment (please complete the following information):
Additional context
I solved the problem by manually changing the resource address and name, pointing to rev 8.0.2 explicitly.
wget https://filebrowser.linuxforphp.net/files/filebrowser-8.0.2.zip
unzip filebrowser-8.0.2.zip && rm filebrowser-8.0.2.zip
Though, no address seems to be available for a generic "latest" version package.
Hello,
thank you for developing such a needed tool, I am sure it will help a lot of people.
I was trying to setup filebrowsr, did exactly what was mentioned in the instructions. When start apache , and type the URL of the server, I get a blank page. I am running Rocky linux 8 with apache .
Is there any specific instructions setting up apache , except the DocumentRoot ? All I did - changed the DocumentRoot to /var/www/html/filebrowser/dist
Here is what my changes are in /etc/httpd/conf.d/ssl.conf file:
DocumentRoot "/var/www/html/filebrowser/dist"
ServerName 10.240.59.66:443
I am pretty sure I am doing something wrong here, not sure what though.
thanks.
Describe the bug
When a file is chosen to be uploaded system trows the following exception and the file fails to upload:
PHP Fatal error: 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 in /var/www/filebrowser/backend/Controllers/UploadController.php on line 71, referer: http://192.168.0.110/
It would appear in the upload function that $filename is extracted from $request->input but that is not used later on to identify the file name used to build $file. In playing with the system it appears that a forward slash is pre-pended on the file name and when isValid is called on that value,
Screen displays the filename with a pre-pended forwad slash as in "/1920x1080p24_Contrast_Main-1024x576.png" above a red bar.
isValid() fails with a file does not exist error, but I can't be sure about this. Too long since I've been playing with PHP.
Environment (please complete the following information):
Additional context
Hello,
I have been using filebrowser without trouble for a few weeks now, and everything works great, but I don't know where/how to find the logins logs.
Are they disabled by default ? Since there is no login event yet, I wanted to read the logs so that if someone connects I can execute custom commands.
How should I proceed ?
Just found this project, looks really interesting! (Currently we're stuck with elFinder
)
Are you planning on upgrading to Flysystem v3 in the near future?
Hey there, I have been using the file browser cloud successfully for the last 3 months on my Raspberry Pi. Now my SD Card is out of space. So, I plugged and mounted an external SSD and put my all data in it. But now I want to the file browser cloud to point to my data stored in the SSD the mount point is - /mnt/Home_Drive
Please guide me through it. I already read the documentation thoroughly but can't figure out how to set the storage path.
Describe the bug
Unable to upload any file
To Reproduce
Steps to reproduce the behavior:
FROM ubuntu
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update
RUN apt install -y wget zip unzip php apache2 libapache2-mod-php php-zipWORKDIR /var/www/
RUN wget https://filebrowser.linuxforphp.net/files/filebrowser-8.0.2.zip
RUN unzip filebrowser-8.0.2.zip && rm filebrowser-8.0.2.zipRUN chown -R www-data:www-data filebrowser/
RUN chmod -R 775 filebrowser/RUN echo "
<VirtualHost *:80>\n
DocumentRoot /var/www/filebrowser/dist\n
\n
" >> /etc/apache2/sites-available/filebrowser.confRUN a2dissite 000-default.conf
RUN a2ensite filebrowser.confCMD service apache2 restart
&& tail -f /dev/null
docker build -t my-php-app .
docker run -it --rm --name my-running-app -p 4000:80 my-php-app
[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} []
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):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.