[Support] knex666 - FileBrowser


Recommended Posts

On 3/8/2020 at 3:01 AM, tonyuh said:

Great docker! I have a little question regarding multiple paths for a user, I want each user to be able to access a shared folder and a private folder. I see 2 possible way of doing it, first the scope way, is it possible to have multiple scopes? I tried comma and semicolon separated but they don't work. Second way is from the rules section, but I can't figure out how to use it. I tried "allow" and put path with and without "/" and nothing seems to be happenning (nothing is filtered out). Can anyone point me in the right direction please!

I found a solution for my needs! I use this mount code to "combine" all the folders for a username and use /mnt/virtual/ as Host Path for /srv/ in the container.

mount --bind /mnt/user/actual/path /mnt/virtual/username/path

Of course you have to mount/start FileBrowser and stop FileBrowser/umount every time the array is start/stop or the folders might not show up in FileBrowser.

  • Like 1
Link to comment
  • 3 months later...

Im trying to add a custom image for filebrowser and use a custom css file but filebrowser doesnt appear to accept them.  I used the documentation provided for this:  https://filebrowser.org/configuration/custom-branding

 

I created a directory in /mnt/user/appdata/filebrowser/ named 'config' and within that, I created a directory named 'img' that holds the logo.svg file for the custom logo.   The custom.css I would like to use is in the config folder.

 

In global settings, I changed the instance name successfully and disabled external links per the documentation I read to get this all set up properly.  I have tried an absolute path: 

 /mnt/user/appdata/filebrowser/config

and regular path:

/config

  but neither work.

 

Any ideas as to where I have gone wrong?  Many thanks for any help!  Im sure I missed something simple.

 

 

 

  • Like 1
Link to comment
1 hour ago, danktankk said:

 


 /mnt/user/appdata/filebrowser/config

and regular path:


/config

  but neither work.

 

Any ideas as to where I have gone wrong?  Many thanks for any help!  Im sure I missed something simple.

 

 

 

did you mount that folder and the img did you check if all file are in that folder inside the container with docker exec?

Link to comment
9 hours ago, danktankk said:

yes, the folder is mounted and the container wasnt made with a shell it looks like.

you have mounted that folder to /config ? or where? 

/mnt/usr/appdata/filebrowser shoud be mounted to /db than /config is in /db/config

9 hours ago, danktankk said:

 

I was able to get the custom.css to work, but still no go for the image.  It looks like it has to be svg and has to be named logo, correct?

yes like this

https://github.com/filebrowser/frontend/tree/master/public/img

  • Thanks 2
Link to comment
  • 3 weeks later...

Hi,

 

I installed FileBrowser and created a port variable for it because port 80 is used already by unraid GUI.
I couldn't get to the interface for some reason, like the port I added is not used. From there I got the docker an IP and it confirmed that the docker isn't using the port I set. I'm wondering if did it right now...

 

My problem is I will use it with organizr and letsencrypt dockers so I need to put this docker into my custom docker network so organizr can access it.

What's wrong here?

Screenshot 2020-07-18 at 19.44.14.jpg

Screenshot 2020-07-18 at 19.50.27.jpg

  • Like 1
Link to comment
1 hour ago, cam217 said:

Hi,

 

I installed FileBrowser and created a port variable for it because port 80 is used already by unraid GUI.
I couldn't get to the interface for some reason, like the port I added is not used. From there I got the docker an IP and it confirmed that the docker isn't using the port I set. I'm wondering if did it right now...

 

My problem is I will use it with organizr and letsencrypt dockers so I need to put this docker into my custom docker network so organizr can access it.

What's wrong here?

 

 

Hi the Containers port is 80 I think so you have to bring Host port 8586 to 80 and not 8586 to 8586?

But I am not familliar what organizr does - you have to figure it out.

Edited by knex666
  • Like 1
Link to comment
  • 1 month later...

Hi,

 

Looking at https://filebrowser.org/cli/filebrowser it seems the command is filebrowser -p to set the port, how do we get this to apply on the boot or in the settings? Looking in the database it seems the port is set to 80 but I cant see how to run the -p command to set the port? 

 

 

Edit - Seems changing the post argument seems to be the way to apply a custom port, following the above (under advance) you can apply a -p xxxx for the port number.

I had to do some playing with the system reloading a few times but my one is now working on NOT port 80.

 

Not sure if that can be set as a normal port variable using the above one cam showed as an example? 

 

Edit 2 - So made the changed, the application will work and load on the custom port but the docker is still hooked on port 80 in the allocations, not sure how we change that setting at all or where that is set?

Edited by brent3000
Found more info
Link to comment
1 minute ago, trurl said:

I don't use this but the usual way with any docker is to just map a different host port. 

How would I do that? I tried adding the port like cam above showed in his screenshot but its still showing '80' as the port in the allocations? Or is this set somewhere else? 

Link to comment
1 hour ago, brent3000 said:

How would I do that? I tried adding the port like cam above showed in his screenshot but its still showing '80' as the port in the allocations? Or is this set somewhere else? 

Did you notice that didn't work for them either and there was a reply to their post just above? 

Link to comment
19 hours ago, trurl said:

Did you notice that didn't work for them either and there was a reply to their post just above? 

Yes but as above it didnt work and I think it was just the assumption that if the port mapping changed it would change on the screen, it seems thats not the case due to the Host and Container references being different in how they appear on the docker page.

 

