Client: Mac Mini with Syncthing
Server: Ubuntu 20.04 Desktop with Syncthing
My goal is to run Syncthing as a service on the server, so that it starts automatically after startup without user login. With that my client would automatically sync its files to the server as soon as its started.
I installed Syncthing on both machines and it runs well. I also managed to start Syncthing as a service on the ubuntu box.
The only problem I have is the following: The folder path for Syncthing on ubuntu is on a encrypted disk. When I login and start Syncthing manually this is no problem, but when Syncthing starts after reboot as a service it gets an error “path not found”
How can I access the folder on the encrypted disk during system startup (or better without user login)? Or is there another solution?
Not an Ubuntu user, but I have the same situation in Windows with BitLocker. You need to figure out how to unlock the drive before user log on. In Windows, this can be done by using the Task Scheduler to input the recovery key in the command prompt. I would assume that something similar should be possible to achieve in your system.