Just tested a fresh install… and it worked on my end. Syno 916+
Could you try these commands, I’ve adjusted to match your settings
(ignore the TZ , we’re testing here)
mkdir /volume1/docker/mariadb-test
docker run \
-v /volume1/docker/mariadb-test:/var/lib/mysql \
-e MYSQL_ROOT_PASSWORD="rooting" \
-e TZ=Asia/Singapore \
--name mariadb-test \
-d \
--restart always \
mariadb:latest \
--sql-mode=''
docker exec -it mariadb-test mysql -u root
(if you get error 2002, wait for few seconds and try again)
CREATE DATABASE librenms CHARACTER SET utf8 COLLATE utf8_unicode_ci;
CREATE USER 'librenms'@'%' IDENTIFIED BY 'libre_password';
CREATE USER 'librenms'@'localhost' IDENTIFIED BY 'libre_password';
GRANT ALL PRIVILEGES ON librenms.* TO 'librenms'@'%';
FLUSH PRIVILEGES;
exit
docker restart mariadb-test
mkdir -p /volume1/docker/librenms-test/{logs,rrd}
touch /volume1/docker/librenms-test/custom.config.php
docker run \
-p 8669:80 \
-e DB_HOST=db \
-e DB_NAME=librenms \
-e DB_USER=librenms \
-e DB_PASS=libre_password \
-e APP_KEY="base64:EnvObkEFPuBasVQ/kabnYM8GCKI8k1eN7SWaSA90wbI=" \
-e BASE_URL=http://10.10.10.50:8669 \
-e TZ=Asia/Singapore \
--link mariadb-test:db \
-v /volume1/docker/librenms-test/logs:/opt/librenms/logs \
-v /volume1/docker/librenms-test/rrd:/opt/librenms/rrd \
-v /volume1/docker/librenms-test/custom.config.php:/opt/librenms/conf.d/custom.config.php:ro \
--name librenms-test \
-d \
--restart always \
jarischaefer/docker-librenms:latest
(I’m using port 8669 here)
docker exec -it librenms-test setup_database
(this takes a while…)
docker exec librenms-test create_admin
Hopefully everything works, try logging in @ http://10.10.10.50:8669
Let me know if this set of commands works on your end, its basically the same command I ran with change of IP to match yours on the -e BASE_URL
(Fingers crossed )