I’ve been successfully running Server 2.4.15 in a Docker container on my Synology for some years. I’ve just tried updating to Server 2.5 - and I’m having real problems getting it to start.
I’ve tried the latest, 2.5.x, latest-btrfs and 2.5.x-btrfs tags for the Docker image - and they all unexpectedly stop a few seconds after launching, with the last entry in the logs showing as Raising nice-ceiling to 35 failed. (errno=1) - though I’m not convinced this is the error causing the premature stop.
I’ve also tried with empty linked folders for /backups, /var/urbackup and /var/log - with no change in behaviour.
Does anyone have a 2.5 server Docker successfully running on their Synology and - if so - would you mind sharing how you achieved it?
I have a simple Synology setup that works, although I’m not sure if I’m showing you anything that you’d probably already know, but here goes:
YAML Configurations (Container Manager)
services:
urbackup:
image: uroni/urbackup-server:latest
container_name: urbackup
restart: unless-stopped
environment:
- PUID= # Enter the UID of the user who should own the files here
- PGID= # Enter the GID of the user who should own the files here
- TZ= # Enter your timezone
volumes:
- /volume1/docker/urbackup:/var/urbackup
- /volume1/docker/urbackup:/backups
# Uncomment the next line if you want to bind-mount the www-folder #- /path/to/wwwfolder:/usr/share/urbackup
network_mode: “host”
# Uncomment the following two lines if you’re using BTRFS support #cap_add:
# - SYS_ADMIN
# Uncomment the following two lines if you’re using ZFS support #devices:
# - /dev/zfs:/dev/zfs
Ahhh - I think I’ve found why this isn’t working for me: I’m running on an older Synology unit (DS1815+) which is limited to DSM 7.1.1 - and this only goes up to Linux kernel 3.10.108.
I’ve tried installing the 2.5 Docker image on a newer Synology (running DSM 7.3, which has Linux kernel 4.4.302) using similar settings to what I was trying - and this seems to start up correctly.
Sooo it looks like I’m falling off the end of software support for this older model. Oh well…