QNAP [ RClone ] [ 1.61.1 ] RSync for Cloud Storage

c'est la version orignal de RClone que je mets à jour régulièrement... je ne peux te dire pour uptobox et si c'est lié la version Linux
je ne l'utilise pas personnellement

le mieux est de poser la question au développeur dans le github
 
Dernière édition:
c'est la version orignal de RClone que je mets à jour régulièrement... je ne peux te dire pour uptobox et si c'est lié la version Linux
je ne l'utilise pas personnellement

le mieux est de posé la question au développeur dans le github
Sur la page de rclone, il y a bien uptobox, cela veut donc dire que cela devrait fonctionner avec ton package ? Je testerai.....quand j'aurai mis en route mon NAS vu que pour l'instant je dois déjà y mettre des disques et ça va être plus long que prévu au vu de ta réponse à mon autre question :)

Merci pour tes lumières et bonne journée à tous.
 

v1.59.1 - 2022-08-08​

See commits

  • Bug Fixes
    • accounting: Fix panic in core/stats-reset with unknown group (Nick Craig-Wood)
    • build: Fix android build after GitHub actions change (Nick Craig-Wood)
    • dlna: Fix SOAP action header parsing (Joram Schrijver)
    • docs: Fix links to mount command from install docs (albertony)
    • dropox: Fix ChangeNotify was unable to decrypt errors (Nick Craig-Wood)
    • fs: Fix parsing of times and durations of the form "YYYY-MM-DD HH:MM:SS" (Nick Craig-Wood)
    • serve sftp: Fix checksum detection (Nick Craig-Wood)
    • sync: Add accidentally missed filter-sensitivity to --backup-dir option (Nick Naumann)
  • Combine
    • Fix docs showing remote= instead of upstreams= (Nick Craig-Wood)
    • Throw error if duplicate directory name is specified (Nick Craig-Wood)
    • Fix errors with backends shutting down while in use (Nick Craig-Wood)
  • Dropbox
    • Fix hang on quit with --dropbox-batch-mode off (Nick Craig-Wood)
    • Fix infinite loop on uploading a corrupted file (Nick Craig-Wood)
  • Internetarchive
    • Ignore checksums for files using the different method (Lesmiscore)
    • Handle hash symbol in the middle of filename (Lesmiscore)
  • Jottacloud
    • Fix working with whitelabel Elgiganten Cloud
    • Do not store username in config when using standard auth (albertony)
  • Mega
    • Fix nil pointer exception when bad node received (Nick Craig-Wood)
  • S3
    • Fix --s3-no-head panic: reflect: Elem of invalid type s3.PutObjectInput (Nick Craig-Wood)
  • SFTP
    • Fix issue with WS_FTP by working around failing RealPath (albertony)
  • Union
    • Fix duplicated files when using directories with leading / (Nick Craig-Wood)
    • Fix multiple files being uploaded when roots don't exist (Nick Craig-Wood)
    • Fix panic due to misalignment of struct field in 32 bit architectures (r-ricci)
 
Merci pour cette version de rclone adaptée aux nas QNAP ! Je tourne sur un TS-431K.
Car j'étais passé de OVH à Pcloud pensant faire du Webdav avec HBS3, mais en vain. Donc cette solution me sauve !
 

