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

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
kummel
Newbie
Newbie
Posts: 2
Joined: August 23rd, 2023, 5:32 am

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

Post 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 = ""
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

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

Post 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.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

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

Post by safihre »

Will be fixed in the next version.
For now you can disable the warning by disabeling helpful_warnings in Config > Specials.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
kummel
Newbie
Newbie
Posts: 2
Joined: August 23rd, 2023, 5:32 am

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

Post by kummel »

Thank you. I moved the scripts folder.
Post Reply