Replies: 3 comments 2 replies
-
Not sure if the location makes a difference but I re-map all my logs without issue. My compose looks like this
In theory |
Beta Was this translation helpful? Give feedback.
-
Thank you, Would you mind to test it with a path outside of the docker container? I chmodded everything, including the symlink to 777, so permissions are good. I just don't know, if PMM allows to point the logs to somewhere else or what exactly PMM complains about in my first post.
I only found this wiki page for the unrad walkthrough and it seems to me, that the path is fixed?
|
Beta Was this translation helpful? Give feedback.
-
I recognized, that after a restart of the docker container, everything worked as expected. %-/ Still, PMM creates a folder "logs", but it stays empty and PMM writes everything to the symlinked folder now. Note to myself: Thank you @mikenobbs for helping! |
Beta Was this translation helpful? Give feedback.
-
Hello,
I want the PMM logs not to be written to my SSD (where the
/config
from the docker configuration points to), but to/tmp
(ramdisk).The PMM docker container points
/config
to/mnt/users/appdata/pmm
so I created a symlink
logs
from/mnt/users/appdata/pmm
to/tmp/pmm.logs
via this script
Now, when starting pmm, I get this error:
It seems, PMM doesn't like a symlink where it expects a folder?
So I tried another approach:
I also tried to set the folder from the docker config, like
-v '/tmp/pmm.logs/':'/config/logs':'rw'
, but that also did not work. PMM ignores my wish and still writes to/mnt/users/appdata/pmm/logs
instead of/tmp/pmm.logs
.Maybe I did something wrong here?
What might be the easiest way to have PMM write its logs to the hosts
/tmp
folder?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions