Install on Unraid
On Unraid, install AudioSilo from Community Applications (the Apps tab). The app there is the LinuxServer.io image, lscr.io/linuxserver/audiosilo. It holds the same server, web player and ffmpeg as the Docker install, and is rebuilt after every AudioSilo release.
1. Install the app
- Open the Apps tab and search for AudioSilo.
- Pick the one from linuxserver's Repository and click Install.
- Set Audiobooks (
/audiobooks) to your audiobooks share, for example/mnt/user/audiobooks. It is mounted read-only. - Leave WebUI (the port) at
8080unless it's taken. - Click Show more settings and keep Appdata (
/config) on a local disk. It holds the database and settings. A cache or pool path such as/mnt/cache/appdata/audiosilois quickest. The default/mnt/user/appdata/audiosiloalso works. - Set PUID (user ID) and PGID (group ID) to the account that can write to Appdata and read Audiobooks. The usual Unraid values are
99and100. - Click Apply.
Backups go in /config/backups by default. To keep them on another share, see A backups folder on another disk.
2. Save your password
On the very first start, the log shows the admin password and an auth code once. In the Docker tab, click the AudioSilo icon and choose Logs:
========================================================
AudioSilo first-run setup - store these now, shown once
========================================================
Admin username : admin
Admin password : <generated password>
Auth code : <generated code>
Config file : /config/config.yaml
Save both now. Set up your server says what each is for. If you lose them, see If you lose the password.
3. Open it and add your books
- Click the AudioSilo icon and choose WebUI. Your browser warns about the certificate the first time; accept it.
- Go to
/adminand sign in asadminwith the printed password. - Set up your server opens. Choose your own username and password, or keep the printed ones.
- For the books folder, type
/audiobooks(the path inside the container, not the/mnt/user/...share) and press Check folder. - Follow the remaining steps, or skip any of them.
Set up your server walks through every step. Then connect a phone or browser. The web player is at /web.
Update
Unraid's Docker tab shows update ready when a new image is out. Apply it there, or let the CA Auto Update plugin do it. Your books are never changed. When an update changes the database, the server first saves a backup of it.
HTTPS and reverse proxies
The default self-signed certificate is fine at home. To reach AudioSilo from outside, the usual Unraid route is a reverse proxy such as SWAG or Nginx Proxy Manager. In the admin console under Server > Settings:
- Point the proxy at
https://<unraid-ip>:8080. Or set HTTPS mode to Off, restart the container, and point it athttp://<unraid-ip>:8080. - Set Public address to the address your users use, for example
https://books.example.com. - Add the proxy's address to Trusted proxies.
With HTTPS off, the Docker tab's WebUI link still opens https://. To fix it, edit the container, switch to Advanced View, and set WebUI to http://[IP]:[PORT:8080].
Only turn HTTPS off behind a proxy that handles HTTPS. Plain HTTP open to the internet sends passwords unencrypted.
Reach your server from outside your home has the details, including Let's Encrypt without a proxy.
Good to know
Settings as container variables
Most settings can also be set with an AUDIOSILO_* variable, such as AUDIOSILO_PUBLIC_URL. Add it with Add another Path, Port, Variable, Label or Device on the container's edit page. A variable wins over the console, which then shows the setting as locked.
Appdata on a user share
Unraid's /mnt/user pools local disks, so appdata there counts as a local disk.
When appdata is on a user share, AudioSilo maps its database into memory, which makes browsing quicker there. It stays off on network storage. To turn it off, add this to config.yaml in your appdata folder and restart the container:
database:
mmap: off
Or add a container variable AUDIOSILO_DB_MMAP with the value off.
Moving from the AudioSilo image
Already running ghcr.io/kodestar/audiosilo-server on Unraid? The data is the same. Only the paths inside the container differ: /config instead of /data, and /audiobooks instead of /library. If the old container ran with a Compose user: or Docker --user, put those IDs in PUID and PGID.
- Note any
AUDIOSILO_*variables the old container sets. They don't move on their own. (SkipAUDIOSILO_WEB_DIR: this image has the player built in.) - Stop and remove the old container. Its data stays in its folder.
- In that folder, edit
config.yamland change every path that starts with/data/to/config/. A file an older version wrote hastls.cache_dir(/data/certs) among them. A newer one holds only the settings you changed, so it may have none. - Install this app with Appdata pointing at that folder, and add back the variables from step 1.
- For your books, either set the Audiobooks container path to
/library, or keep/audiobooksand change the library's folder to/audiobooksin the admin console.
Your users, progress and settings carry over.