DB Connection Issues - Upgrade - 2.9.4
See original GitHub issueSeem to have db connection issues with every upgrade and they are probably unrelated to NPM but always best to check.
I’ve updated to 2.9.4 and since the update, the app is reporting is unhealthy with connection issues to the db. Existing rules are working but I cannot login to NPM.
App logs are showing - error select * from migrations_lock
- ER_UNKNOWN_STORAGE_ENGINE: Unknown storage engine ‘InnoDB’
Every second or so. Anyone else seeing similar issues? Have removed existing containers and re-pulled without success.
This is on an RPI4.
My Docker compose -
version: ‘3’ services: app: image: ‘jc21/nginx-proxy-manager:latest’ restart: always ports: - ‘80:80’ - ‘81:81’ - ‘443:443’ environment: DB_MYSQL_HOST: “db” DB_MYSQL_PORT: 3306 DB_MYSQL_USER: “DBUSERNAME” DB_MYSQL_PASSWORD: “DBPASSWORD” DB_MYSQL_NAME: “DBNAME” volumes: - /home/pi/Docker/npm/data:/data - /home/pi/Docker/npm/letsencrypt:/etc/letsencrypt depends_on: - db db: image: ‘jc21/mariadb-aria:latest’ restart: always environment: MYSQL_ROOT_PASSWORD: ROOTPASSWORD MYSQL_DATABASE: DBNAME MYSQL_USER: DBUSERNAME MYSQL_PASSWORD: DBPASSWORD volumes: - /home/pi/Docker/npm/data/mysql:/var/lib/mysql
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (4 by maintainers)
Top GitHub Comments
Sure -
Backup your configuration first!
Should be all that is required. Keep an eye on the log - best way to do this is via Portainer and then you can clear up the other mysql directories inside /npm/data/ as they are no longer required.
Hmm, can you be helpfull and point on how to achieve this. I tried making a dump of my mariadb and convert it with at script, but when i tried to start with sqlite3 file it just deleted the file and startet from scratch.