1.60.0 - 2022-10-21​


  • New backends
  • New Features
    • build
      • Update to go1.19 and make go1.17 the minimum required version (Nick Craig-Wood)
      • Install.sh: fix arm-v7 download (Ole Frost)
    • fs: Warn the user when using an existing remote name without a colon (Nick Craig-Wood)
    • httplib: Add --xxx-min-tls-version option to select minimum TLS version for HTTP servers (Robert Newson)
    • librclone: Add PHP bindings and test program (Jordi Gonzalez Muñoz)
    • operations
      • Add --server-side-across-configs global flag for any backend (Nick Craig-Wood)
      • Optimise --copy-dest and --compare-dest (Nick Craig-Wood)
    • rc: add job/stopgroup to stop group (Evan Spensley)
    • serve dlna
      • Add --announce-interval to control SSDP Announce Interval (YanceyChiew)
      • Add --interface to Specify SSDP interface names line (Simon Bos)
      • Add support for more external subtitles (YanceyChiew)
      • Add verification of addresses (YanceyChiew)
    • sync: Optimise --copy-dest and --compare-dest (Nick Craig-Wood)
    • doc updates (albertony, Alexander Knorr, anonion, João Henrique Franco, Josh Soref, Lorenzo Milesi, Marco Molteni, Mark Trolley, Ole Frost, partev, Ryan Morey, Tom Mombourquette, YFdyh000)
  • Bug Fixes
    • filter
      • Fix incorrect filtering with UseFilter context flag and wrapping backends (Nick Craig-Wood)
      • Make sure we check --files-from when looking for a single file (Nick Craig-Wood)
    • rc
      • Fix mount/listmounts not returning the full Fs entered in mount/mount (Tom Mombourquette)
      • Handle external unmount when mounting (Isaac Aymerich)
      • Validate Daemon option is not set when mounting a volume via RC (Isaac Aymerich)
    • sync: Update docs and error messages to reflect fixes to overlap checks (Nick Naumann)
  • VFS
    • Reduce memory use by embedding sync.Cond (Nick Craig-Wood)
    • Reduce memory usage by re-ordering commonly used structures (Nick Craig-Wood)
    • Fix excess CPU used by VFS cache cleaner looping (Nick Craig-Wood)
  • Local
    • Obey file filters in listing to fix errors on excluded files (Nick Craig-Wood)
    • Fix "Failed to read metadata: function not implemented" on old Linux kernels (Nick Craig-Wood)
  • Compress
    • Fix crash due to nil metadata (Nick Craig-Wood)
    • Fix error handling to not use or return nil objects (Nick Craig-Wood)
  • Drive
    • Make --drive-stop-on-upload-limit obey quota exceeded error (Steve Kowalik)
  • FTP
    • Add --ftp-force-list-hidden option to show hidden items (Øyvind Heddeland Instefjord)
    • Fix hang when using ExplicitTLS to certain servers. (Nick Craig-Wood)
  • Google Cloud Storage
    • Add --gcs-endpoint flag and config parameter (Nick Craig-Wood)
  • Hubic
    • Remove backend as service has now shut down (Nick Craig-Wood)
  • Onedrive
    • Rename Onedrive(cn) 21Vianet to Vnet Group (Yen Hu)
    • Disable change notify in China region since it is not supported (Nick Craig-Wood)
  • S3
    • Implement --s3-versions flag to show old versions of objects if enabled (Nick Craig-Wood)
    • Implement --s3-version-at flag to show versions of objects at a particular time (Nick Craig-Wood)
    • Implement backend versioning command to get/set bucket versioning (Nick Craig-Wood)
    • Implement Purge to purge versions and backend cleanup-hidden (Nick Craig-Wood)
    • Add --s3-decompress flag to decompress gzip-encoded files (Nick Craig-Wood)
    • Add --s3-sse-customer-key-base64 to supply keys with binary data (Richard Bateman)
    • Try to keep the maximum precision in ModTime with --user-server-modtime (Nick Craig-Wood)
    • Drop binary metadata with an ERROR message as it can't be stored (Nick Craig-Wood)
    • Add --s3-no-system-metadata to suppress read and write of system metadata (Nick Craig-Wood)
  • SFTP
    • Fix directory creation races (Lesmiscore)
  • Swift
    • Add --swift-no-large-objects to reduce HEAD requests (Nick Craig-Wood)
  • Union
    • Propagate SlowHash feature to fix hasher interaction (Lesmiscore)
 

v1.60.1 - 2022-11-17​

See commits

  • Bug Fixes
    • lib/cache: Fix alias backend shutting down too soon (Nick Craig-Wood)
    • wasm: Fix walltime link error by adding up-to-date wasm_exec.js (João Henrique Franco)
    • docs
      • Update faq.md with bisync (Samuel Johnson)
      • Corrected download links in windows install docs (coultonluke)
      • Add direct download link for windows arm64 (albertony)
      • Remove link to rclone slack as it is no longer supported (Nick Craig-Wood)
      • Faq: how to use a proxy server that requires a username and password (asdffdsazqqq)
      • Oracle-object-storage: doc fix (Manoj Ghosh)
      • Fix typo remove in rclone_serve_restic command (Joda Stößer)
      • Fix character that was incorrectly interpreted as markdown (Clément Notin)
  • VFS
    • Fix deadlock caused by cache cleaner and upload finishing (Nick Craig-Wood)
  • Local
    • Clean absolute paths (albertony)
    • Fix -L/--copy-links with filters missing directories (Nick Craig-Wood)
  • Mailru
    • Note that an app password is now needed (Nick Craig-Wood)
    • Allow timestamps to be before the epoch 1970-01-01 (Nick Craig-Wood)
  • S3
    • Add provider quirk --s3-might-gzip to fix corrupted on transfer: sizes differ (Nick Craig-Wood)
    • Allow Storj to server side copy since it seems to work now (Nick Craig-Wood)
    • Fix for unchecked err value in s3 listv2 (Aaron Gokaslan)
    • Add additional Wasabi locations (techknowlogick)
  • Smb
    • Fix Failed to sync: context canceled at the end of syncs (Nick Craig-Wood)
  • WebDAV
    • Fix Move/Copy/DirMove when using -server-side-across-configs (Nick Craig-Wood)
 

