Skip to content

Broken PWD in Alpine-Traefik #4837

@Redplcs

Description

@Redplcs

✅ Have you read and understood the above guidelines?

yes

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

alpine-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.

When using providers (i.e Traefik Proxmox Provider) the plugins are silently breaks. I found out that it tries to create plugins-storage folder at the root and fails with permission denied. After some research, thanks to traefik community, traefik tries to create it in current folder, but the pwd is root. I've fixed it by adding directory=/etc/traefik in /etc/init.d/traefik file

🔄 Steps to reproduce the issue.

  • Create LXC Traefik Alpine Container
  • Install Traefik Proxmox Provider

❌ Paste the full error output (if available).

time="2022-11-03T16:09:42+01:00" level=error msg="Plugins are disabled because an error has occurred." error="mkdir plugins-storage: permission denied"

🖼️ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions