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

Shut down itself #21

Open
ckwcfm opened this issue Jun 28, 2023 · 4 comments
Open

Shut down itself #21

ckwcfm opened this issue Jun 28, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@ckwcfm
Copy link

ckwcfm commented Jun 28, 2023

it shut down itself after few hours it start.

@abesnier
Copy link
Owner

That's not an issue I've ever encountered.

Can you confirm the tag you are using, the architecture, and your command line/docker-compose?

@ckwcfm
Copy link
Author

ckwcfm commented Jun 29, 2023

thank you for your reply, I am using this image: guacamole:1.5.2-alpine-pg15
and here is my docker-compose.yml. I am using in a docker swarm environment

version: "3"
services:
  guacamole:
    image: abesnier/guacamole:1.5.2-alpine-pg15
    networks:
      - tailscale
      - proxy
    user: root
    volumes:
      - gua-config:/config
    deploy:
      restart_policy:
        condition: on-failure
      placement:
        constraints:
          - node.labels.manager == ironman

networks:
  tailscale:
    external: true
  proxy:
    external: true

volumes:
  gua-config:

@abesnier
Copy link
Owner

I can't really find why it would crash, and because docker compose does not keep logs of stopped containers, the only solution I see for trouble shooting would be to mount the Tomcat logs directory, to make them persistent.

Could you mount it (i.e. tomcat-log:/opt/tomcat/logs in the volume section)? Then after a crash, post the last lines of the file catalina.(timestamp).log

Another more radical approach could be to also test another image (like latest-1.5.2), that does not require any changes, and configuration is maintained.

Sorry I can't do much more right now.

@abesnier abesnier added the bug Something isn't working label Jun 29, 2023
@ckwcfm
Copy link
Author

ckwcfm commented Jul 8, 2023

no problem. I will do that can reply. thanks a lot

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

2 participants