[Support] knex666 - FileBrowser


Recommended Posts

Thanks for your detailed information Alturismo : It's really cool !

 

OK, custom.css works with this add:

Copy "custom.css" in "/appdata/filebrowser/" folder ("/database/custom.css" in the docker)

Add in preferences of FileBrowser

Branding directory path :
/database

And this docker use ccs file "/database/custom.css"

 

BUT, this file (custom.css) is not correct. It's:

File-Browser-MOD.png

 

NOT :

screenshot.png

 

Files with different colors. :(

 

Strange !!

For information :
https://thehomelab.wiki/books/other-guides/page/filebrowser-custom-icon-colors-how-to

 

Edited by PicPoc
Link to comment

After updating my UnRaid server from 6.9.2 to 6.11.0, the FileBrowser docker seems to have stopped working.

 

The issue is that FileBrowser cannot access the database file:

Error.PNG.a8adacee462720532aaf406b6ebc2f1e.PNG

 

To confirm this, I changed the path to the database.db file from the container settings, which resulted in a new database file to be created, and the FileBrowser docker to be fully functional again. Though, without any of my settings and user data etc.

 

Is there a way to grant permission to the FileBrowser to it's original database.db file?

Worst case scenario, I can always manually set up the docker again, but that's a bit of a pain in the butt.

 

Link to comment
17 minutes ago, REllU said:

Is there a way to grant permission to the FileBrowser to it's original database.db file?

 

may try chmod or chown the file from the terminal ?

 

chown 99:100 /mnt/user/appdata/Filebrowser/database.db  <- change this to the path on your mashine

or

chmod 777 /mnt/user/appdata/Filebrowser/database.db  <- change this to the path on your mashine

 

as note, working fine here ...

  • Thanks 1
Link to comment
34 minutes ago, alturismo said:

may try chmod or chown the file from the terminal ?

 

chown 99:100 /mnt/user/appdata/Filebrowser/database.db  <- change this to the path on your mashine

or

chmod 777 /mnt/user/appdata/Filebrowser/database.db  <- change this to the path on your mashine

 

as note, working fine here ...

 

Thank you so much! You just saved my hair, and my weekend! :)

 

I'm not quite sure what happened here, as our backup server went through the same update just a week ago, and FileBrowser seemed to work just fine there. Whatever the case may be, chown seemed to be the answer here. Thank you for the quick answer!

  • Like 1
Link to comment

Filebrowser works fine but when I want to add filebrowser in Apache-PHP I can't access it.
This is what it displays:

filebrowser-problem.png

 

It's looping, something is missing and I don't understand what.
Here is what I added in the Apache-PHP configuration file "proxy-config.conf":

<VirtualHost *:80>
  ServerAdmin [email protected]
  ServerName my.dyndns.net
  ServerAlias my.dyndns.net
  Alias /test "/var/www/test.php"
  <Location /filebrowser >
   ProxyPass        http://192.168.1.10:8080
   ProxyPassReverse http://192.168.1.10:8080
  </Location>
  DocumentRoot /var/www/
  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Do you have any idea what is missing ?
 

Edited by PicPoc
Link to comment
7 hours ago, PicPoc said:

Do you have any idea what is missing ?

first, i assume you would be better asking in the apache part instead here ;)

 

i guess (just a guess) most using nginx meanwhile (including me), either swag or npm ...

 

may take a look at your filebrowser.json and look for baseURL and/or address etc ... may a trailing /filebrowser may missing in your apache conf ... 

Link to comment

I used a tool on php and with ProxyPass & ProxyPassReverse on another ip, with this similar config and it's works like a charm.

 

I also tried another way with filebrowser on 80 :

  ProxyPass        /filebrowser http://192.168.1.10
  ProxyPassReverse /filebrowser http://192.168.1.10

But it still doesn't work any better.

Filebrowser need something special.

A temp folder ???

Edited by PicPoc
Link to comment
  • 2 weeks later...
On 3/24/2019 at 2:34 PM, leejbarker said:

Attached is my current config, but when I hit the WEB UI it just says site can not be reached. 723630370_Screenshot2019-03-24at08_32_15.thumb.png.b385e0f1b529c38df14091e56e01b694.png

In same configuration I have faced a problem. problem is when I am trying from another router's PC ip is 192.168.2.5 to 192.168.0.25 then file browser not open. because no gateway entry in this configuration. how to solve this problem in Network Type: Custom: br0

Link to comment
  • 3 months later...
On 3/18/2021 at 8:37 PM, carnivorebrah said:

Should I be able to change the tab/favorite icon by putting an icon file named favicon.ico in the directory /config/img/icons/ ?

 

I was able to get the logo to change by placing a logo.svg file in /config/img/, restarting the docker and clearing my browser cache.

 

I just can't seem to get the tab/favorite icon to show up.

 

I also tried just placing the favicon.ico file in the /config/img/ directory with the logo.svg file, but still got the same results.

 

EDIT: I got it working. I missed the browserconfig.xml file. I created it and the PNG file that the XML file is referencing. Placed the XML, ICO and PNG files in /config/img/icons/,and everything is working great.

Hi,

Can you explain exactly how to change this favicon ? I can't change it. Thanks ! ;)

Link to comment
  • 2 weeks later...
  • 1 month later...
  • 3 months later...
  • 1 month later...

I can't get directories to load if they have a large number of files (~4000).  Through a google search I found that adding the command "--disable-type-detection-by-header" may be the solution to my problem, but I do not know how to implement that on this docker.  Adding it as-is into the 'extra parameters' field did not work for me.

 

Could anyone help me with the syntax or where to load this in?  Thank you

 

 

Edited by jargo
Link to comment
On 3/5/2019 at 9:38 PM, knex666 said:

Application Name: FileBrowser

Overview: Support for Docker image of FileBrowser

Application: FileBrowser- https://github.com/filebrowser/filebrowser

Docker Hub: https://hub.docker.com/r/filebrowser/filebrowser

GitHub: https://github.com/maschhoff/docker/tree/master/filebrowser

 

Please read all information in the Overview Box. And use the configuration and files providet on github.

For any question - dont mind to ask!

Hello, is there any guide how to install Filebrowser on Unraid. I try two versions and have blank page with: "about:blank#blocked" in URL browser field, and log shows me: 

2023/08/06 10:39:05 Using config file: /.filebrowser.json
2023/08/06 10:39:05 Listening on [::]:80

Regards.

Link to comment
On 6/11/2023 at 8:42 PM, Masterwishx said:

still cant find the problem ,cleared the cache from browsers, and dev in browser ,disabled css minify in cloudflare , disabled adguard,

also installed on Oracle cloud without problems but used s6 Filebrowser image ...

 

Problem Solved , file was not in raw format ! :(

Link to comment
  • 2 weeks later...

Hello!

 

I set this up today but have an issue when adding files going through the Cloudflare Tunnel URL:
 

Quote

Upload failed: Error: tus: unable to resume upload (new upload cannot be created without an endpoint), originated from request (method: HEAD, url: /api/tus/users/usertest/IMG_3526.JPG?override=false, response code: 405, response text: , request id: n/a)

 

When I access internally it works fine for uploading (so http://localip:port vs https://external.domain.name).

 

EDIT:

There is a solution on Github:
https://github.com/filebrowser/filebrowser/issues/2588#issuecomment-1664335304

 

Edited by PSteward
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.