runtipi / cli

The command line interface to configure and interact with Runtipi
https://runtipi.io/
GNU General Public License v3.0
4 stars 3 forks source link

[BUG] Needs directories to start, Symlink do not suffice #34

Open McWizard opened 7 months ago

McWizard commented 7 months ago

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:

  1. Create Symlink instead of /media/downloads directory
  2. 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 │ └───────────────────────────┴────┘

meienberger commented 6 months ago

Thanks for reporting @McWizard