v1.61.1 - 2022-12-23​



  • Bug Fixes
    • docs:
      • Show only significant parts of version number in version introduced label (albertony)
      • Fix unescaped HTML (Nick Craig-Wood)
    • lib/http: Shutdown all servers on exit to remove unix socket (Nick Craig-Wood)
    • rc: Fix --rc-addr flag (which is an alternate for --url) (Anagh Kumar Baranwal)
    • serve restic
      • Don't serve via http if serving via --stdio (Nick Craig-Wood)
      • Fix immediate exit when not using stdio (Nick Craig-Wood)
    • serve webdav
      • Fix --baseurl handling after lib/http refactor (Nick Craig-Wood)
      • Fix running duplicate Serve call (Nick Craig-Wood)
  • Azure Blob
    • Fix "409 Public access is not permitted on this storage account" (Nick Craig-Wood)
  • S3
    • storj: Update endpoints (Kaloyan Raev)
 
Hi

I've used rclone in the past, mostly with google drive remotes and installed directly on Linux boxes. I am now trying to set it up using the QNAP version and Onedrive, however...

I am unable to get it to work using the GUI. I always end up with a 500 error red box in the web GUI and I have no clue of where the log is located to inspect it.

If I run it from the ssh prompt inside the QNAP nas, I get mount errors such as:
[javi@NAS-1655 ~]$ rclone mount -vv --union-cache-time 30 onedrive_union: /share/CACHEDEV1_DATA/homes/javi/OneDrive/ 2023/06/01 07:52:34 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "mount" "-vv" "--union-cache-time" "30" "onedrive_union:" "/share/CACHEDEV1_DATA/homes/javi/OneDrive/"] 2023/06/01 07:52:34 DEBUG : Creating backend with remote "onedrive_union:" 2023/06/01 07:52:34 DEBUG : Using config file from "/share/homes/javi/.config/rclone/rclone.conf" 2023/06/01 07:52:34 DEBUG : onedrive_union: detected overridden config - adding "{hZTwG}" suffix to name 2023/06/01 07:52:34 DEBUG : Creating backend with remote "onedrive04:union" 2023/06/01 07:52:34 DEBUG : Creating backend with remote "onedrive02:union" 2023/06/01 07:52:34 DEBUG : Creating backend with remote "onedrive03:union" 2023/06/01 07:52:34 DEBUG : Creating backend with remote "onedrive01:union" 2023/06/01 07:52:36 DEBUG : union root '': actionPolicy = *policy.EpAll, createPolicy = *policy.EpMfs, searchPolicy = *policy.FF 2023/06/01 07:52:36 DEBUG : fs cache: renaming cache item "onedrive_union:" to be canonical "onedrive_union{hZTwG}:" 2023/06/01 07:52:36 NOTICE: union root '': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2023/06/01 07:52:36 DEBUG : union root '': Mounting on "/share/CACHEDEV1_DATA/homes/javi/OneDrive/" 2023/06/01 07:52:36 mount helper error: fusermount3: failed to open /dev/fuse: Permission denied 2023/06/01 07:52:36 Fatal error: failed to mount FUSE fs: fusermount: exit status 1

Previously i had found issues with fusermount3 not available or an error with an old version of mount not accepting --no-canonicalize option. Both of them were gone after installing the appropriate entware packages (fuse3-utils and mount-tools IIRC)

What am I missing to get this working?

Thanks
 
Hi

I've used rclone in the past, mostly with google drive remotes and installed directly on Linux boxes. I am now trying to set it up using the QNAP version and Onedrive, however...

I am unable to get it to work using the GUI. I always end up with a 500 error red box in the web GUI and I have no clue of where the log is located to inspect it.

