[Support] knex666 - FileBrowser


Recommended Posts

Hi,

 

i´m trying to publish FileBrowser to web with nginx proxy manager, but only the shared urls. Wand to allow everything from my lan.

Trying since some hours now to find the correct config for npm but seem not to work. Was anyone of you successful?

This is my config at the moment:

location / { client_max_body_size 0; proxy_pass http://192.168.2.122:80/;}

 

Not my wanted solution, login is reachable from the internet. But in general working atm.

 

 

This is what i already tried in different variations:

location / { client_max_body_size 0; proxy_pass http://192.168.2.122:80/; allow 192.168.2.0/24; deny all;}
location /api { client_max_body_size 0; proxy_pass http://192.168.2.122:80/; allow all;}
location /static { client_max_body_size 0; proxy_pass http://192.168.2.122:80/; allow all;}
location /share { client_max_body_size 0; proxy_pass http://192.168.2.122:80/; allow all;}

 

Here the site is just not loading at all or i receive a message, that something went wrong.

 

Does anyone have an idea how i can solfe this?

 

Regards

Link to comment
Hi,
 
i´m trying to publish FileBrowser to web with nginx proxy manager, but only the shared urls. Wand to allow everything from my lan.
Trying since some hours now to find the correct config for npm but seem not to work. Was anyone of you successful?
This is my config at the moment:
location / { client_max_body_size 0; proxy_pass http://192.168.2.122:80/;}

 
Not my wanted solution, login is reachable from the internet. But in general working atm.
 
 
This is what i already tried in different variations:

location / { client_max_body_size 0; proxy_pass http://192.168.2.122:80/; allow 192.168.2.0/24; deny all;}location /api { client_max_body_size 0; proxy_pass http://192.168.2.122:80/; allow all;}location /static { client_max_body_size 0; proxy_pass http://192.168.2.122:80/; allow all;}location /share { client_max_body_size 0; proxy_pass http://192.168.2.122:80/; allow all;}

 
Here the site is just not loading at all or i receive a message, that something went wrong.
 
Does anyone have an idea how i can solfe this?
 
Regards

Hi,

since this is not a filebrowser problem you should dig into nginx config.
You are nearly there using a location / proxy pass and a rule to deny access.
But you should go ahead and deny the access to the server and not to the location. Pasing through every location is not a solution.

Cheers

Gesendet von meinem Redmi Note 8 Pro mit Tapatalk

Link to comment

Just dropping a message here, in case someone needs to see it.

 

I recently lost access to FileBrowser through the net. This was because of an expired SSL certificate.

I wasn't able to renew the certificate within Nginx Proxy Manager either.

 

To fix this, I changed the scheme within Nginx Proxy Manager to HTTP instead of HTTPS (which previously worked fine, for whatever reason)

 

Scheme.PNG.23c6c80c2733e037ae704abaa0a6f302.PNG

 

Maybe this'll save a few hours of hair pulling from someone :)

Link to comment
  • 2 weeks later...
  • 1 month later...
  • 2 months later...
2 hours ago, NEYUS said:

Can I connect a Domain?

may be more specific what you mean

 

can i run this behind a reverse proxy and connect via my filebrowser.mydomain.com ... yes

 

can i mount external volumes ... well, you can use rclone mount to mount remote shares and then mount them inside filebrowser as sample ...

 

or whatever your question was ;)

Link to comment
  • 3 weeks later...

I can't move a directory with files inside from disk1 to disk2 (using /mnt/ as the share path), but I can create a directory and move those files. How come I am getting 500 error when trying to move the folder and files together, but separately no problem?

 

Log: 

2022/07/07 16:34:46 /data/downloads/SomeMovie (2022) (1080)/: 500 192.168.1.31 read /srv/data/downloads/SomeMovie (2022) (1080): is a directory

Edited by sdballer
Link to comment
  • 2 months later...
On 12/23/2021 at 7:27 PM, alturismo said:

i added my network shares with UAD and then you should have access to ../remotes/


I don't know whether it worked before, but when I try to access my remotes (mounted via UAD) and try to access the remotes folder in Filebrowser I get some waiting time and then the "something really went wrong."

Any idea what could be wrong? I can access the remotes from bash and also from unraid integrated filebrowser.

Link to comment
1 hour ago, wambo said:


I don't know whether it worked before, but when I try to access my remotes (mounted via UAD) and try to access the remotes folder in Filebrowser I get some waiting time and then the "something really went wrong."

Any idea what could be wrong? I can access the remotes from bash and also from unraid integrated filebrowser.

 

Can you access those remotes when you're inside the container's console session?

 

Right click on the container in Docker tab and click Console, then try to access those shares.

Link to comment

Thanks again.
In the documentation nothing clearly explains where to put this file.
I tried several options, seen from the docker and as you showed me, but I don't see.
I am not an expert in docker and I have realized that the documentations are succinct each time. I don't really understand why!
I'm going to test other things but it's too random like this to succeed in moving forward.

;)

Link to comment

Hello Sir,

 

I have installed filebrowser apps in my unraid backup server. but I have faced a problem

 

Problem is : when I open file browser  with Admin/Admin then show one TEST folder (setting > user manager > Scope: blank)

but when I open another user test for folder share (setting > user manager > Scope: /mnt/user/share) then always show error message "This location can't be reached".

 

Please help me how to solve this problem

Link to comment
1 hour ago, Nishadul Haque said:

Please help me how to solve this problem

 

1 hour ago, Nishadul Haque said:

Scope: /mnt/user/share) then always show error message "This location can't be reached".

 

may show how you mounted your folders for filebrowser ...

 

and also may consider

 

On 9/16/2022 at 6:39 AM, alturismo said:

always docker point of view ... like in any other docker(s)

 

 

image.thumb.png.e3808a37e5f220f3e96f8e66ba93435b.png

 

would be then /srv/user/....

 

so also your case

 

On 9/16/2022 at 6:39 AM, alturismo said:

may start with reading some basics before running into issues later ;)

 

Link to comment
19 minutes ago, Nishadul Haque said:

How to mount another folder with Host Path 2, Host Path 3, Host Path 4 with share folder, doc folder, test folder etc.

18 hours ago, PicPoc said:

In the documentation nothing clearly explains where to put this file.

 

actually these are more questions related to filebrowser's helpdesk instead unraid's

 

but may as start again, depending on your setup's as filebrowser is indeed a little special

 

while /mnt <> /srv is mounted, dockers point of view to your filesystem is /srv/user/share as sample instead /mnt/user/share

 

now, when you look into your filebrowser's .json config file

 

image.png.2c1b8087b6f302ecbf87d4e7f017cd20.png

image.png.70d1a28611387120ef4ddff99edd2ff0.png

 

you see another root set, so for filebrowser now its even without /srv, means, ./user/share/... instead /srv/user/share

 

so basically this will end in /mnt on the host system (empty .)

image.png.ff80f3989ab43b70265fba832fd8be66.png

 

and this will end in (mnt/user/ on the host system

image.png.1fb5797a1aa1b0dfd019f6eb67d53725.png

 

while this will exclude folders from the host system then from a user in /mnt/user/...

image.png.619dfd486147c660fd021ebdc1b6899e.png

 

so in this case, you see the user "sandra" has access to /mnt/user/ on the host WITHOUT access to /mnt/user/appdata as sample

 

i hope this clear's it up now, for the rest, i would suggest to 1. read docker's basics and 2. look at filebrowsers doc's and/or git, so you understand what you mount and do ... before you give access to files you dont want to ;)

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.