systemctl --user start rclone@tcrypt
The rclone config contents with secrets removed.
[tdrive]
type = drive
scope = drive
token = {"access_token":"xxxxxxxxx","token_type":"Bearer","refresh_token":"yyyyyyy","expiry":"2023-05-10T15:29:10.59586061+01:00"}
team_drive = aaaaaaaa
root_folder_id =
[tcrypt]
type = crypt
remote = tdrive:encrypt
password = ccccccccc
password2 = dddddddddddd
A log from the command with the -vv
flag
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A stop job for unit UNIT has finished.
░░
░░ The job identifier is 5390 and the job result is done.
May 10 15:09:09 BIG-KUBUNTU systemd[2466]: Starting rclone@tcrypt.service - RClone mount of users remote tcrypt using filesystem permissions...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit UNIT has begun execution.
░░
░░ The job identifier is 5390.
May 10 15:09:09 BIG-KUBUNTU systemd[2466]: rclone@tcrypt.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStartPre= process belonging to unit UNIT has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
May 10 15:09:09 BIG-KUBUNTU systemd[2466]: rclone@tcrypt.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit UNIT has entered the 'failed' state with result 'exit-code'.
May 10 15:09:09 BIG-KUBUNTU systemd[2466]: Failed to start rclone@tcrypt.service - RClone mount of users remote tcrypt using filesystem permissions.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 5390 and the job result is failed.
Sorry but I found trying to work out which bits to keep and where to paste really confusing so my formatting will be out but I have answered all questions.
I've been trying to follow Systemd rclone mount · rclone/rclone Wiki · GitHub
One comment on that that might help would be if it indicated if root or std user permissions were needed on each stage...
I have saved the service file to /etc/systemd/user/rclone@.service (root as everything else there is but permissions are different to rest of contents of folder)
I have issued systemctl --user daemon-reload
I put my working rclone.conf at ~/.config/rclone/rclone.conf
I have tcrypt.env there also (my remote is tcrypt)
Contents:
REMOTE_NAME=tcrypt
MOUNT_DIR=~/tcrypt
REMOTE_PATH=/
I created ~/tcrypt to mount my remote to
rclone lsd tcrypt: works and lists my remote contents
systemctl --user start rclone@tcrypt ("You should now be able to navigate to ~/tcrypt
and explore the files you have in your remote." - I CANNOT as it isnt mounting)
Job for rclone@tcrypt.service failed because the control process exited with error code.
See "systemctl --user status rclone@tcrypt.service" and "journalctl --user -xeu rclone@tcrypt.service" for details.
Any help appreciated. I've probably misread something in guide....