mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #393] 500 Internal error on access lists #335
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#335
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 @modem7 on GitHub (May 2, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/393
Latest version
@Indemnity83 commented on GitHub (May 10, 2020):
Any chance of getting the java console log, network response, or docker log for this? not going to be able to do much without more information here.
@modem7 commented on GitHub (May 10, 2020):
Of course!
Nginx Docker log:
https://pastebin.com/rhJvhKtz
Nginx DB Docker log:
https://pastebin.com/MQ1vz2eL
Docker compose:
https://pastebin.com/7Ny5fRTi
Let me know if you need the java log and network response (unsure how to get the network response in this case) on top of these.
Thanks!
@Indemnity83 commented on GitHub (May 11, 2020):
I notice in your compose file you have an image commented out; did you use
mariadb:latestwhen upgrading to v2.2.3?It may have created to access_list_client table using
InnoDB. thejc21/mariadb-ariaimage disablesInnoDB, which would cause the error you're seeing above.Try swapping back to
mariadb:latestand see if it works. I'm not sure what the ramifications are of usingInnoDBhere are, @jc21 would probably have to weigh in if it means you need to actually 'fix' your database or just stick withmariadb:latest.@modem7 commented on GitHub (May 11, 2020):
Ah no, the update was done a few months ago - I need to clean up my docker compose!
I've been on mariadb-aria since just before March. The docker-compose file (for Nginx + DB) hasn't been changed since around that time as it was working as intended (me being a dumbass should have probably put versioning instead of auto-updating to latest however)
@Indemnity83 commented on GitHub (May 11, 2020):
It may still be that the database is set to use InnoDB as the default table storage engine.
I still think it is worth trying (after making a backup) swapping back to the
mariadb:latestimage for the DB. It really looks like your accees_list_clients table got built with the InnoDB engine andjc21/mariadb-ariawon't be able to open it@Indemnity83 commented on GitHub (May 11, 2020):
seems like it would fix it, but I obviously have no way to test this
@modem7 commented on GitHub (May 11, 2020):
Ahhah - do you know if (and I'll make a backup regardless of the volume(s)) npm will re-create the database entries and populate with the data?
If not, it's no biggie, bit of a bugger but 20 minutes of work will restore the whole thing
I'll try doing the alter table and see if it resolves (gotta figure out how to first!) (after a backup)
@Indemnity83 commented on GitHub (May 11, 2020):
the DB container should just come up with all the data still in-tact (it's all in the /var/lib/mysql volume).
@modem7 commented on GitHub (May 13, 2020):
Looks like switching to mariadb did the job!
Do we want to keep this open to investigate jc21/mariadb-aria or close it?
Thank you very much!
@Indemnity83 commented on GitHub (May 13, 2020):
I’m certain it’s because the DB was created in one environment then switched. Generally not a problem until a new table is added.
There may be a similar alter database command to change the default table engine too.
@modem7 commented on GitHub (May 13, 2020):
For now, let's assume that your thoughts are correct on this one! I know I did recreate things, but whether I did it with the same volume or not, I cannot recall!
We'll close this for now as things are working as intended, and hopefully it won't resurface!
Thank you once again!