We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ac9e93 commit 621cabfCopy full SHA for 621cabf
rootfs/etc/cont-init.d/nginx-proxy-manager.sh
@@ -114,6 +114,12 @@ if [ ! -f /config/db_init_in_progress ]; then
114
/usr/bin/mysql_upgrade --silent
115
fi
116
117
+# Make sure there is no migration lock held.
118
+# See https://github.com/jlesage/docker-nginx-proxy-manager/issues/4
119
+if [ ! -f /config/db_init_in_progress ]; then
120
+ echo 'DELETE FROM nginxproxymanager.migrations_lock WHERE is_locked = 1;' | mysql
121
+fi
122
+
123
# Database initialized properly.
124
rm -f /config/db_init_in_progress
125
0 commit comments