LibreNMS Docker on Synology Starting then Stopping

LibreNMS Docker Starting then Stopping

Hi there
Recently heading down the path of installing LibreNMS on my Synology NAS in Docker.

Upon starting it up it stays up for a second or so then stops.

The only information I see in the logs is as follows:
2018-10-01 09:29:49 stdout Oct 1 11:29:49 e45f431f3034 syslog-ng[15]: syslog-ng shutting down; version=‘3.13.2’
2018-10-01 09:29:49 stderr *** Killing all processes…
2018-10-01 09:29:49 stderr
2018-10-01 09:29:49 stderr *** /etc/my_init.d/4_config failed with status 1
2018-10-01 09:29:49 stdout Error: APP_KEY is unset
2018-10-01 09:29:49 stderr *** Running /etc/my_init.d/4_config…
2018-10-01 09:29:48 stderr *** Running /etc/my_init.d/3_timezone…
2018-10-01 09:29:48 stderr *** Running /etc/my_init.d/2_ipv6…
2018-10-01 09:29:48 stderr *** Running /etc/my_init.d/1_ssl…
2018-10-01 09:29:47 stdout Oct 1 11:29:47 e45f431f3034 syslog-ng[15]: syslog-ng starting up; version=‘3.13.2’
2018-10-01 09:29:47 stderr *** Running /etc/my_init.d/10_syslog-ng…
2018-10-01 09:29:47 stderr *** Running /etc/my_init.d/0_cron…

What did I do wrong?

running
docker run --rm jarischaefer/docker-librenms generate_key
solved my problem :slight_smile:

It is mentioned in the documentation as well:

It should be generated once and is not Synology Docker implementation specific.

1 Like

True. It was missing in the tutorial I was following though. I’ll let its author know.