fix: create_required_folders removes symlink to gcodes #450
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Linux Distribution
Raspbian GNU/Linux 12 (bookworm)
What happened
I'm managing my printfiles on my nextcloud-folder.
~/printer_data/gcodes -> /home/pi/Nextcloud/printer_data/gcodesThis is folder is automatically synced via cron by issuing following command
After installing moonraker-telegram-bot via your awesome script i've notices that my gcode files weren't available in telegram or fluidd.
Turned out that create_required_folders replaced my symlink
gcodes -> /home/pi/Nextcloud/printer_data/gcodeswith an empty directory.What did you expect to happen
The symlink shouldn't be touched.
~/printer_data/gcodes -> /home/pi/Nextcloud/printer_data/gcodesHow to reproduce
Additional information
No response