Skip to content

Alpine-Traefik restarts on its own #4866

@Redplcs

Description

@Redplcs

✅ Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Traefik

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-traefik.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

📝 Provide a clear and concise description of the issue.

After you're starting LXC container with Alpine OS, Traefik after small amount of time restarts. You can check this behavior by running rc-status. Traefik restarts and after around 5 or 7 restarts shows failed status. I've checked the logs and It seems like Traefik after initialization stops throwing messages I have to go... and Stopping server gracefully. Looks like something sends SIGINT into Traefik. I've took launch command from OpenRC and run Traefik with traefik --configFile=/etc/traefik/traefik.yaml and after 5 minutes everything fine. I see only a single I have to go... message. I think the problem is in OpenRC service file. After Traefik launch it's closes it automatically. Can it skip close step or whatever it called

🔄 Steps to reproduce the issue.

  • Just install script and run container

❌ Paste the full error output (if available).

traefik-running-through-openrc.log
traefik-running-manually.log

🖼️ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalThis problem is external

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions