Im getting an error!

What is the problem you are having with rclone?

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-1021-oracle (aarch64)
  • os/type: linux
  • os/arch: arm64
  • go/version: go1.19.4
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

sudo systemctl status gdrive.service

The rclone config contents with secrets removed.

[remote]
type = drive
scope = drive
token = {"access_token":"ya29.a0AVvZVsocalwpZtpx6OgG1-3UHw7qhs5bRLsIHqXFNW5BwhnqhD28kKfRWX3rwcKWDHwsdpX0m2tzmsouRkFQbEvW8AOponuBytKZ3z9sjEB7BDHfmP2aaCSV7UGo0Ixb109rrSiJ8A5v1UGncrFUa_ilG7gyaCgYKAcYSARMSFQGbdwaIP859rjRuR8R0JIhu4WAFKw0163","token_type":"Bearer","refresh_token":"1//03up8BWbmguBSCgYIARAAGAMSNwF-L9IrDjVgZhuVU3rF6s_-iuc3yqPWiQNXrec8edB_M8nwuCUUgBLLhMMEaqi2EzVsd3A98_s","expiry":"2023-01-26T19:52:30.1101883Z"}
team_drive = 
Service script 
[Unit]
Description= RClone Mount Service
After=network-online.target

[Service]
Type=notify
ExecStart=/usr/bin/rclone mount \
–config=/home/ubuntu/.config/rclone/rclone.conf \
–user-agent=sauberlab \
–allow-other \
–timeout=1h \
–poll-interval=15s \
–dir-cache-time=1000h \
–cache-dir=/mnt/rclone/cache/gmedia \
–vfs-cache-mode=full \
–vfs-cache-max-size=20G \
–vfs-cache-max-age=12h \
crypt-gdrive: /mnt/cloud
ExecStop=/bin/fusermount -uz /mnt/cloud
Restart=on-abort
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3

[Install]
WantedBy=multi-user.target

hello and welcome to the forum,

what is the exact error, can you post a debug log with the exact error?

how do i see this

about that config fie you posted, is that the real token, did you redact it before posting?

what is the error you are getting?

my rclone gdrive service is failing to start

well, the name of remote in the systemd file does not match the name of the remote in the config you posted???

can you test from the command line, not using systemd.
such as rclone lsd remote: -vv

2023/01/26 19:31:24 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "lsd" "remote:" "-vv"]
2023/01/26 19:31:24 DEBUG : Creating backend with remote "remote:"
2023/01/26 19:31:24 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
2023/01/26 19:31:24 DEBUG : Google drive root '': 'root_folder_id = 0AC2CIVvnB1R9Uk9PVA' - save this in the config to speed up startup
2023/01/26 19:31:25 DEBUG : 4 go routines active
ubuntu@media-server:~$

rclone lsd crypt-gdrive: -vv

023/01/26 19:32:42 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "lsd" "crypt-gdrive:" "-vv"]
2023/01/26 19:32:42 DEBUG : Creating backend with remote "crypt-gdrive:"
2023/01/26 19:32:42 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/01/26 19:32:42 Failed to create file system for "crypt-gdrive:": didn't find section in config file

please post the redacted output of this command, make sure to redact/edit password(s)
rclone config show crypt-gdrive:

it says this

2023/01/26 19:36:08 Couldn't find type of fs for "crypt-gdrive"

please post the full command and output, please do not post snippets.
rclone config show crypt-gdrive: -vv

this is the full output
root@media-server:/home/ubuntu# 2023/01/26 19:36:08 Couldn't find type of fs for "crypt-gdrive"
root@media-server:/home/ubuntu# ^C
root@media-server:/home/ubuntu# rclone config show crypt-gdrive: -vv
2023/01/26 19:37:19 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "config" "show" "crypt-gdrive:" "-vv"]
[crypt-gdrive]
2023/01/26 19:37:19 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/01/26 19:37:19 Couldn't find type of fs for "crypt-gdrive"
bash: 2023/01/26: No such file or directory
root@media-server:/home/ubuntu#

root@media-server:/home/ubuntu# rclone config show crypt-gdrive: -vv
2023/01/26 19:37:19 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "config" "show" "crypt-gdrive:" "-vv"]
[crypt-gdrive]
2023/01/26 19:37:19 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/01/26 19:37:19 Couldn't find type of fs for "crypt-gdrive"
bash: 2023/01/26: No such file or directory
root@media-server:/home/ubuntu#
bash: root@media-server:/home/ubuntu#: No such file or directory
Command 'bash:' not found, did you mean:
command 'bash' from deb bash (5.1-6ubuntu1)
Try: apt install
bash: root@media-server:/home/ubuntu#: No such file or directory
root@media-server:/home/ubuntu#

your service file uses crypt-gdrive:, did you ever create that remote?

???
i would close the terminal and open a new one, and re-run the command.

ubuntu@media-server:~$ rclone config show crypt-gdrive: -vv
2023/01/26 19:41:39 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "config" "show" "crypt-gdrive:" "-vv"]
[crypt-gdrive]
2023/01/26 19:41:39 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
2023/01/26 19:41:39 Couldn't find type of fs for "crypt-gdrive"
ubuntu@media-server:~$

and also i did create a normal crypt file but left all of the options blank

you have to create+test the remote named crypt-gdrive, as per the rclone docs.
without that, your service file will never work.

should look something like

[crypt-gdrive]
type = crypt
remote = remote:
password = cutxGrFvkwZGaAxhwt_lVsLCdFUkpTgz
password2 = vxJ3MRqZgw_4DPqyMFHo12ggoBnpo_Mz

and for [remote], should create a client_id, as per rclone docs, otherwise, rclone will perform very poorly.
should look like

[remote]
type = drive
scope = drive
client_id = redacted.apps.googleusercontent.com
client_secret = redacted
token = {"access_token":"redacted"}

[remote]
type = drive
scope = drive
client_id = redacted.apps.googleusercontent.com
client_secret = redacted
token =

[crypt-gdrive]
type = crypt
remote = remote:remote
password = *************
password2 =***********

this is the new config i used fillezilla is this correct

filezilla?

did you test? does that command now work?