OCSInventory-NG / OCSInventory-Docker-Image

Docker image for OCSInventory Server
GNU General Public License v3.0
80 stars 96 forks source link

Missing items, MySQL not loading #113

Open lukebarone opened 10 months ago

lukebarone commented 10 months ago

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 : Debian Bookworm Mysql Server version : 8.0.35

Docker informations

Docker compose version : Docker version :

Problem's description

  1. Clone the repo. Go into the 2.12.1 folder, and run docker-compose up
  2. Get the following to the logging out:
ocsinventory-server | +----------------------------------------------------------+
ocsinventory-server | |                 OK, prepare finshed ;-)                  |
ocsinventory-server | |                                                          |
ocsinventory-server | |      Starting OCS Inventory NG Management Docker...      |
ocsinventory-server | +----------------------------------------------------------+
ocsinventory-server |
ocsinventory-server | /docker-entrypoint.sh: Configuration complete; ready for start up
ocsinventory-server | ocsinventory-server: Bad setting. `SCAN_ARP_BANDWIDTH` is not set. Default: `256`
ocsinventory-server | ocsinventory-server: Bad setting. `GENERATE_OCS_FILES_SNMP` is not set. Default: `0`
ocsinventory-server | ocsinventory-server: Bad setting. `SCAN_TYPE_SNMP` is not set. Default: `ICMP`
ocsinventory-server | ocsinventory-server: Bad setting. `SCAN_TYPE_IPDISCOVER` is not set. Default: `ICMP`
ocsinventory-server | [Sat Jan 13 22:36:36 2024] OCSINVENTORY: (SOAP): Cannot find XML::Entities
ocsinventory-server | ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
ocsinventory-server | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.22.0.3. Set the 'ServerName' directive globally to suppress this message
ocsinventory-server | ocsinventory-server: Bad setting. `SCAN_ARP_BANDWIDTH` is not set. Default: `256`
ocsinventory-server | ocsinventory-server: Bad setting. `SCAN_TYPE_IPDISCOVER` is not set. Default: `ICMP`
ocsinventory-server | ocsinventory-server: Bad setting. `GENERATE_OCS_FILES_SNMP` is not set. Default: `0`
ocsinventory-server | ocsinventory-server: Bad setting. `SCAN_TYPE_SNMP` is not set. Default: `ICMP`
ocsinventory-server | [Sat Jan 13 22:36:40 2024] OCSINVENTORY: (SOAP): Cannot find XML::Entities
ocsinventory-server | ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
  1. Try going to http://docker-host-ip:port/ocsreports/ and I see a red error on an otherwise blank screen reading:
ERROR: MySql connection problem 2002
Connection refused
ERROR: MySql connection problem 2002
Connection refused