setiseta / docker-librenms

LibreNMS Docker based on Phusion Baseimage
23 stars 23 forks source link

Failed to mount volume of maridb #44

Open derekchangogogo opened 2 years ago

derekchangogogo commented 2 years ago

After run docker-compose up -d, i got this error. Could anyone please help? Thank you

Starting librenms-db ... error

ERROR: for librenms-db Cannot start service mysql: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/home/itadmin/librenms/50-server.cnf" to rootfs at "/etc/mysql/mariadb.conf.d/50-server.cnf" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: for mysql Cannot start service mysql: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/home/itadmin/librenms/50-server.cnf" to rootfs at "/etc/mysql/mariadb.conf.d/50-server.cnf" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type ERROR: Encountered errors while bringing up the project.

setiseta commented 2 years ago

there seems to be a mounting issue. but there is not alot information.

info: this repo / image is deprecated, there is an official image of librenms: https://hub.docker.com/r/librenms/librenms you should use this one.