Closed robinjanke closed 5 years ago
Hello, Do you go on: /ocsreports ?
Did you mean the /var/lib/ocsinventory-reports/ocsreports folder? @MyTheValentinus
No. Go on http://YOURURL/ocsreports/ and tell me what you see
had the same isssue went to ocsreports it gave me an mysqlerror corrected it Now its empty But still when i go to http://myurl i get apache
[Update] After a fresh install, (git clone -> setup.sh) everything is working
Same issue, anything new ?
cat /var/log/apache2/error.log
PHP Warning: mysqli_fetch_object() expects parameter 1 to be mysqli_result, boolean given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 38
PHP Warning: mysqli_fetch_object() expects parameter 1 to be mysqli_result, boolean given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 38
PHP Warning: require(install.php): failed to open stream: No such file or directory in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 167
PHP Fatal error: require(): Failed opening required 'install.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 167
I've got the same issue. Anybody could help please ?
Here after is what I get when I run
sudo docker exec -it ocsinventory-server bash
root@a74bb96a2822:/tmp/ocs# cat /var/log/apache2/error.log
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Wed Jul 25 17:19:22.394398 2018] [mpm_prefork:notice] [pid 9] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations
[Wed Jul 25 17:19:22.394539 2018] [core:notice] [pid 9] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
Still happening here!
General informations
Docker host's operating system : MacOS 10.13.2 (17C88) MacBook Pro (17", Mid 2010)
Docker informations
Docker compose version : docker-compose version 1.16.1, build 6d1ac21 Docker version : Docker Version 17.09.0-ce-mac35 (19611) Channel: stable
Problem's description
Describe your problem here I get the apache2 default site when starting with docker-compose up. I used the standard compose file and did no changes. There is also no apache2 .conf file for ocs. When i edit the default one and add the path for ocs folder i get a 403 error. Changing permissions to 755 and www-data won't help.
When i start the containers with docker-compose up without detach i get the following output: