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

Closed
boecko opened this issue Mar 14, 2024 · 1 comment
Closed

fix: create_required_folders removes symlink to gcodes #450

boecko opened this issue Mar 14, 2024 · 1 comment
Labels
Status: Released Type: Bug Something isn't working as expected

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 Type: Bug Something isn't working as expected 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
@dw-0
Copy link
Owner

dw-0 commented Aug 31, 2024

This should be fixed with KIAUH v6 which's alpha got released just a minute ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Released Type: Bug Something isn't working as expected
Projects
Status: Released
Development

No branches or pull requests

2 participants