Help install rclone on omega21

journalctl -l | paste
https://paste.coreelec.org/SailboatMusical

Mounting in rclone without system.d services also produce empty folder for the megadpd & megawabb.

1 Like

I’m affraid you will have to debug this on your own because no one else can replicate this issue. Unless you send me config in PM.

Sure, rclone.conf & .service file?

I think rclone.conf is enough because auth data is already there? And command to execute in terminal.

I installed Entware via the ā€œinstallentwareā€ command under coreelec 21 ne and installed rclone and fuse via the ā€œopkg install rcloneā€ and ā€œopkg install fuse3-utilsā€ commands, respectively. See rclone and fusermount3 binaries under the /storage/.opt/bin folder. Then deploy Alist via rclone config.
Finally, enter ā€œrclone mount Alist: /storage/Alist --use-mmap --umask 000 --network-mode --no-check-certificate --allow-other --allow-non-empty --dir-cache-time 4h --cache-dir=/storage/ .config/rclone/cache --header "Referer:" --vfs-cache-mode full --buffer-size 512M --vfs-read-chunk-size 64M --vfs-read-chunk-size-limit 2G --vfs-cache-max-size 5G --daemonā€ was successful.
However, there is a problem with configuring boot auto-start. I created rclone.service in the ā€œ/storage/.config/system.dā€ folder and entered the relevant code, but it doesn’t start successfully

[Unit]
Description=RClone Mount
After=network-online.target

[Service]
Type=simple
Environment=PATH=/storage/.opt/bin:/.opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ExecStartPre=/bin/mkdir -p /storage/Alist
ExecStartPre=/bin/mkdir -p /storage/.config/rclone/logs
ExecStartPre=/bin/mkdir -p /storage/.config/rclone/cache
ExecStart=/storage/.config/rclone/rclone mount \
  --log-file /storage/.config/rclone/logs/rclonemount.log \
  --log-level INFO \
  --allow-root \
  --allow-other \
  --allow-non-empty \
  --header "Referer:" \
  --network-mode \
  --no-check-certificate \
  --tpslimit 10 \
  --tpslimit-burst 10 \
  --dir-cache-time=48h \
  --buffer-size=512M \
  --attr-timeout=1s \
  --vfs-cache-mode full \
  --vfs-read-chunk-size=64M \
  --vfs-read-chunk-size-limit=2G \
  --vfs-cache-max-age=5G \
  --vfs-cache-mode=writes \
  --cache-dir /storage/.config/rclone/cache \
  --config=/storage/.config/rclone/rclone.conf \
  --daemon \
  Alist: /storage/Alist
ExecStop=/bin/fusermount -uz /storage/Alist
Restart=on-abort

[Install]
WantedBy=default.target

https://paste.coreelec.org/HazelAlgebra

Did you even look the log and search for rclone lines?

Apr 12 09:10:22 CoreELEC rclone[854]: Error: invalid argument "5G" for "--vfs-cache-max-age" flag: parsing "5G" as fs.Duration failed: parsing time "5G" as "2006-01-02": cannot parse "5G" as "2006"
vfs-cache-max-age=5G

is not valid - this is time not size.

Thanks.The reline code has been revised, but another problem has arisen

https://paste.coreelec.org/HuntsInherent

systemctl status rclone.service | paste
journalctl -l | paste
will tell more

https://paste.coreelec.org/TiredSpike

Looks ok to me:
code=exited, status=0/SUCCESS

Sorry, I forgot that I mounted it manually. I’ve restarted the machine now, and it still doesn’t work, here’s my newly acquired diary.
https://paste.coreelec.org/WannabeClumsy

Nothing obvious visible.

If you want enable terminal sharing and I will look myself.

https://wiki.coreelec.org/coreelec:term_share