If I run it from the ssh prompt inside the QNAP nas, I get mount errors such as:
[javi@NAS-1655 ~]$ rclone mount -vv --union-cache-time 30 onedrive_union: /share/CACHEDEV1_DATA/homes/javi/OneDrive/ 2023/06/01 07:52:34 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "mount" "-vv" "--union-cache-time" "30" "onedrive_union:" "/share/CACHEDEV1_DATA/homes/javi/OneDrive/"] 2023/06/01 07:52:34 DEBUG : Creating backend with remote "onedrive_union:" 2023/06/01 07:52:34 DEBUG : Using config file from "/share/homes/javi/.config/rclone/rclone.conf" 2023/06/01 07:52:34 DEBUG : onedrive_union: detected overridden config - adding "{hZTwG}" suffix to name 2023/06/01 07:52:34 DEBUG : Creating backend with remote "onedrive04:union" 2023/06/01 07:52:34 DEBUG : Creating backend with remote "onedrive02:union" 2023/06/01 07:52:34 DEBUG : Creating backend with remote "onedrive03:union" 2023/06/01 07:52:34 DEBUG : Creating backend with remote "onedrive01:union" 2023/06/01 07:52:36 DEBUG : union root '': actionPolicy = *policy.EpAll, createPolicy = *policy.EpMfs, searchPolicy = *policy.FF 2023/06/01 07:52:36 DEBUG : fs cache: renaming cache item "onedrive_union:" to be canonical "onedrive_union{hZTwG}:" 2023/06/01 07:52:36 NOTICE: union root '': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2023/06/01 07:52:36 DEBUG : union root '': Mounting on "/share/CACHEDEV1_DATA/homes/javi/OneDrive/" 2023/06/01 07:52:36 mount helper error: fusermount3: failed to open /dev/fuse: Permission denied 2023/06/01 07:52:36 Fatal error: failed to mount FUSE fs: fusermount: exit status 1

Previously i had found issues with fusermount3 not available or an error with an old version of mount not accepting --no-canonicalize option. Both of them were gone after installing the appropriate entware packages (fuse3-utils and mount-tools IIRC)

What am I missing to get this working?

Thanks

Hi Javi,
I had the same problem as you.
I was able to fix it by fixing a few permissions in QNAP's file system.
I compared permissions on my linux pc before updating those on the NAS, just to be sure to not mess up.

First, I had to fix /dev/fuse with:
Bash:
sudo chmod a+rw /dev/fuse

Then, I had another error that was due to the missing SUID bit of fusermount.

I fixed this too, with
Bash:
sudo chmod u+s /usr/local/bin/fusermount

Now the mount command works even if you're not root.
However, I have been unable to see the mounted directory from File Station or any other QNAP software.
How do you go about making it visible?
 
Hoping someone here can help...

I have installed this package, but I am not able to add any configs. In SSH, I see this error:
Error: Post "https://api.idrivee2.com/api/service/get_region_end_point": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2024-03-11T15:21:13-07:00 is after 2021-09-30T14:01:15Z

I am on a TVS-871 with firmware 4.5.1.1465 (from 10/24/2020). I have some specific reasons not to update the firmware, so I hope that's not a potential cause.

My guess is that this has to do with a certificate on the QNAP that's expired, but I'm not sure where/what that would be. I checked in Control Panel --> Security --> Certificate & Private Key. I see this information...
Status: default secure certificate being used
Issued by: QNAP Systems, Inc.
Alternative name: --
Expires on: 2026.3.9

Assuming the above is only relevant for SSL connections to the QNAP and that I could install a self-signed or externally-signed cert there.

EDIT:
If anyone else runs into this, the issue is that QNAP never updates it's ca/intermediate certificates, so at least one of them had reached its expiration. The below commands were adjusted slightly to function properly from here: https://www.andreadraghetti.it/install-root-intermediate-certificate-bundles-on-qnap/
*******************************
cd /share/
curl --silent --location --remote-name --insecure https://curl.haxx.se/ca/cacert.pem
mkdir certs
cat cacert.pem | awk 'split_after==1{n++;split_after=0} /-----END CERTIFICATE-----/ {split_after=1} {if(length($0) > 0) print > "certs/cert" n ".pem"}'
cd certs
for filename in cert*pem;do mv $filename `openssl x509 -hash -noout -in $filename`.0; done;
cp *.0 /etc/ssl/certs/
*******************************
 
Dernière édition:
Hey, big fan. I'm having the weirdest issue that is driving me insane. Suddenly I can't log into the rclone gui because the qnap/qnap isn't working. I try to go in Whenever and change it through ssh, I get:

Code:
Failed to start remote control: failed to init server: listen tcp 127.0.0.1:5572: bind: address already in use

I've tried to uninstall, purge configs, change the addr, and I can't seem to make any progress. I was hoping you might have a tip for me. I know there is something stupid here, but I can't seem to work it out.