Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on starting "ocsinventory-db" #82

Open
Tanarri opened this issue Apr 25, 2022 · 0 comments
Open

Error on starting "ocsinventory-db" #82

Tanarri opened this issue Apr 25, 2022 · 0 comments

Comments

@Tanarri
Copy link

Tanarri commented Apr 25, 2022

It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.

General informations

Docker host's operating system : Debain 11
Mysql Server version : 8.0.26

Docker informations

Docker compose version : docker-compose version 1.29.2, build 5becea4c
Docker version : Docker version 20.10.14, build a224086

Problem's description

Ocs Docker Image is 2.9.2
When I start "docker-compose up" all seems to install correct, but on start of "ocsinventory-db" there is error

ocsinventory-db   | 2022-04-25 14:45:04+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.28-1debian10 started. 
ocsinventory-db   | 2022-04-25 14:45:05+00:00 [Note] [Entrypoint]: Switching to dedicated user mysql 
ocsinventory-db   | 2022-04-25 14:45:05+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.28-1debian10 started.
ocsinventory-db   | 2022-04-25T14:45:05.468190Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.28) starting as process 1
ocsinventory-db   | 2022-04-25T14:45:05.501060Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
ocsinventory-db   | 2022-04-25T14:45:05.671155Z 1 [ERROR] [MY-012963] [InnoDB] Log file ./ib_logfile1 is of different size 0 bytes than other log files 17793024 bytes!
ocsinventory-db   | 2022-04-25T14:45:05.671365Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
ocsinventory-db   | 2022-04-25T14:45:06.150045Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
ocsinventory-db   | 2022-04-25T14:45:06.151002Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
ocsinventory-db   | 2022-04-25T14:45:06.151768Z 0 [ERROR] [MY-010119] [Server] Aborting
ocsinventory-db   | 2022-04-25T14:45:06.153015Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.28)  MySQL Community Server - GPL.`

because of this the "ocsinventory-db" restarts every minute.
This is a fresh install of ocs-inventory

Additional I get following error when I open http:///ocsreports/
grafik

Any suggestions?

Greetings
TanarRi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant