OCSInventory-NG / OCSInventory-Docker-Stack

Docker stack for OCSInventory Server
GNU General Public License v3.0
40 stars 38 forks source link

Always got this issue -> AH00526: Syntax error on line 77 of /etc/apache2/conf-enabled/z-ocsinventory-server.conf: #16

Open tarocjsu opened 10 months ago

tarocjsu commented 10 months ago
+----------------------------------------------------------+ OK, prepare finshed ;-)
Starting OCS Inventory NG Management Docker...

+----------------------------------------------------------+

/docker-entrypoint.sh: Configuration complete; ready for start up AH00526: Syntax error on line 77 of /etc/apache2/conf-enabled/z-ocsinventory-server.conf: PerlSetEnv takes two arguments, PerlSetEnv

tarocjsu commented 10 months ago

use this docker-compose.yml

Kenny3231 commented 7 months ago

I have the same problem with docker-compose

x4x commented 3 months ago

+1

    74    # If you need to specify a mysql socket that the client's built-in
    75    #PerlSetEnv OCS_OPT_DBI_MYSQL_SOCKET "path/to/mysql/unix/socket"
    76    # DBI verbosity
    77    PerlSetEnv OCS_OPT_DBI_PRINT_ERROR

in z-ocsinventory-server.conf there is a 0 missing on the end of the line.

AlexxCeption commented 2 months ago

I've the same problem :-(

image

Neptoos commented 2 months ago

As a workaround until it has been fixed. you can mount "/etc/apache2/conf-available" and edit the line in z-ocsinventory-server.conf as @x4x already stated. Comment the line or add the 0. Both works.