mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #502] migration failed with error: show fields from proxy_host where field = 'forward_ip' #429
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#429
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThomLS on GitHub (Jul 12, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/502
I'm receving the following error while doing the normal set-up of NGINX proxy manager.
migration failed with error: show fields from
proxy_hostwhere field = 'forward_ip' - ER_OPEN_AS_READONLY: Table '/var/tmp/#sql_1_0.MAI' is read only[7/12/2020] [3:34:14 PM] [Global ] › ✖ error show fields from
proxy_hostwhere field = 'forward_ip' - ER_OPEN_AS_READONLY: Table '/var/tmp/#sql_1_0.MAI' is read only[7/12/2020] [3:34:15 PM] [Migrate ] › ℹ info Current database version: 20180929054513
[7/12/2020] [3:34:15 PM] [Migrate ] › ℹ info [forward_host] Migrating Up...
migration file "20181019052346_forward_host.js" failed
migration failed with error: show fields from
proxy_hostwhere field = 'forward_ip' - ER_OPEN_AS_READONLY: Table '/var/tmp/#sql_1_0.MAI' is read only[7/12/2020] [3:34:15 PM] [Global ] › ✖ error show fields from
proxy_hostwhere field = 'forward_ip' - ER_OPEN_AS_READONLY: Table '/var/tmp/#sql_1_0.MAI' is read only[7/12/2020] [3:34:16 PM] [Migrate ] › ℹ info Current database version: 20180929054513
[7/12/2020] [3:34:16 PM] [Migrate ] › ℹ info [forward_host] Migrating Up...
migration file "20181019052346_forward_host.js" failed
migration failed with error: show fields from
proxy_hostwhere field = 'forward_ip' - ER_OPEN_AS_READONLY: Table '/var/tmp/#sql_1_0.MAI' is read only[7/12/2020] [3:34:16 PM] [Global ] › ✖ error show fields from
proxy_hostwhere field = 'forward_ip' - ER_OPEN_AS_READONLY: Table '/var/tmp/#sql_1_0.MAI' is read only[7/12/2020] [3:34:17 PM] [Migrate ] › ℹ info Current database version: 20180929054513
[7/12/2020] [3:34:17 PM] [Migrate ] › ℹ info [forward_host] Migrating Up...
migration file "20181019052346_forward_host.js" failed
migration failed with error: show fields from
proxy_hostwhere field = 'forward_ip' - ER_OPEN_AS_READONLY: Table '/var/tmp/#sql_1_0.MAI' is read only@jaaacck commented on GitHub (Aug 27, 2020):
I am also getting the same issue with a brand new build today:
Any suggestions?
@jc21 commented on GitHub (Aug 27, 2020):
This is a mysql database issue. The MySQL database files have somehow changed permissions so that MySQL daemon is unable to open the file. Check the data permissions, if using a mysql/mariadb docker image for the database, the files need to be a specific user as well.
@jaaacck commented on GitHub (Aug 28, 2020):
Permissions were fine. Owned by MySQL:
Ended up moving to MySQL and container started and connected without any issues. I could replicate this on multiple nodes within our environment.
Here was my docker-compose.yml:
Apart form the MariaDB hiccup the tool is working perfectly without a hitch