After rebooting my machine I can no longer mount my remote. I have a systemd unit that starts my mount for my remote on startup.
After restarting my machine I can no longer mount. I can see that the status is enabled and 'starting'. I cannot stop, disable or restart the service and in the logs there are lots of entries queuing cache for upload
Run the command 'rclone version' and share the full output of the command.
rclone v1.61.1
os/version: ubuntu 22.04 (64 bit)
os/kernel: 5.15.0-67-generic (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.19.4
go/linking: static
go/tags: none
Are you on the latest version of rclone?
It seems not - I'm not sure the propper practice for updating rclone - I thought it would be done through apt
EDIT: I Have now updated to the latest version
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
I've updated to the latest version - thanks for that.
I've also changed my log level to DEBUG - what command shall I run/show the output of? I haven't executed any other commands - systemd has taken care of everything until now?
Here is an example now it's in DEBUG - maybe relevant?
Mar 26 16:09:19 boss rclone[4002]: DEBUG : backstage/incomplete/Bond.50.Dr.No.1962.BluRay.1080p.DTS-HD.MA.5.1.AVC.REMUX-FraMeSToR/__ADMIN__: Added virtual directory entry vAddFile: "SABnzbd_attrib"
Mar 26 16:09:19 boss rclone[4002]: DEBUG : gdrive: Loaded invalid token from config file - ignoring
Mar 26 16:09:29 boss rclone[4002]: DEBUG : gdrive: Token refresh failed try 1/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 127.0.0.53:53: read udp 127.0.0.1:57870->127.0.0.53:53: i/o timeout
Mar 26 16:09:30 boss rclone[4002]: DEBUG : gdrive: Loaded invalid token from config file - ignoring
Mar 26 16:09:37 boss systemd[1]: mount-gdrive.service: start operation timed out. Terminating.
Mar 26 16:09:37 boss systemd[1]: mount-gdrive.service: Failed with result 'timeout'.
Mar 26 16:09:37 boss systemd[1]: Failed to start GDrive Data (rclone).
Mar 26 16:09:37 boss systemd[1]: Starting GDrive Data (rclone)...
I was a bit surprised to see this also. There are no issues with DNS on the host and all my services prior to the restart were working ok. I wonder if the above error is related to the DNS issue I and others faced recently at Hetzner. - I have googleapis.com in my hosts file.
It seems that rather than finish uploading and then the service stopping so I can restart it - the cache is never uploaded (as it doesn't reach 30 mins?) before the service attempts to restart?
Mar 26 17:42:52 boss systemd[1]: mount-gdrive.service: start operation timed out. Terminating.
Mar 26 17:42:52 boss systemd[1]: mount-gdrive.service: Failed with result 'timeout'.
Mar 26 17:42:52 boss systemd[1]: Failed to start GDrive Data (rclone).
Mar 26 17:42:52 boss systemd[1]: Starting GDrive Data (rclone)...
After that - it lists everything it's queuing for upload. And then starts with a 'timeout' again.
I can't stop the service nor restart it. I cannot start my dockers as they are dependant on rclone.
It seems that it has jobs in a queue and that's why I can't end the service?
Specifically the status is shown as
● mount-gdrive.service - GDrive Data (rclone)
Loaded: loaded (/etc/systemd/system/mount-gdrive.service; enabled; vendor preset: enabled)
Active: activating (start) since Sun 2023-03-26 17:54:54 CEST; 2s ago
'Activating' runs around in a cycle every few minutes.... normally it would say 'Running' and show status info.
I'm sorry if it doesn't make sense to you? I'm trying to explain it as clearly as I can!