Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config file settings ignored #15

Closed
FranzFelberer opened this issue Oct 25, 2019 · 1 comment
Closed

Config file settings ignored #15

FranzFelberer opened this issue Oct 25, 2019 · 1 comment

Comments

@FranzFelberer
Copy link

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
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants