Updated Setup (markdown)

Harvey Tindall 2020-05-03 18:48:02 +01:00
parent 3e2492dd2d
commit be9e620244

@ -1,12 +1,9 @@
Run the program once to generate a template config. On your first run, accessing `<your ip>:8056` will bring you to the setup wizard.
```
hrfee@lab:~$ jf-accounts
Config dir not found, so created at /home/hrfee/.jf-accounts
Edit the configuration and restart.
```
Before you start configuring, you should make sure that timezones are correct everywhere. If you're running bare metal, this shouldn't be an issue, but docker containers are another story. For linuxserver.io Jellyfin containers, you should be able to use `-e TZ=Europe/London` but if not, `-v /etc/localtime:/etc/localtime:ro` works almost every where. Once you've added this run `docker exec -it <your container> bash` to enter its shell, then `date`. From there you can see if the time is correct. Before you start configuring, you should make sure that timezones are correct everywhere. If you're running bare metal, this shouldn't be an issue, but docker containers are another story. For linuxserver.io Jellyfin containers, you should be able to use `-e TZ=Europe/London` but if not, `-v /etc/localtime:/etc/localtime:ro` works almost every where. Once you've added this run `docker exec -it <your container> bash` to enter its shell, then `date`. From there you can see if the time is correct.
After that, open the config at the path specified and get to configuring. If you want to manually configure, or change anything not included in the setup wizard, below are descriptions of each setting in `config.ini`.
* **jellyfin** * **jellyfin**
* Best practice is to create a separate admin account (I named mine 'accounts') without normal privileges (accessing media, etc.). Its credentials can then be entered. * Best practice is to create a separate admin account (I named mine 'accounts') without normal privileges (accessing media, etc.). Its credentials can then be entered.
* The server address specified here will be reused in the invite form, so make sure its the publicly accessible address, rather than the local network one. * The server address specified here will be reused in the invite form, so make sure its the publicly accessible address, rather than the local network one.
@ -29,7 +26,7 @@ After that, open the config at the path specified and get to configuring.
* **smtp** * **smtp**
* Currently, jellyfin-accounts support fully secured SSL/TLS SMTP, and the less secure yet more common STARTTLS. Specify which to use through setting `encryption` to `ssl_tls` or `starttls`. * Currently, jellyfin-accounts support fully secured SSL/TLS SMTP, and the less secure yet more common STARTTLS. Specify which to use through setting `encryption` to `ssl_tls` or `starttls`.
* Fill in your providers web address as `server`. * Fill in your providers web address as `server`.
* For `port`, your provider will likely have many choices. Make sure this matches the encryption type above. Usually 465 to SSL/TLS, and 587 for STARTTLS. * For `port`, your provider will likely have many choices. Make sure this matches the encryption type above. Usually 465 for SSL/TLS, and 587 for STARTTLS.
* Enter the password corresponding to the `address` you entered in the `[email]` section. * Enter the password corresponding to the `address` you entered in the `[email]` section.
* **mailgun** * **mailgun**
* This section only needs to be modified if you've chosen it as the method up above. * This section only needs to be modified if you've chosen it as the method up above.