Repository navigation
Newbie Question: Adding new sources #3277
|
Thanks for this project. I set this up on my little homeserver as a method to quickly share files with my collegues. I just wanted to add another source (took me sometime to realize there is no way in the WebIF but only via config.yaml) but filebrowser consistently fails to start up as soon as I add another source and there is no hint why that my be. I read the Docs and nearly copy pasted the settings as to make no mistake but no luck. I need some help understanding the concept. Here is the yaml I want filebrowser to use - but it wont start with it: `` http: the folder "N:\Sicherungen\Test" contains subfolders which should then be accessible via the Source. But upon starting filebrowser throws an error: 2026/10/26 13:32:27 [DEBUG] Default SQLite driver initialized If I omit the defaultenabled Option in the second source filebrowser starts but in the admin WebIF the source is nowhere to be seen and if I would like to add a quick panel link "source" I cannot see the second source as option.... What am I missing? |
Replies: 1 comment 1 reply
|
I'd also put the Windows paths in single quotes, in double quotes the server:
sources:
- path: 'N:\Filebrowser'
name: "Filebrowser"
config:
defaultPermissions:
view: true
download: true
- path: 'N:\Sicherungen\Test'
name: "Test"
config:
defaultEnabled: true
defaultPermissions:
view: true
download: trueAbout the source not showing up: |
defaultenabledis in the wrong spot, it goes insideconfigand it'sdefaultEnabled. Filebrowser rejects unknown keys, that's why it won't start (the real error shows up a few seconds after the "unable to load config" line).I'd also put the Windows paths in single quotes, in double quotes the
\gets treated as an escape:About the source not showing up:
defaultEn…