Thanks
jojothehumanmonkey
The cmd worked perfectly thank you very much.
But unable to install rclone version v1.59.0 in Ubuntu?
wget https://downloads.rclone.org/v1.59.0/rclone-v1.59.0-freebsd-amd64.zip
unzip rclone-v1.59.0-freebsd-amd64.zip
cd rclone-v1.59.0-freebsd-amd64
cd rclone /usr/bin
chown root:root /usr/bin
Post: root@truenas[/rclone-v1.59.0-freebsd-amd64]#
chown root:root /usr/bin
chown: root: illegal group name
chmod 755 /usr/bin
root@truenas[/rclone-v1.59.0-freebsd-amd64]# rclone version
rclone v1.53.1-DEV
I looked for how to do it but everything I tried failed!
Have a nice day and thank you for your help Richard
I'm sorry but I wasn't very clear!
Truenas is under freebsd and I connect in ssh under Ubuntu or debian or the confusion for me. But rcloune is well installed under freeBSD. I tried everything but, I still have the same problem of writing right?
wget https://downloads.rclone.org/v1.59.0/rclone-v1.59.0-freebsd-amd64.zip (Ok)
unzip rclone-v1.59.0-freebsd-amd64.zip (Ok)
cd rclone-v1.59.0-freebsd-amd64 (Ok)
sudo cp rclone /usr/bin/
Message: Sorry, user root is not allowed to execute '/bin/cp rclone /usr/bin/' as root on truenas.local.
sudo chown root:root /usr/bin/rclone
Message: Sorry, user root is not allowed to execute '/usr/sbin/chown root:root /usr/bin/rclone' as root on truenas.local.
sudo chmod 755 /usr/bin/rclone
Message: Sorry, user root is not allowed to execute '/bin/chmod 755 /usr/bin/rclone' as root on truenas.local.
If I understood the messages correctly as root I cannot write or modify the directory or the file?
All tests lead to the same result! I can't modify or write to the /bin directory?
Thank you for your help jojothehumanmonkey
My beginner level under Truenas and linux
Have a nice day Richard
Because I tried it first and it didn't work. This is the first cmd I tried then I tried others and the result is always the same it can't write to /bin
Installation of rclone with "TrueNAS-12.0-U8.1" is solved!
-------------- Example of cmd under Ubuntu terminal --------------
Note: To install rclone you must be connected to a [user] account and not a "root" account
Error message: Sorry, user root is not allowed to execute '/bin/bash' as root on truenas.local.
[user]@ST-A1-[user]:~$ sudo su
[sudo] password for [user]:
root@ST-A1-[user]:/home/[user]# ssh [user]@192.165.10.120 --I log in with an account "[user]"
[user]@192.165.10.120's password:
Last login: Wed Jul 13 14:55:27 2022 from 192.165.10.120
FreeBSD 12.2-RELEASE-p14 325282c09a5(HEAD) TRUENAS
...
Welcome to TrueNAS
truenas% --I am logged in as "[user]"
-------------- Before installing rclone --------------
If rclone is already installed but you want to upgrade to a new version or you are on a beta like me!
rclone will not install!
You must delete the two directories "/rclone-v1.59.0-freebsd-amd64"
Path: /mnt/[volume1]/USERS/[user]/rclone-v1.59.0-freebsd-amd64 --From [User] account
Path: /root/rclone-v1.59.0-freebsd-amd64 --From "root" account
According to your installation
Optionally save your "rclone.conf" file
/mnt/[volume1]/USERS/[user]/.config/rclone
You must adapt everything between [] to your parameters
[user]@192.165.10.120 (is random)
truenas%wget https://downloads.rclone.org/v1.59.0/rclone-v1.59.0-freebsd-amd64.zip
unzip rclone-v1.59.0-freebsd-amd64.zip
cd rclone-v1.59.0-freebsd-amd64
sudo cp rclone /usr/bin/
sudo chmod 755 /usr/bin/rclone
root@truenas[/rclone-v1.59.0-freebsd-amd64]#
truenas% rclone version
rclone v1.59.0
os/version: freebsd 12.2-release-p14 (64 bit)
os/kernel: 12.2-release-p14 (amd64)
os/type: freebsd
os/arch: amd64
go/version: go1.18.3
go/linking: static
go/tags: none
truenas%
Here you have installed rclone via your favorite ssh terminal with "TrueNAS-12.0-U8.1"
Good day to all the rclone community thanks to you and to jojothehumanmonkey for his help