this post was submitted on 18 Jun 2025
126 points (99.2% liked)

Selfhosted

48443 readers
367 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] kuvwert 52 points 3 days ago* (last edited 2 days ago) (12 children)

https://github.com/gtsteffaniak/filebrowser

File browser Quantum is the shiny feature rich fork!

I have also used filestash with some success

[–] [email protected] 8 points 3 days ago* (last edited 3 days ago) (5 children)

Trying to set that up to try out, but I can't get it to see/use my config.yaml.

/srv/filebrowser-new/data/config.yaml

volumes:

  • /srv/filebrowser-new/data:/config environment:
  • FILEBROWSER_CONFIG="/config/config.yaml"

Says '/config/config.yaml' doesn't exist and will not start. Same thing if I mount the config file directly, instead of just its folder.

If I remove the env var, it changes to "could not open config file 'config.yaml', using default settings" and starts at least. From there I can 'ls -l' through docker exec and see that my config is mounted exactly where it's supposed to be '/config/config.yaml' and has 777 perms, but filebrowser insists it doesn't exist...

My config is just the example for now.

I don't understand what I could possibly be doing wrong.

/edit: three hours of messing around and I figured it out:

  • FILEBROWSER_CONFIG="/config/config.yaml"

Must not have quotation marks. Removed them and now it's working.

[–] [email protected] 5 points 2 days ago (4 children)

Must not have quotation marks. Removed them and now it's working.

Man that's finicky...

[–] [email protected] 4 points 2 days ago* (last edited 1 day ago) (1 children)

It's just a YAML thing, if you do FILEBROWSER_CONFIG:"/config/config.yaml" instead it might work with quotes.

[–] [email protected] 4 points 2 days ago (1 children)

Dev replied to my github discussion.

Apparently it's an issue with array style env variable layout.

environment:
    key:"value"

Instead of

environment:
    - key=value
[–] [email protected] 2 points 2 days ago (1 children)
[–] [email protected] 2 points 2 days ago

I'm not sure whether this is specific to this project, docker, or YAML in general.

Looking through my other 20 or so compose files, I use the array notation for most of my environment variables, but I don't have any double quotation marks elsewhere. Maybe they're not supposed to work in this format, idk.

Good to keep in mind I guess.

load more comments (2 replies)
load more comments (2 replies)
load more comments (8 replies)