my timelapse folder is on an external drive. Now, when I boot the whole system, that external drive is apparently (at least sometimes) only mounted after the Octoprint server is started. In such cases, Octoprint will of course issue an error message stating that the folder is not available. The real problem, however, is that it not only displays this error message (like the warning that the camera itself is not available), but also resets the directory to the default value.
For example, is there a setting in config.yaml to suppress the “folder-check”? Or is there any other way to at least not automatically reset the folder to it´s default value? I realize that Octoprint does this for good reasons, of course, but such setting to set the folder-change off, would be really helpful.
I mean, in the worst case, it simply can't save a timelapse video when printing, just as it simply can't record a video if the camera is not available...
But perhaps there is already a way to set this that I may have simply overlooked?
I think there's a way to add a dependency to the OctoPrint service file to make sure the drive is mounted prior to OctoPrint starting up. Probably something with RequiresMountsFor in the systemd service file. I'm not a linux guru but I'm sure that may give you some pointers of what to look for.
Following the documentation I found informations about an "Arbitration Framework":
Disk or Server Availability
If your daemon depends on the availability of a mounted volume (whether local or remote), you can determine the status of that volume using the Disk Arbitration framework. This is documented in Disk Arbitration Framework Reference.
Unfortunately, I am at least as little of an Apple guru, too. Does anyone have any idea how to implement this in such a plist file with the help of the linked documentation?