Hi,
With Portainer on Debian. I’m trying to create a stack from the git repo and the “additional path” function is required for me to add a file for the compose file. The problem is, that it is impossible to describe the patch. I have a file on the file system under `/mnt/lvol-docker/AppData/netbox/docker-compose.override.yml`, but when deploying the stack I have an error message saying that the directory or file does not exist. Weirdly enough my described path is appended with `/data/compose/78/b47e85ab3f2261021adf99ae9de2e9692fd674c3/mnt/lvol-docker/AppData/netbox/docker-compose.override.yml` but such a directory not exist. If I create such a directory structure and drop my file, then it looks like another random directory with a different number/name.

https://preview.redd.it/6qywnapaxd1c1.png?width=1594&format=png&auto=webp&s=db4eb1197769db29ebab7f8a98b2abc27cddf47d

What I’m missing here? Or maybe something else is involved? Any hints?

Thank you.

  • Jente_Postma@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Have you tried using the absolute path for the additional file instead of a relative one? It might help resolve the issue. Good luck!

    • boolve@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I did. Usually I never use a relative way to describe the patch. But thanks for suggesting it.