Describe the bug
I've a lot of symlinks in my media directory. (downloads/movies/music/tv). Whenever I try to start runtipi it tries to create the directories and fails to start. Log says:
Error: ENOTDIR: not a directory, mkdir '/data/media/downloads'.
If I rename the symlinks, let him create the directories, it starts up. I can then delete them and rename the symlinks again which is kind of tedious but works :)
To Reproduce
Steps to reproduce the behavior:
Create Symlink instead of /media/downloads directory
Try to start runtipi
Expected behavior
It should not care if the directories are directories or symlinks and just start up.
Server (please complete the following information):
--- System information ---
┌──────────────┬──────────────────┐
│ OS │ linux - Ubuntu 23.10 │
├──────────────┼──────────────────┤
│ OS Version │ 6.5.0-26-generic │
├──────────────┼──────────────────┤
│ Memory (GB) │ 15.00 │
├──────────────┼──────────────────┤
│ Architecture │ amd64 │
└──────────────┴──────────────────┘
--- Tipi configuration ---
┌───────────────────────────┬────┐
│ Custom tipi docker config │ No │
└───────────────────────────┴────┘
Describe the bug I've a lot of symlinks in my media directory. (downloads/movies/music/tv). Whenever I try to start runtipi it tries to create the directories and fails to start. Log says: Error: ENOTDIR: not a directory, mkdir '/data/media/downloads'.
If I rename the symlinks, let him create the directories, it starts up. I can then delete them and rename the symlinks again which is kind of tedious but works :)
To Reproduce Steps to reproduce the behavior:
Expected behavior It should not care if the directories are directories or symlinks and just start up.
Server (please complete the following information): --- System information --- ┌──────────────┬──────────────────┐ │ OS │ linux - Ubuntu 23.10 │ ├──────────────┼──────────────────┤ │ OS Version │ 6.5.0-26-generic │ ├──────────────┼──────────────────┤ │ Memory (GB) │ 15.00 │ ├──────────────┼──────────────────┤ │ Architecture │ amd64 │ └──────────────┴──────────────────┘
--- Tipi configuration --- ┌───────────────────────────┬────┐ │ Custom tipi docker config │ No │ └───────────────────────────┴────┘