NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
22.6k stars 2.62k forks source link

proxy-manager unhealthy & db restarting leading to bad gateway #682

Closed mlamb18 closed 3 years ago

mlamb18 commented 3 years ago

@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.

  1. my db keeps restarting where I use yobasystems/alpine-mariadb or jc21/mariadb-aria:10.4.
  2. my proxy manager is consistently unhealthy

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

services: web: build: context: ./webapp/ dockerfile: web ports:

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 3 years ago

@mlamb18 did you resolve it ? I get the same error