Cant set admin path in 3.1.0
Posted: October 20th, 2020, 4:56 am
Hey everyone,
i updated my sabnzbd from an older 2.x to the latest stable 3.1.0 through the available setup file ( SABnzbd-3.1.0-win-setup.exe ) on a win10 host. Since this is done, i have problems when using custom paths.
I am using custom paths/folders for admin files (also custom paths for downloads, nzb files, backup files and so one), which means the admin_dir= value is not "admin", but a absolute path which is exactly 57 chars long (without .ini file).
At every program start, sabnzbd 3.1.0 is reseting admin_dir= from *absolute path value* to "admin", so i can not use my custom path anymore.
I tried to set the admin path directly in sabnzbd.ini with an editor and also through the settings dialoge in the webinterface, but its not possible to get 3.1.0 working with (long?) custom paths anymore.
When i try to edit the path through the webinterface, a error dialog-box appears, which says: "Error: Pathlength should be shorter than 60 chars." (the original error msg in german: "Fehler: Dateipfadlänge sollte kürzer als 60 sein."). Remember: In my case, the path is 57chars long. This error message also appears, when i try to edit other folders, like "monitoring-path", which is 58 chars long.
Would be nice to see this issue fixed.
Oh and by the way a little feature request:
Can you guys make it possible to additionally / optional change the location of sabnzbd.ini?
For example to store the ini file in the programms folder (if ini is in program folder, load this, else the one in userprofile folder)
OR/AND
in an alternative folder by setting the sabnzbd.ini-path with a program-switch like: C:\Program Files\SABnzbd\SABnzbd.exe -ini "d:\sabnzbd\sabnzbd.ini".
Its a bit annoying that its possible to edit nearly every path, but not the path of the main config file.
i updated my sabnzbd from an older 2.x to the latest stable 3.1.0 through the available setup file ( SABnzbd-3.1.0-win-setup.exe ) on a win10 host. Since this is done, i have problems when using custom paths.
I am using custom paths/folders for admin files (also custom paths for downloads, nzb files, backup files and so one), which means the admin_dir= value is not "admin", but a absolute path which is exactly 57 chars long (without .ini file).
At every program start, sabnzbd 3.1.0 is reseting admin_dir= from *absolute path value* to "admin", so i can not use my custom path anymore.
I tried to set the admin path directly in sabnzbd.ini with an editor and also through the settings dialoge in the webinterface, but its not possible to get 3.1.0 working with (long?) custom paths anymore.
When i try to edit the path through the webinterface, a error dialog-box appears, which says: "Error: Pathlength should be shorter than 60 chars." (the original error msg in german: "Fehler: Dateipfadlänge sollte kürzer als 60 sein."). Remember: In my case, the path is 57chars long. This error message also appears, when i try to edit other folders, like "monitoring-path", which is 58 chars long.
Would be nice to see this issue fixed.
Oh and by the way a little feature request:
Can you guys make it possible to additionally / optional change the location of sabnzbd.ini?
For example to store the ini file in the programms folder (if ini is in program folder, load this, else the one in userprofile folder)
OR/AND
in an alternative folder by setting the sabnzbd.ini-path with a program-switch like: C:\Program Files\SABnzbd\SABnzbd.exe -ini "d:\sabnzbd\sabnzbd.ini".
Its a bit annoying that its possible to edit nearly every path, but not the path of the main config file.