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

container can't restart #48

Open
taiit3s opened this issue Aug 26, 2020 · 5 comments
Open

container can't restart #48

taiit3s opened this issue Aug 26, 2020 · 5 comments

Comments

@taiit3s
Copy link

taiit3s commented Aug 26, 2020

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 : Ubuntu 20.04/ MacOS 10.15
Mysql Server version :

Docker informations

Docker compose version : 2.6/2.7
Docker version : 19.03.12, build 48a66213fe (Ubuntu)

Problem's description

Describe your problem here
When i stop docker or container. The container of OCS can't restart. I use defaut docker-compose file from your source. I tried both versions but got the same error (2.6/2.7)

  • PC Ubuntu 20.04 OCS-srv container logs:
    ...
    AH00558: httpd: 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
    httpd (pid 20) already running
    AH00558: httpd: 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
    AH00558: httpd: 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
    AH00558: httpd: 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
    httpd (pid 20) already running
    AH00558: httpd: 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
    AH00558: httpd: 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

image

Sometimes when I re-run: docker-compose up -d and wait a long time then it works Looks like it's not very stable.Can you help me, please?

@taiit3s taiit3s changed the title container auto can't restart container can't restart Aug 26, 2020
@som1712
Copy link

som1712 commented Oct 6, 2020

Same problem here

@taiit3s
Copy link
Author

taiit3s commented Oct 13, 2020

Same problem here

A temporary solution is to use docker-compose down and then up again

@Neustradamus
Copy link

Any news?

@alifro81
Copy link

Bonjour,

J'ai le même problème par rapport le problème ServerName:

<< AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.0.3.85. Set the 'ServerName' directive globally to suppress this message >>

quelqu'un a pu trouvé une solution?
Cdt

@neomathews
Copy link

Hi,
I used to apply this workaround:

docker stop ocscontainer
docker start ocscontainer
docker exec -it ocscontainer bash -c "wget --no-check-certificate https://raw.githubusercontent.com/OCSInventory-NG/OCSInventory-ocsreports/master/install.php -O /usr/share/ocsinventory-reports/ocsreports/install.php" (before the container goes down again)

later probably will delete the file /usr/share/ocsinventory-reports/ocsreports/install.php

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

5 participants