How to Install digiKam on Your Synology NAS

How to Install digiKam on Your Synology NAS

digiKam is an advanced open-source digital photo management application that runs on Linux, Windows, and macOS. The application provides a comprehensive set of tools for importing, managing, editing, and sharing photos and raw files. In this step by step guide I will show you how to install digiKam on your Synology NAS using Docker.

Note: This guide works perfectly with the latest digiKam v7.8.0 release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

Install Docker Synology DSM 7

  • STEP 3

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it digikam. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

digiKam Synology NAS Set up 1

  • STEP 4

Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the image below.

digiKam Synology NAS Set up 2

  • STEP 5

Once you click on User-defined script, a new window will open. Follow the instructions below:

  1. General: In the Task field type in Install digiKam. Uncheck the “Enabled” option. Select root User.
  2. Schedule: Select Run on the following date then select “Do not repeat“.
  3. Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that, click OK.
docker run -d --name=digikam \
-p 3050:3000 \
-e PUID=1026 \
-e PGID=100 \
-e TZ=Europe/Bucharest \
-e KEYBOARD=en-us-qwerty \
-v /volume1/docker/digikam:/config \
--restart always \
ghcr.io/linuxserver/digikam

Note: Before you paste the code above in the Run command area below, change the value numbers for PUID and PGID with your own values. (Follow my step by step guide on how to do this.)
Note: Before you paste the code above in the Run command area below, change the value for TZ. (Select your current Time Zone from this list.)
Note: Before you paste the code above in the Run command area below, change the value for KEYBOARD and add your own keyboard layout. da-dk-qwerty is for the Danish keyboard, de-ch-qwertz is for the Swiss German keyboard, de-de-qwertz is for the German keyboard, en-gb-qwerty is for the English (UK) keyboard, en-us-qwerty is for the English (US) keyboard, es-es-qwerty is for the Spanish keyboard, fr-ch-qwertz is for the Swiss French keyboard, fr-fr-azerty is for the French keyboard, it-it-qwerty is for the Italian keyboard, ja-jp-qwerty is for the Japanese keyboard, pt-br-qwerty is for the Portuguese Brazilian keyboard, sv-se-qwerty is for the Swedish keyboard, tr-tr-qwerty is for the Turkish-Q keyboard.

digiKam Synology NAS Set up 3

  • STEP 6

After you click OK on STEP 5 a new warning pop up window will open. Click OK.

digiKam Synology NAS Set up 4

  • STEP 7

After you click OK on STEP 6, select your “Install digiKam” Task then click the “Run” tab. You will be asked to run Install digiKam – click Yes. Follow the instructions in the image below.

digiKam Synology NAS Set up 5

  • STEP 8

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 9

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:3050 Click Next. Follow the instructions in the image below. Note: If you don’t get the welcome wizard, try to use the edge browser. If this doesn’t not work either, remember that a fresh browser page rather than a tab allows it to work at least every other time. If you are getting a black screen without any welcome message at STEP 5, change the image ghcr.io/linuxserver/digikam with the following one lscr.io/linuxserver/digikam:amd64-7.8.0-ls101

digiKam Synology NAS Set up 6

  • STEP 10

Configure where you keep your images. Leave everything as it is. Click Next. Follow the instructions in the image below.

digiKam Synology NAS Set up 7

  • STEP 11

A new pop up window will open. Click Yes. Follow the instructions in the image below.

digiKam Synology NAS Set up 8

  • STEP 12

Select the database type. If you don’t have any MariaDB databases, choose SQLite as per the instructions below. Click Next. Follow the instructions in the image below.

digiKam Synology NAS Set up 9

  • STEP 13

Configure Raw File Handling. Choose which option fits your needs, then click Next. Follow the instructions in the image below.

digiKam Synology NAS Set up 10

  • STEP 14

Configure Metadata Storage to Files. Choose which option fits your needs, then click Next. Follow the instructions in the image below.

digiKam Synology NAS Set up 11

  • STEP 15

Configure Preview Behavior. Choose which option fits your needs, then click Next. Follow the instructions in the image below.

digiKam Synology NAS Set up 12

  • STEP 16

Configure Open File Behavior. Choose which option fits your needs, then click Next. Follow the instructions in the image below.

digiKam Synology NAS Set up 13

  • STEP 17

Enabled Contextual Tooltips. Choose which option fits your needs, then click Next. Follow the instructions in the image below.

digiKam Synology NAS Set up 14

  • STEP 18

Click Finish. Follow the instructions in the image below.

digiKam Synology NAS Set up 15

  • STEP 19

Download Required Files. Click Download. Follow the instructions in the image below.

digiKam Synology NAS Set up 16

  • STEP 20

Once all files are downloaded successfully, click OK. Follow the instructions in the image below.

digiKam Synology NAS Set up 17

  • STEP 21

Enjoy digiKam!

digiKam Synology NAS Set up 18

  • STEP 22

Upload your own Pictures in docker / digikam / Pictures. Follow the instructions in the image below.

digiKam Synology NAS Set up 19

  • STEP 23

Stop the digiKam container, then restart it. Open the Docker package. On the left sidebar select Containers, then stop and restart your digiKam container to make sure you can see all the pictures you have previously uploaded at STEP 22. So the container needs to be restarted in order for you to be able to see your pictures.

  • STEP 24

Now open your browser and type in http://Synology-ip-address:3050

digiKam Synology NAS Set up 20

  • STEP 25

Edit your own pictures!

digiKam Synology NAS Set up 21

Note: If you want to run the digiKam container over HTTPS, check my guide on How to Run Docker Containers Over HTTPS.

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update the digiKam container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.

This post was updated on Friday / November 4th, 2022 at 9:22 PM