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

Nginx does not start after system reboot #1

Closed
StefanRother-OTOBO opened this issue Jul 20, 2020 · 4 comments
Closed

Nginx does not start after system reboot #1

StefanRother-OTOBO opened this issue Jul 20, 2020 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@StefanRother-OTOBO
Copy link
Contributor

It's a known issue. We need to fix it with a workarround.

@StefanRother-OTOBO StefanRother-OTOBO added the bug Something isn't working label Jul 20, 2020
@bschmalhofer
Copy link
Contributor

I have added the missing restart: always declarations for otobo_cron_1and otobo_nginx_1. Can you retry with 75c1530 ?

Worked for me. I started the containers, rebooted the host and started the docker daemon:

bernhard@bernhard-HP-250-G6-Notebook-PC:~/devel/OTOBO/otobo-docker$ docker-compose ps
     Name                    Command               State                    Ports                  
---------------------------------------------------------------------------------------------------
otobo_cron_1      bin/docker/entrypoint.sh cron    Up                                              
otobo_db_1        docker-entrypoint.sh --max ...   Up      3306/tcp                                
otobo_elastic_1   /tini -- /usr/local/bin/do ...   Up      9200/tcp, 9300/tcp                      
otobo_nginx_1     /docker-entrypoint.sh ngin ...   Up      0.0.0.0:443->443/tcp, 0.0.0.0:81->80/tcp
otobo_redis_1     docker-entrypoint.sh redis ...   Up      6379/tcp                                
otobo_web_1       bin/docker/entrypoint.sh web     Up    


bschmalhofer added a commit to RotherOSS/otobo that referenced this issue Jul 21, 2020
bschmalhofer added a commit to RotherOSS/otobo that referenced this issue Jul 21, 2020
@StefanRother-OTOBO
Copy link
Contributor Author

Hi,

I tested it not again, but I think it does not work for Nginx. It's a known error.
Did you test it and did it work for you?

Thanks, Stefan

@bschmalhofer
Copy link
Contributor

bschmalhofer commented Jul 24, 2020

Did you test it and did it work for you?

75c1530 worked for me. The fix is included in OTOBO 10.0.2. But I'll check again later this day.

For testing with a local devel image:

  1. git clone git@github.com:RotherOSS/otobo.git
  2. cd otobo
  3. git checkout rel-10_0
  4. git pull
  5. bin/docker/build_docker_images.sh
  6. Go to the otobo-doker dir and set OTOBO_IMAGE_OTOBO_NGINX=otobo-nginx-webproxy
  7. test

@svenoe : Could you check whether this works for you with OTOBO 10.0.2 ?

bschmalhofer pushed a commit that referenced this issue Sep 8, 2020
@bschmalhofer bschmalhofer assigned svenoe and unassigned bschmalhofer Sep 18, 2020
@bschmalhofer
Copy link
Contributor

Checked the reboot behavior with the local-10.0.x, that is pre 10.0.4, images and it looked good. Closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants