Page 1 of 1

Warning: Do not use a folder in the application folder as your Scripts Folder, it might be emptied during updates.

Posted: August 23rd, 2023, 5:46 am
by kummel
I keep getting this warning when I go to the sabndbd website on startup. The script folder is not in the application folder.
Centos 9 (intel 64bit), sabnzbd 4.0.3
Thanks in advance

App-dir is /opt/sabnzb
There is no scripts dir under /opt/sabnzb

nas{root}120: grep _dir sabnzbd.ini
dirscan_dir = /data/nzbsab
email_dir = ""
log_dir = /opt/sabnzb-conf/logs
admin_dir = /opt/sabnzb-conf/admin
nzb_backup_dir = /data/oldnzb
download_dir = /inc
complete_dir = /data/Downloads
script_dir = /opt/sabnzb-conf/scripts
web_dir = Glitter
backup_dir = ""

Re: Warning: Do not use a folder in the application folder as your Scripts Folder, it might be emptied during updates.

Posted: August 23rd, 2023, 7:45 am
by safihre
Indeed the message is wrong.
It's check is very simple, if the directory "starts with" the same directory.
Will see if I can improve the detection.

Re: Warning: Do not use a folder in the application folder as your Scripts Folder, it might be emptied during updates.

Posted: August 23rd, 2023, 7:57 am
by safihre
Will be fixed in the next version.
For now you can disable the warning by disabeling helpful_warnings in Config > Specials.

Re: Warning: Do not use a folder in the application folder as your Scripts Folder, it might be emptied during updates.

Posted: August 24th, 2023, 2:55 am
by kummel
Thank you. I moved the scripts folder.