Config file settings ignored
FranzFelberer opened this issue · 1 comments
FranzFelberer commented
Dear all,
for some reason, it seems that the config file settings (address, port) are ignored.
config file:
Sign up: false
Create User Dir: false
Auth method: json
Shell:
Branding:
Name:
Files override:
Disable external links: false
Server:
Log: stdout
Port: 8081
Base URL:
Root: .
Socket:
Address: 192.168.0.22
TLS Cert:
TLS Key:
Defaults:
Scope: .
Locale: en
View mode: mosaic
Commands:
Sorting:
By:
Asc: false
Permissions:
Admin: false
Execute: true
Create: true
Rename: true
Modify: true
Delete: true
Share: true
Download: true
sudo service filebrowser@default.yaml status
● filebrowser@default.yaml.service - File browser: default.yaml
Loaded: loaded (/etc/systemd/system/filebrowser@default.yaml.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2019-10-25 05:25:51 CEST; 3h 9min ago
Main PID: 16676 (filebrowser)
Tasks: 7 (limit: 4496)
CGroup: /system.slice/system-filebrowser.slice/filebrowser@default.yaml.service
└─16676 /usr/local/sbin/filebrowser -c /etc/filebrowser/default.yaml
Oct 25 05:25:51 myserver systemd[1]: Started File browser: default.yaml.
Oct 25 05:25:51 myserver filebrowser[16676]: 2019/10/25 05:25:51 Using config file: /etc/filebrowser/default.yaml
Oct 25 05:25:51 myserver filebrowser[16676]: 2019/10/25 05:25:51 Listening on 127.0.0.1:8080
mckaygerhard commented
the output you put here is the output of the config export command that is only provided to later be used with config import command, a proper config file is just one section, look at here: filebrowser/filebrowser#1438 (comment) and (when i updfate it) lok at here too: https://filebrowser.org/configuration (that is https://github.com/filebrowser/docs/tree/master/configuration )
please close this issue #15 @o1egl cos this is not related to docs. and i currently solved the question!