mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #682] proxy-manager unhealthy & db restarting leading to bad gateway #579
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#579
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 @mlamb18 on GitHub (Nov 1, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/682
@jc21 Hello,
I have been working on this issue for days to no avail. I am working on using this but everytime I launch my docker compose I run into 2 issues.
Current steps:
Extra info:
FROM ubuntu:18.04
MAINTAINER XXX
COPY index.html /var/www/html/index.html
RUN apt-get update && apt-get install -y apache2 && apt-get clean
EXPOSE 8000
CMD apachectl -D FOREGROUND
FROM 'jc21/nginx-proxy-manager'
MAINTAINER XXX
Here is my config.json file
{
"database": {
"engine": "mysql",
"host": db,
"name": "npm",
"user": "npm",
"password": "npm",
"port": 3306
}
}
Here is my docker compose file:
version: '3'
services:
web:
build:
context: ./webapp/
dockerfile: web
ports:
reverse-proxy:
build:
context: ./reverse-proxy/
dockerfile: proxy
restart: always
ports:
volumes:
depends_on:
db:
image: yobasystems/alpine-mariadb
restart: always
ports:
3306:3306
environment:
MYSQL_ROOT_PASSWORD: 'npm'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npm'
volumes:
./data/mysql:/var/lib/mysql
here is my docker ps
d4f9c33d21ae web_app_reverse-proxy "/init" 7 minutes ago Up 7 minutes (unhealthy) 0.0.0.0:80-81->80-81/tcp, 0.0.0.0:443->443/tcp web_app_reverse-proxy_1
743e12c43e37 yobasystems/alpine-mariadb "/scripts/run.sh" 7 minutes ago Restarting (1) Less than a second ago web_app_db_1
329b8a367427 web_app_web "/bin/sh -c 'apachec…" 7 minutes ago Up 7 minutes 80
2020-11-01 20:25:27 0 [Note] /usr/bin/mysqld (mysqld 10.4.12-MariaDB) starting as process 1 ...
2020-11-01 20:25:27 0 [Warning] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
2020-11-01 20:25:27 0 [Note] InnoDB: Using Linux native AIO
2020-11-01 20:25:27 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-11-01 20:25:27 0 [Note] InnoDB: Uses event mutexes
2020-11-01 20:25:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-11-01 20:25:27 0 [Note] InnoDB: Number of pools: 1
2020-11-01 20:25:27 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-11-01 20:25:27 0 [Note] mysqld: O_TMPFILE is not supported on /var/tmp (disabling future attempts)
2020-11-01 20:25:27 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2020-11-01 20:25:27 0 [Note] InnoDB: Completed initialization of buffer pool
2020-11-01 20:25:27 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2020-11-01 20:25:27 0 [ERROR] InnoDB: Unsupported redo log format. The redo log was created with MariaDB 10.5.6.
2020-11-01 20:25:27 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2020-11-01 20:25:28 0 [Note] InnoDB: Starting shutdown...
2020-11-01 20:25:28 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-11-01 20:25:28 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-11-01 20:25:28 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-11-01 20:25:28 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2020-11-01 20:25:28 0 [ERROR] Aborting
@anselal commented on GitHub (Jan 4, 2021):
@mlamb18 did you resolve it ? I get the same error