NextcloudPi 1.59.0 Fails to Start Fail2Ban Due to Mount Order
A NextcloudPi user reported a boot error where Fail2ban failed to start before the external SSD containing Nextcloud data was mounted.
A user of NextcloudPi (NCP) version 1.59.0 experienced a boot issue where Fail2ban failed to start, resulting in an error message indicating a missing log file.
The problem stems from a startup ordering race where Fail2ban attempts to start before the external SSD, which houses the Nextcloud data directory, is mounted by NCP.
Potential solutions include adding a systemd mount dependency or creating an NCP-specific target to signal when external storage is ready, ensuring services dependent on the mounted data disk start afterward.