Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: create_required_folders removes symlink to gcodes #450

Open
boecko opened this issue Mar 14, 2024 · 0 comments
Open

fix: create_required_folders removes symlink to gcodes #450

boecko opened this issue Mar 14, 2024 · 0 comments
Labels
🐛 bug Something isn't working
Milestone

Comments

@boecko
Copy link

boecko commented Mar 14, 2024

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/gcodes
This is folder is automatically synced via cron by issuing following command

nextcloudcmd   -n -s \
               --path 3dprint \
               ~/Nextcloud \
               https://nextcloud.example.com 

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/gcodes with an empty directory.

What did you expect to happen

The symlink shouldn't be touched.
~/printer_data/gcodes -> /home/pi/Nextcloud/printer_data/gcodes

How to reproduce

  • make ~/printer_data/gcodes as symlink
  • install something
  • check ~/printer_data/gcodes

Additional information

No response

@boecko boecko added the 🐛 bug Something isn't working label Mar 14, 2024
@dw-0 dw-0 added this to the v6.0.0 milestone Mar 23, 2024
@dw-0 dw-0 changed the title create_required_folders removes symlink to gcodes fix: create_required_folders removes symlink to gcodes May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants