Page 1 of 1

2.0.0b2.dev189 - deleting parent folder while moving data

Posted: Fri Oct 19, 2018 5:30 pm
by RDonovan
Hi,

I've made a fresh install of latest deluge Beta and I'm having an issue I've never had.

My download setup has a folder for downloads in progress and one for the completed downloads, I've always had this kind of setup and worked like a charm.

Now every time deluge moves something from a folder to another it also deletes the original parent directory.

e.g.

- Torrent x is downloading. Data is in /mnt/500GB/dwdir/progress_download
- Torrent x download is complete, deluge moves it in /mnt/500GB/dwdir/finished_download
- /mnt/500GB/dwdir now contains only "finished_downloads", "progress_downloads" has been deleted.

This happens with every folder i move a torrent from, even if I move it manually.

Into my preferences I've setup:

Download to: /mnt/500GB/dwdir/progress_download
Move completed to: /mnt/500GB/dwdir/finished_download

I've used this setup for years...

Is there some settings I'm not aware or is just something that has to be fixed?

Thanks!

Re: 2.0.0b2.dev189 - deleting parent folder while moving data

Posted: Sat Oct 20, 2018 1:39 pm
by Cas
Interesting, not sure atm, I'll have to look into this.

Re: 2.0.0b2.dev189 - deleting parent folder while moving data

Posted: Mon Oct 22, 2018 1:22 pm
by RDonovan
Still present in dev194, I’m fixing it using Monit for now.

Re: 2.0.0b2.dev189 - deleting parent folder while moving data

Posted: Mon Oct 22, 2018 3:20 pm
by Cas
I assume that the progress_download is empty after moving? There is code that will cleanup empty directories so perhaps it's a bit too eager and it's afaik the same in 1.3.

Can you try creating a random file in the directory to see if it will prevent removal.

Re: 2.0.0b2.dev189 - deleting parent folder while moving data

Posted: Mon Oct 22, 2018 5:33 pm
by RDonovan
Yes the folder is empty. I’ll try to put something in there.

Edit: if the folder is not empty it doesn’t get deleted. For now is enough as workaround but would be interesting understand how to set it up correctly.

Bye

Re: 2.0.0b2.dev189 - deleting parent folder while moving data

Posted: Wed Mar 11, 2020 6:49 pm
by NeonCandy
I know this thread is old but im having the same issue on Deluge 1.3.15 installed on Ubuntu Server 18.04.4 LTS.

Re: 2.0.0b2.dev189 - deleting parent folder while moving data

Posted: Thu Mar 12, 2020 9:55 am
by shamael
Is the same workaround working?

Re: 2.0.0b2.dev189 - deleting parent folder while moving data

Posted: Thu Mar 12, 2020 4:22 pm
by kevindd992002
Me too! I'm surprised this hasn't been fixed yet.

Re: 2.0.0b2.dev189 - deleting parent folder while moving data

Posted: Sat Sep 12, 2020 11:53 pm
by kevindd992002
Why is this still not fixed until now?! The workaround works but it's just silly why the deluge devs can't fix this very simple bug.