Skip to content

[SOLVED] Error when attaching Sablier middleware to a Traefik router config on docker swarm stack/service. #294

Answered by evmolpos
evmolpos asked this question in Q&A
Discussion options

You must be logged in to vote

if Traefik.log report back the following error, it's because Traefik has no permissions to create the directory plugins-storage.

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"

Explanation:
Traefik tries to create directory /plugins-storage on the filesystem root.

If you run Traefik container using non root user for security reasons, then Traefik can not create the directory . permission-denied.

Solution:

Inspired by
Can’t use plugins - error=“mkdir plugins-storage: permission denied”

Steps:

  1. Bind mount the plugins-storage directory to the root (/) of the traefik container. You need it …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by evmolpos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant