NOTE: Breaking changes related to server configuration. Please read below for migrating from v1.18.0 and older (tldr: moved to json configuration instead of .env file, accounts can now have admin)
Migration
When you first run v1.19.0, a watcharr.json
file will be created in the data directory. A new JWT_SECRET will be automatically generated. If you want to avoid logging users out, you can copy over the secret from your .env file.
You will also have to migrate any other configuration, but this can be done via the new web ui.
If you are using docker, you can remove the .env
file volume and delete the file.
NOTE: If you want to use a jellyfin account as the admin, but jellyfin login has now been disabled (because your server url is not in the new config), you have two options at the moment:
- Manually edit the
watcharr.json
config file and add your jellyfin host (add JELLYFIN_HOST):{ "JWT_SECRET": "my_secret...", "JELLYFIN_HOST": "https://jellyfin.example.com" }
- Create a new normal watcharr account, give it admin (using the
request_admin
page, see below..), set the Jellyfin Host setting in the web ui. Then logout and you will be able to login with your jellyfin account. Repeat the process to give admin to this account too.
Server Settings Web UI
Admins can now manage the server settings through the new web ui. Changes are reflected immediately and are saved to the watcharr.json
file.
If your account has admin, simply navigate to the face menu then click the settings option.
Here you can easily configure your server.
Getting admin on an existing account
If you have an existing account you would like to give admin to, you can go to 127.0.0.1:3080/request_admin
. Click the request
button and retrieve the token from your server log (in the data folder: data/watcharr.log
. or with docker compose logs
).
What's Changed
Changelog simplified since all PRs relate to giving admin users the ability to modify server settings through web ui.
- Admin users and json config by @IRHM in #141
- Admin tokens by @IRHM in #142
- Web UI Server Settings by @IRHM in #144
- config: Fix panic if
v
unset inupdateConfig
by @IRHM in #145 - Update userinfo after get admin by @IRHM in #146
- v1.19.0 - Updated readme steps & initial config setup fix by @IRHM in #147
Full Changelog: v1.18.0...v1.19.0