Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/root/defaults/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"baseURL": "",
"address": "",
"log": "stdout",
"database": "/database/filebrowser.db",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This settings file is related to the linuxserver based container and the path of the file is set correctly

Copy link
Author

@EDIflyer EDIflyer Feb 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should probably be changed elsewhere then? The documentation seemed to vary between /database/filebrowser.db and /database.db? For example what caught me out was the Alpine example at https://filebrowser.org/installation#docker uses /database.db but then the text below to the sample config file at https://github.com/filebrowser/filebrowser/blob/master/docker/root/defaults/settings.json is then /database/filebrowser.db? Perhaps it just needs some text added to make it clear you need to change the sample config file to match? (I'll confess when I first set things up I had a mismatch and it took me a while to work out what was going on!). I think if you don't have a config file it seems to default to expect /database.db?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the default docker image https://github.com/filebrowser/filebrowser/blob/master/Dockerfile uses the https://github.com/filebrowser/filebrowser/blob/master/docker_config.json for config. The file you are referring to is used in the linuxserver based image. But I agree that the docs need to be changed. Feel free to make a PR

Copy link
Author

@EDIflyer EDIflyer Jun 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK I'll try to look hopefully this weekend (PS just synced my fork but it seemed to appear as ready to merge but not changed yet - will post when it is!)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay - got round to it in filebrowser/docs#52 by tweaking the docs very slightly

"database": "/database.db",
"root": "/srv"
}
}