The newer version doesn't have obligatory a configuration file and a database. We now only have a database and a powerful command line to interact with it. Although, most options can be changed through the web interface.
You can keep using a configuration file for the options described by the main command. To import from a previous version, please run:
filebrowser upgrade --database=/path/to/new.db \--old.database=/path/to/1.x.db \--old.config=/path/to/old/config.json
You don't necessarily need to indicate the
old.config path. If you don't, we'll use the defaults we had for each option in the previous version.
Now that you have the new database up and running, please check if the config looks good for you and if the users also look good via the following commands:
filebrowser -d=/path/to.db config catfilebrowser -d=/path/to.db users ls
To run your server, just: