Skip to content

Machine-translated – improvements welcome. Suggest an improvement

QNAP NAS (Container Station)

Tested: template automatically, device not yet

The template on this page is started as a trial on GitHub's machines with every change (Linux with Docker, amd64). There is no report from a real device yet. What that means is described under Tested platforms.

This is how you set up Ablago on a QNAP NAS with QTS 5 or QuTS hero and Container Station 3, without the command line.

Simplest: one container

To get started, we recommend one container from the image ghcr.io/motom001/dms-komplett:stabil – without a project and password, see One container: dms-komplett and One or two containers?. The project with two containers below is the path for advanced users.

1. Install Container Station

Install Container Station in the App Center and open it once. This creates the shared folder Container.

2. Create folders

In File Station, create a folder dms in the folder Container. Inside it, four folders: postgres, files, geheim and sicherung.

Intake folder for the scanner

Also create a fifth folder eingang next to them. The template mounts it, and some NAS abort on start if a mounted folder is missing. It becomes the Intake folder: every file your scanner or the NAS puts there becomes new post. Share it on the NAS for the scanner. If you don't need a scanner, it simply stays empty.

3. Create the application

  1. Container Station → Applications → Create.
  2. Application name: dms.
  3. Paste the content of the template deploy/qnap/docker-compose.yml into the YAML field.
  4. Enter the password at the very top: in the line x-passwort:, replace HIER-EIN-LANGES-PASSWORT-EINTRAGEN with a long password made of letters and numbers.
  5. The paths /share/Container/dms/… match the folder from step 2. If it is somewhere else, adjust them.
  6. Validate and Create.

Change the password before the first start

The database takes over the password only on the very first start.

4. Set up

  1. Open http://<NAS>:8080 in your browser.
  2. The setup code is shown under Container Station → Containers → dms-app-1 → Logs. It is also in the file Container/dms/geheim/EINRICHTUNGSCODE.
  3. The wizard does not ask for the database; it is already connected.

How the wizard continues: Choose Set up new – or Restore from a backup if you are moving from another device. Then you enter the name of your household and create your account – with your email address and your password; it may administer Ablago. Then you say what you use Ablago for – home, work or both; for work straight away with your organisation. After that you decide what Ablago may do; matching that, Ablago chooses the packages such as text recognition, and optional things like sending email follow. After "Set up now" you receive the key and emergency sheet. Every step has ? Help with pictures at the top right; everything is described in detail in the Administrator manual.

Updates

Container Station → Applications → dms → Action → Recreate, pulling the images anew. The data stays in the folders.

Off-site backup

Ablago's backups (Workbench → Backup) end up in Container/dms/sicherung. With Hybrid Backup Sync you copy the folder to a USB disk, a second NAS or cloud storage. The backups are encrypted, so cloud storage only sees unreadable files. Exports are not included: a full export is unencrypted and is therefore kept in its own export folder, never with the backups.

Pictures to follow

This guide has no screenshots yet. If a menu item looks different for you, feel free to write it in an issue.