I did get this working now to how I would need it and deff need some more playing to get my head around it as it seems docker needs alot more changes than I thought than simply enter a field when its out of the norm :) 

 

slowly but surely haha updated the link and seems my other apps now work and use the ports without any issues :) 

Link to comment
  • 5 months later...

Hello! I was trying to use the Caddyv2 container for ssl authentication, but I was having issues with that (mostly that it would start up, but immediately shut down.) I was try to go with caddy due to it being suggested on the official site: https://filebrowser.org/installation/caddy

Is there a guide for configuring this on unraid instead of a standard Unix system? or is a different technology suggested for Unraid than on other devices?

Thanks!

Link to comment
  • 2 weeks later...

Hi,

 

how can i run the Backup to a external Share like a Diskstation?

I have a SMB Share for it, but i run in some problems 🙂

 

Script location: /tmp/user.scripts/tmpScripts/Unraid Backup/script
Note that closing this window will abort the execution of this script
Create backup of /mnt/user/Musik/Mischmasch/Led
Backup path has been set to /mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led
Create full backup 20210308_172541
sending incremental file list
Led/
Led/Controller-1/
Led/Controller-1/00_program1.led

Number of files: 3 (reg: 1, dir: 2)
Number of created files: 3 (reg: 1, dir: 2)
Number of deleted files: 0
Number of regular files transferred: 1
Total file size: 455,680 bytes
Total transferred file size: 455,680 bytes
Literal data: 455,680 bytes
Matched data: 0 bytes
File list size: 0
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 455,971
Total bytes received: 47

sent 455,971 bytes received 47 bytes 912,036.00 bytes/sec
total size is 455,680 speedup is 1.00
Try #1 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission denied
Try #2 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission denied
Try #3 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission denied
Try #4 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission denied
Try #5 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission denied
Try #6 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission denied
Try #7 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission denied
Try #8 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission denied
Try #9 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission denied
Try #10 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission denied
Try #11 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission denied
Try #12 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission denied
Try #13 to make backup visible
mv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.2021030

 

Edited by AndreasNe
Link to comment
Hi,
 
how can i run the Backup to a external Share like a Diskstation?
I have a SMB Share for it, but i run in some problems
 
Script location: /tmp/user.scripts/tmpScripts/Unraid Backup/scriptNote that closing this window will abort the execution of this scriptCreate backup of /mnt/user/Musik/Mischmasch/LedBackup path has been set to /mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/LedCreate full backup 20210308_172541sending incremental file listLed/Led/Controller-1/Led/Controller-1/00_program1.ledNumber of files: 3 (reg: 1, dir: 2)Number of created files: 3 (reg: 1, dir: 2)Number of deleted files: 0Number of regular files transferred: 1Total file size: 455,680 bytesTotal transferred file size: 455,680 bytesLiteral data: 455,680 bytesMatched data: 0 bytesFile list size: 0File list generation time: 0.001 secondsFile list transfer time: 0.000 secondsTotal bytes sent: 455,971Total bytes received: 47sent 455,971 bytes received 47 bytes 912,036.00 bytes/sectotal size is 455,680 speedup is 1.00Try #1 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission deniedTry #2 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission deniedTry #3 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission deniedTry #4 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission deniedTry #5 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission deniedTry #6 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission deniedTry #7 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission deniedTry #8 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission deniedTry #9 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission deniedTry #10 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission deniedTry #11 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission deniedTry #12 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.20210308_172541' to '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/20210308_172541': Permission deniedTry #13 to make backup visiblemv: cannot move '/mnt/remotes/DISKSTATION1511_UNRAID-BACKUPS/Shares/Musik/Mischmasch/Led/.2021030

 

Use squid Backup and restore and mount your disk Station with "unknown Devices" Plugin

Gesendet von meinem Redmi Note 8 Pro mit Tapatalk

Link to comment
  • 2 weeks later...

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.

Edited by carnivorebrah
Link to comment

Well, that didn't last long. Any idea why the latest update no longer works with Swag?

 

I can get to the web UI using the local IP/port, but my proxy-conf file, which was working before the update, is no longer working. It's only this one. All other domains/subdomains proxy-confs are still working.

 

The container is running on "custom: br0" w/ ip address 10.100.1.9 and listening on port 80.

 

EDIT: Figured it out. I had to switch it to my custom "proxynet", add a port mapping (8084 host to 80 container) and then update the proxy-conf to the below (my unraid server IP is 10.100.1.3):

 

## Version 2021/02/19
# make sure that your dns has a cname set for filebrowser and that your filebrowser container is not using a base url

server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name files.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    location / {
		proxy_pass http://10.100.1.3:8084;
		proxy_buffering off;
		proxy_http_version 1.1;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection $http_connection;
		access_log off;
    }
}

 

Edited by carnivorebrah
Link to comment
  • 2 weeks later...

hi newbie here to unraid installed this and login in fine. how do i see my shared folders. i tried added it in the host section no luck. Is the an installation/configuration doc some place i can look at, please and thank you

Link to comment
10 minutes ago, ltworf13 said:

hi newbie here to unraid installed this and login in fine. how do i see my shared folders. i tried added it in the host section no luck. Is the an installation/configuration doc some place i can look at, please and thank you

nevermind I found a YouTube video. it's not in english but it did the trick 

 

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.