Page 1 of 1

Don't delete scripts on upgrade

Posted: February 26th, 2023, 7:57 pm
by boydcrowder
This drives me semi-insane, but can you not delete scripts in C_Program Files_SABnzbd_scripts during an upgrade? I have two Plex servers and I like to make sure my parent's Plex server is running OK, I do an upgrade of SABnzbd, forget that it wipes out the scripts folder, then days later I wonder why I don't get e-mail notifications and then I "remember" what the problem is.

I'm going to make sabnzbd-notify(dot)py read-only and see if that works for saving the file.

I got a warning I can't post links, so I had to substitute certain chars to post this.

Re: Don't delete scripts on upgrade

Posted: February 26th, 2023, 8:13 pm
by OneCD
Have you tried putting your scripts directory somewhere else?

Re: Don't delete scripts on upgrade

Posted: February 27th, 2023, 12:27 pm
by boydcrowder
I guess that's the next step. I just don't understand why the default scripts folder gets wiped out on an upgrade? You think it would preserve all existing files.

Re: Don't delete scripts on upgrade

Posted: February 27th, 2023, 1:14 pm
by sander
boydcrowder wrote: February 27th, 2023, 12:27 pm I guess that's the next step. I just don't understand why the default scripts folder gets wiped out on an upgrade? You think it would preserve all existing files.
SAB does not do that ... unless you put the script-folder inside the SAB Program Files folder

Re: Don't delete scripts on upgrade

Posted: February 27th, 2023, 1:27 pm
by safihre
It's most certainly not the default folder, you chose it manually.
Indeed it should not be there, since Program Files are meant for.. Program Files, not User files!