Hi any help about this. my docker is running for long months. then i had an issue something went wrong. I restarted all the docker instance then got a positive result
after 10 minutes i think it got problem with back end
DB Schema is not connected how to fix this
Did you run this verify while consoled into the librenms container? Did the DB container stop or restart? Anything in its logs?
Are you using the standard docker compose setup? If so, I believe it relies on the internal docker DNS resolver to resolve the name of the MariaDB container. By default I believe that container is just called db and its specified to LibreNMS under the environment > DB_HOST parameter in compose.
So when the failure occurs, are your able to ping db
or ping $DB_HOST
? And connect to the db from the librenms container? If you’re connected to the librenms container as the librenms user your should in theory be able to connect the DB with: mysql -h$DB_HOST -u$DB_USER -p$DB_PASSWORD