What is the problem you are having with rclone?
Hello, I am trying to mount Google Drive with rclone in omv.
The truth is I'm very new to this and I can't get over this error.
rclone.service
[Unit]
Description=Rclone Mount Service
After=network-online.target
[Service]
Type=notify
ExecStart=/usr/bin/rclone mount \
--config=/root/.config/rclone/rclone.conf \
--log-level=INFO \
--log-file=/srv/dev-disk-by-uuid-90AC1E97AC1E77C4/Home/rclone/log/rclone-mount.log \
--user-agent=debuff \
--umask=022 \
--gid=100 \
--uid=1000 \
--allow-other \
--timeout=1h \
--poll-interval=15s \
--dir-cache-time=1000h \
--cache-dir=/srv/dev-disk-by-uuid-90AC1E97AC1E77C4/Home/rclone/cache \
--vfs-cache-mode=full \
--vfs-cache-max-size=5G \
--vfs-cache-max-age=12h \
ExecStop=/bin/fusermount -uz /srv/dev-disk-by-uuid-90AC1E97AC1E77C4/Home/rclone/cloud
Restart=on-abort
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
Running sudo systemctl start rclone.service
returns the following errors :
Job for rclone.service failed because the control process exited with error code. See "systemctl status rclone.service" and "journalctl -xeu rclone.service" for details.
systemctl status rclone.service
× rclone.service - Rclone Mount Service
Loaded: loaded (/etc/systemd/system/rclone.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Thu 2024-05-23 02:32:41 -05; 30s ago
Duration: 570ms
Process: 59500 ExecStart=/usr/bin/rclone mount --config=/root/.config/rclone/rclone.conf --log-level=INFO --log-file=/srv/de>
Main PID: 59500 (code=exited, status=1/FAILURE)
CPU: 608ms
may 23 02:32:41 teamrrems rclone[59500]: --metadata-include stringArray Include metadatas matching pattern
may 23 02:32:41 teamrrems rclone[59500]: --metadata-include-from stringArray Read metadata include patterns from file (u>
may 23 02:32:41 teamrrems rclone[59500]: --min-age Duration Only transfer files older than this in s or>
may 23 02:32:41 teamrrems systemd[1]: Failed to start rclone.service - Rclone Mount Service.
may 23 02:32:41 teamrrems rclone[59500]: --min-size SizeSuffix Only transfer files bigger than this in KiB>
may 23 02:32:41 teamrrems rclone[59500]: Additional help topics:
may 23 02:32:41 teamrrems rclone[59500]: Use "rclone [command] --help" for more information about a command.
may 23 02:32:41 teamrrems rclone[59500]: Use "rclone help flags" for to see the global flags.
may 23 02:32:41 teamrrems rclone[59500]: Use "rclone help backends" for a list of supported services.
may 23 02:32:41 teamrrems rclone[59500]: 2024/05/23 02:32:41 Fatal error: unknown shorthand flag: 'z' in -z
journalctl -xe
may 23 02:32:41 teamrrems rclone[59500]: --files-from-raw stringArray Read list of source-file names from file wi>
may 23 02:32:41 teamrrems rclone[59500]: -f, --filter stringArray Add a file filtering rule
may 23 02:32:41 teamrrems rclone[59500]: --filter-from stringArray Read file filtering patterns from a file (u>
may 23 02:32:41 teamrrems rclone[59500]: --ignore-case Ignore case in filters (case insensitive)
may 23 02:32:41 teamrrems rclone[59500]: --include stringArray Include files matching pattern
may 23 02:32:41 teamrrems rclone[59500]: --include-from stringArray Read file include patterns from file (use ->
may 23 02:32:41 teamrrems rclone[59500]: --max-age Duration Only transfer files younger than this in s >
may 23 02:32:41 teamrrems rclone[59500]: --max-depth int If set limits the recursion depth to this (>
may 23 02:32:41 teamrrems rclone[59500]: --max-size SizeSuffix Only transfer files smaller than this in Ki>
may 23 02:32:41 teamrrems rclone[59500]: --metadata-exclude stringArray Exclude metadatas matching pattern
may 23 02:32:41 teamrrems rclone[59500]: --metadata-exclude-from stringArray Read metadata exclude patterns from file (u>
may 23 02:32:41 teamrrems rclone[59500]: --metadata-filter stringArray Add a metadata filtering rule
may 23 02:32:41 teamrrems rclone[59500]: --metadata-filter-from stringArray Read metadata filtering patterns from a fil>
may 23 02:32:41 teamrrems rclone[59500]: --metadata-include stringArray Include metadatas matching pattern
may 23 02:32:41 teamrrems rclone[59500]: --metadata-include-from stringArray Read metadata include patterns from file (u>
may 23 02:32:41 teamrrems rclone[59500]: --min-age Duration Only transfer files older than this in s or>
may 23 02:32:41 teamrrems systemd[1]: Failed to start rclone.service - Rclone Mount Service.
░░ Subject: A start job for unit rclone.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit rclone.service has finished with a failure.
░░
░░ The job identifier is 12622 and the job result is failed.
may 23 02:32:41 teamrrems rclone[59500]: --min-size SizeSuffix Only transfer files bigger than this in KiB>
may 23 02:32:41 teamrrems rclone[59500]: Additional help topics:
may 23 02:32:41 teamrrems rclone[59500]: Use "rclone [command] --help" for more information about a command.
may 23 02:32:41 teamrrems rclone[59500]: Use "rclone help flags" for to see the global flags.
may 23 02:32:41 teamrrems rclone[59500]: Use "rclone help backends" for a list of supported services.
may 23 02:32:41 teamrrems rclone[59500]: 2024/05/23 02:32:41 Fatal error: unknown shorthand flag: 'z' in -z
Run the command 'rclone version' and share the full output of the command.
rclone v1.66.0
- os/version: debian 12.5 (64 bit)
- os/kernel: 6.1.0-18-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.1
- go/linking: static
- go/tags: none
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
)
sudo systemctl start rclone.service
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =
A log from the command that you were trying to run with the -vv
flag
Paste log here