Install the server
Install KROMA on a Synology NAS
There are two ways to run KROMA on a Synology NAS. Both serve the same KROMA on
port 4040.
| KROMA package | Container Manager | |
|---|---|---|
| Works on | Intel and AMD models, DSM 7.0 or later | Intel, AMD and some ARM models, DSM 7.2 or later |
| Updates | installs them itself | you pull the new image |
| Hardware transcoding on Intel models | set up for you | you add it to the compose file |
| Access to your folders | you grant it to the kroma user | you grant it to the container |
Use the package if your NAS has an Intel or AMD processor. Use Container
Manager on an ARM model, or if you already run your other apps in Docker. To
see your processor, open Control Panel > Info Center > General and
read CPU, or look up your model in Synology's
CPU list:
x86_64 is Intel or AMD, armv8 is ARM.
Before you begin
- An administrator account on the NAS.
- Your films and series in a shared folder, such as
video. See Media folders and permissions for how to name them. - The path of each media folder. In File Station, right-click the folder,
select Properties, and copy Location, for example
/volume1/video/Films.
Install the package
Add the KROMA package source
A package source lets Package Center install KROMA and offer its updates.
- In DSM, open Package Center > Settings > Package Sources.
- Select Add.
- In Name, enter
KROMA. In Location, enterhttps://packages.kroma.tv. - Select OK, then close Settings.
Install KROMA
- In Package Center, open the Community tab.
- Select KROMA, then Install.
- DSM warns that the package comes from a third-party developer and is not verified by Synology. Confirm to continue. Every package that Synology did not publish shows this warning.
- In Media library, enter the path of your films in
Movies folder(s) and of your series in TV Shows folder(s), for
example
/volume1/video/Films. Both fields come filled with an example: replace it with your folder, or clear the field if you have none of that kind. Separate several folders with a colon. You can change all of this later in KROMA. - In Server & storage, keep port
4040unless another app uses it. Leave Data folder (optional) empty unless you want KROMA's database and image cache on another volume. If you fill it, create that folder in File Station first and give thekromauser Read/Write on it, as in Give KROMA access to your media. KROMA cannot start on a data folder it cannot write to. - Finish the wizard.
DSM installs and starts KROMA. KROMA cannot see your media yet: the next section gives it access.
Give KROMA access to your media
DSM 7 runs each third-party package as its own user, with no access to your
shared folders. KROMA's user is named kroma. Grant it access to each shared
folder that holds media:
- Open Control Panel > Shared Folder.
- Select the shared folder, for example
video, then Edit. - Open the Permissions tab.
- In the drop-down list at the top left, choose System internal user.
- Find
kromaand tick the access it needs:- Read only to watch what you have.
- Read/Write if you will use the Acquisition module, which moves downloads into your libraries and renames them.
- Select Save.
- Repeat for every shared folder that holds media.
- In Package Center, open KROMA, select Stop, then Run.
KROMA restarts and scans your folders. To give access to one subfolder only,
use File Station instead: right-click the folder, select Properties >
Permission > Create, and choose the kroma user.
Open KROMA
In a browser, open http://NAS_IP:4040, where NAS_IP is the address you use
to open DSM, such as 192.168.1.10. You can also open KROMA from DSM's main
menu.
Continue with First run.
Install the package by hand
Without the package source, DSM cannot offer updates through Package Center, but KROMA still updates itself (see Updates).
- Download
kroma-VERSION-x86_64.spkfrom kroma.tv/download or from the releases. - In Package Center, select Manual Install, choose the file, and follow the same wizard.
Updates
The package checks for a new version every six hours and installs it on its own when nobody is watching. To choose when it updates, open KROMA, go to Server > Server updates, and turn off automatic installation.
Package Center may keep showing the version it installed first. KROMA's Server updates page shows the version that runs.
Hardware transcoding
On an Intel model, the package uses the processor's graphics chip to convert videos that a screen cannot play. There is nothing to set up. Some models have nothing to use:
- Models with an AMD Ryzen processor, such as the DS723+, DS923+ and DS1522+, have no graphics chip.
- Synology no longer ships the graphics driver on models released in 2025 or later, such as the DS225+ and DS425+.
On those, KROMA converts on the processor, which is slow for 4K. Playing the original file on a screen that supports it avoids the conversion. See Hardware transcoding.
Where the package keeps its files
| What | Where |
|---|---|
| Database, image cache, installed modules | /var/packages/kroma/var/data, or the data folder you chose in the wizard |
| Settings from the wizard | /var/packages/kroma/var/kroma.conf |
| Server log | /var/packages/kroma/var/kroma.log |
You can read the log in KROMA too, under Server > Logs. To read the files themselves, turn on SSH in Control Panel > Terminal & SNMP and connect as an administrator.
Install with Container Manager
Container Manager is Synology's Docker app. It runs on DSM 7.2 or later, on Intel and AMD models and on these ARM models: DS120j, DS124, DS220j, DS223, DS223j, DS420j and DS423. Install it from Package Center first.
-
In File Station, open the
dockershared folder, which Container Manager created, and create a folder namedkroma. Insidekroma, create a folder nameddata. -
Open Container Manager > Project, then select Create.
-
In Project Name, enter
kroma. -
In Path, choose the
docker/kromafolder. -
In Source, choose Create docker-compose.yml and paste:
services: kroma: image: ghcr.io/kromatv/kroma:latest container_name: kroma restart: unless-stopped ports: - "4040:4040" volumes: - ./data:/data - /volume1/video:/mediaReplace
/volume1/videowith the location of your media folder. Keep:/mediaat the end. -
Select Next until the summary, then Done, and start the project.
Container Manager downloads the image and starts KROMA. Open
http://NAS_IP:4040 and continue with First run. When you add
a library, your media is under /media.
Give the container access to your media
The container runs as root. If a library stays empty, or the server log shows
entries skipped after a scan, grant access to the folder, as Synology advises
for containers:
- In File Station, right-click the media folder and select Properties > Permission.
- Select Create, choose Everyone, and tick Read (or Read and Write for the Acquisition module).
- Select Done, then Save.
Everyone means every account on the NAS, not everyone on the internet.
Update the container
Server > Server updates in KROMA tells you when a new version is out. Container Manager does not download a newer image for a running project on its own, so update over SSH:
-
Turn on SSH in Control Panel > Terminal & SNMP > Terminal.
-
Connect as an administrator, for example with
ssh admin@192.168.1.10. -
Download the new image and recreate the container:
cd /volume1/docker/kroma sudo docker compose pull sudo docker compose up -dContainer Manager versions older than 24.0.2-1542 spell the command
docker-compose, with a hyphen.
Your data stays in docker/kroma/data.
Hardware transcoding in Container Manager
On an Intel model, add these lines under kroma: in the project's YAML, in
Container Manager > Project > kroma > YAML Configurations:
devices:
- /dev/dri:/dev/dri
group_add:
- "937"937 is the usual ID of DSM's videodriver group. To check it on your NAS,
run getent group videodriver over SSH.
Troubleshooting
A library stays empty
The kroma user, or the container, cannot read the folder. Check the
permissions in Give KROMA access to your media,
restart KROMA, and read Server > Logs. See also
Troubleshooting.
kroma is not in the list of users
The list shows local users by default. Choose System internal user in the drop-down list above it.
Package Center says the package is invalid
DSM only installs a package whose version is higher than the installed one. A build older than the one you have fails with an error about the file format. Download the latest version.