Mac: SABnzbd triggers drives to get bad paths, breaking apps
Posted: April 11th, 2015, 4:38 pm
As always, many thanks for the best newsreader out there.
I've configured SABnzbd so that all folders it uses are on a secondary volume "Data HD." (I've done this since my main drive is a small SSD and "Data HD" is a larger spinning disk.) Every time the computer restarts and SABnzbd launches at startup, SABnzbd attempts to map to the temp download folder. However, I receive the following warning: "Cannot create directory /Volumes/Data HD/Downloads/Temp." When I look at /Volumes, SABnzbd (or the OS) has created a folder there called "Data HD," As a result, the actual "Data HD" volume receives the path "/Volumes/Data HD 1." This breaks all other apps and symlinks that are looking for paths at "/Volumes/Data HD," which is a real pain.
When I try to delete the "/Volumes/Data HD" folder so the OS can re-assign the "Data HD" volume its proper path, the folder is automatically recreated. Only when I shutdown SABnzbd, is the folder not re-created when I delete it and can the OS reassign the proper volume path. (This is how I determined SABnzbd was initiating this issue for all my other apps and symlinks breaking...)
I suspect this issue arises because SABnzbd launches at startup before the OS mounts the Data HD volume. When SABnzbd tries to access "Volumes/Data HD/Downloads/Temp" it isn't there and so either SABnzbd or the OS creates the "/Volumes/Data HD" folder. Then, when the OS attempts to mount "Data HD" there is a folder that is occupying the path it would normally take, and the OS assign the volume with the "/Volumes/Data HD 1" path instead.
I believe this issue has begun with the current version and is unique to Macs. I'm running SABnzbd 0.7.20 and Mac OS X Yosemite 10.10.3.
Thanks for your help on this!
I've configured SABnzbd so that all folders it uses are on a secondary volume "Data HD." (I've done this since my main drive is a small SSD and "Data HD" is a larger spinning disk.) Every time the computer restarts and SABnzbd launches at startup, SABnzbd attempts to map to the temp download folder. However, I receive the following warning: "Cannot create directory /Volumes/Data HD/Downloads/Temp." When I look at /Volumes, SABnzbd (or the OS) has created a folder there called "Data HD," As a result, the actual "Data HD" volume receives the path "/Volumes/Data HD 1." This breaks all other apps and symlinks that are looking for paths at "/Volumes/Data HD," which is a real pain.
When I try to delete the "/Volumes/Data HD" folder so the OS can re-assign the "Data HD" volume its proper path, the folder is automatically recreated. Only when I shutdown SABnzbd, is the folder not re-created when I delete it and can the OS reassign the proper volume path. (This is how I determined SABnzbd was initiating this issue for all my other apps and symlinks breaking...)
I suspect this issue arises because SABnzbd launches at startup before the OS mounts the Data HD volume. When SABnzbd tries to access "Volumes/Data HD/Downloads/Temp" it isn't there and so either SABnzbd or the OS creates the "/Volumes/Data HD" folder. Then, when the OS attempts to mount "Data HD" there is a folder that is occupying the path it would normally take, and the OS assign the volume with the "/Volumes/Data HD 1" path instead.
I believe this issue has begun with the current version and is unique to Macs. I'm running SABnzbd 0.7.20 and Mac OS X Yosemite 10.10.3.
Thanks for your help on this!