Replies: 25 comments 1 reply
-
|
Are you sure its an issue with filebrowser? the program is set to allow non-working sources and to continue running. See #1264 |
Beta Was this translation helpful? Give feedback.
-
|
All i know is that if any of my mounts are not working, browser fails with error |
Beta Was this translation helpful? Give feedback.
-
|
can you show the error? |
Beta Was this translation helpful? Give feedback.
-
|
My kitchen PC goes to suspend overnight so my raspberrypi run fb loses mount. Once PC awake, fb starts fine Watchtower log time=2025-11-25T03:00:18Z level=info msg=Found new ghcr.io/gtsteffaniak/filebrowser:latest image (3b5d646b1d27) time=2025-11-25T03:00:30Z level=info msg=Stopping /filebrowser-quantum (2f3651b3187b) with SIGTERM time=2025-11-25T03:00:38Z level=info msg=Creating /filebrowser-quantum time=2025-11-25T03:01:09Z level=error msg=Error response from daemon: error while creating mount source path '/media/kitchen': mkdir /media/kitchen: file exists Docker compose up ✔ Container filebrowser-quantum Recreat... 0.2s Attaching to filebrowser-quantum Error response from daemon: error while creating mount source path '/media/kitchen': mkdir /media/kitchen: file exists |
Beta Was this translation helpful? Give feedback.
-
|
Also if fb container is running, and the PC suspends, starting fb on raspberrypi spins saying loading until PC wakes, then loads ok. |
Beta Was this translation helpful? Give feedback.
-
|
BTW, I'm on 1.1.1 beta (using :latest tag) |
Beta Was this translation helpful? Give feedback.
-
|
Those aren't FileBrowser application logs, looks like some pre launch error from watchtower? |
Beta Was this translation helpful? Give feedback.
-
|
Correct, I was showing the same type of error I get from fb when my kitchen PC is suspended. Irrespective of the watchtower log, fb fails if host is offline. If host is online watchtower updates ok, but if host is offline , watchtower fails per the logs |
Beta Was this translation helpful? Give feedback.
-
|
Here's my compose file. If any of the mounts are offline, fb loads, times out with red host offline dialogue box, then unable to access any other mounts services: Config.yaml |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@pecbeck the config that you send here is the config that you're using? If so, why you're mounting all your sources as a single source? Maybe that's the issue... Try to separate them in server:
sources:
- path: /folder/kitchen
config:
defaultEnabled: true
- path: /folder/pi5_HDD
config:
defaultEnabled: true
- path: /folder/usb_pi4
config:
defaultEnabled: true
- path: /folder/usb1_pi4
config:
defaultEnabled: true
- path: /folder/pi
config:
defaultEnabled: trueI think with that should work, and if not, show the filebrowser logs here, not the watchtower logs. docker logs filebrowser-quantum |
Beta Was this translation helpful? Give feedback.
-
|
I posted my compose.yaml earlier asking for help if I'm using this incorrectly. I honestly don't understand your post, is this the config yaml file or the docker compose yaml. Sorry if I'm being dim but I really don't understand what I'm doing wrong. I posted the watchtower logs because it showed a failure due to kitchen being offline, trying to help identify this problem |
Beta Was this translation helpful? Give feedback.
-
|
My config.yaml server: Everything works perfectly until one of the sources in my compose.yaml goes offline |
Beta Was this translation helpful? Give feedback.
-
|
Is the configuration file of filebrowser ( Because from your |
Beta Was this translation helpful? Give feedback.
-
|
Ok so I need to basically duplicate the binds in my docker compose with those in config.yaml? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Ah, I see! I'll try this tomorrow, hopefully will fix things. Not too clear from the docs I've read so far, so many thanks for your clarification. I'll post back results. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Ok, despite changing config.yaml, if kitchen mount is offline, fb won't start [+] down 1/2 This is where I just don't understand what I am configuring incorrectly |
Beta Was this translation helpful? Give feedback.
-
|
If I add noauto to fstab, then fb starts fine showing empty kitchen mount, however with noauto, I would have to manually mount /media/kitchen every time it comes back online, as will not auto mount at boot or any other time |
Beta Was this translation helpful? Give feedback.
-
|
Ah, well, that's an issue with the drive mounts and docker, is not related with filebrowser. I'm not sure why can be happening, but seems that docker auto-directory creation is conflicting with the mount point somehow. The only solution that I can think are:
But I'm not sure if that will even work. |
Beta Was this translation helpful? Give feedback.
-
|
I'll try to help if I can, so.. How looks your fstab? And how looks the |
Beta Was this translation helpful? Give feedback.
-
|
Yep, I have spent ages trying different options, and, like you, concluded it's a basic docker issue. Many thanks for your thoughts and comprehensive help |
Beta Was this translation helpful? Give feedback.
-
|
//192.168.1.208/e /media/kitchen cifs nofail,x-systemd.automount,_netdev,vers=3.0,credentials=/etc/samba/credentials /media/kitchen |
Beta Was this translation helpful? Give feedback.
-
|
Ah, is a network cifs drive. I think that docker has a native driver for this that mounts the drive directly in the docker filesystem. I'm not familiar with this, but seeing this discussion in the docker forums. Basically you'll need to modify your docker compose to something like this: # docker-compose.yaml
services:
filebrowser:
image: ghcr.io/gtsteffaniak/filebrowser:latest
container_name: filebrowser-quantum
ports:
- "89:80"
volumes:
- ./config:/folder/config
- ./data:/home/filebrowser/data
# With docker CIFS volume
- kitchen_share:/folder/kitchen
# I think you'll need to do the same if this are like 'kitchen'
- /media/HDD:/folder/pi5_HDD
- /media/usb_pi4:/folder/usb_pi4
- /media/usb1_pi4:/folder/usb1_pi4
- /media/pi:/folder/pi
environment:
FILEBROWSER_CONFIG: "data/config.yaml"
FILEBROWSER_ADMIN_PASSWORD: "change-me"
PUID: "1000"
PGID: "1000"
restart: unless-stopped
volumes:
# Here you add the volumes, in this case kitchen
kitchen_share:
driver: local
driver_opts:
type: cifs
device: "//192.168.1.208/e"
o: "vers=3.0,credentials=/etc/samba/credentials,uid=1000,gid=1000,nofail,_netdev" |
Beta Was this translation helpful? Give feedback.
-
|
And I'll make this issue a discussion, we'll continue there if you want to. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
I have several smb mounts from the server running qbfilebrowser. If one is offline (e.g server asleep) then unable to use filebrowser for all other online mounts. Throws error and won't continue
Beta Was this translation helpful? Give feedback.
All reactions