najcardboyz
(M Najamudin Ridha)
April 17, 2018, 9:54am
1
i installing nextcloud on my vps, and i mount my remote encrypt disk with rclone on ‘/home/user/local’
and then i add my ‘/home/user/local’ on nextcloud as external. its work to create forder and read file, but when i upload file from nextcloud to local, error like this
2018/04/17 17:41:07 ERROR : NajaTest/id_ID-v1.tar.gz.ocTransferId415749812.part: Dir.Rename error: Fs “Encrypted drive ‘NajaOwncloudFiles:/naja’” can’t rename files (no Move)
its because when i upload ‘file.zip’, its create temporary file ‘file.zip.part’, when its success, nextcloud failed to rename ‘file.zip.part’ to ‘file.gz’
my mount setting :
/usr/bin/rclone mount Remote: /home/user/local --default-permissions --uid 33 --gid 33 --umask 002 --allow-non-empty --allow-other --timeout 30s
ncw
(Nick Craig-Wood)
April 17, 2018, 10:21am
2
I have access to a nextcloud and I just tried an encrypted mount and renaming a file and it worked fine.
What does your config look like for the crypt and the underlying remote?
Have you tried with the latest beta ?
najcardboyz
(M Najamudin Ridha)
April 17, 2018, 10:48am
3
hi ncw, thanks for fast respon ,
my version is
rclone v1.40
os/arch: linux/amd64
go version: go1.10
[NajaVultr]
type = b2
account = xxxxxxxx
key = xxxxxxxxxxxxxxx
endpoint =
[NajaOwncloudFiles]
type = crypt
remote = NajaVultr:NajaOwncloudFiles
filename_encryption = off
directory_name_encryption = false
password = xxxxxxxxxxxxx
password2 =
is the latert beta version rclone v1.40-086-gb8381408β? i will try
ncw
(Nick Craig-Wood)
April 17, 2018, 10:53am
4
Oh, I mis-understood - I thought you were mounting the owncloud not b2.
b2
does not support server side move at the moment so can’t rename things on a mount - sorry I can’t think of an easy way around this.
You’ll have to unpack your zip files on the filesystem before moving them into the mount.
I know there is an internal issue at b2 about this so it will get implemented eventually.
najcardboyz
(M Najamudin Ridha)
April 17, 2018, 10:58am
5
Sorry, my question is not clear ,
ok thanks for your explanation, i will waiting for this can implement
najcardboyz
(M Najamudin Ridha)
April 17, 2018, 11:46am
6
hi ncw, i have more question, is google cloud storage or amazon s3 support rename on mount ?
ncw
(Nick Craig-Wood)
April 17, 2018, 11:50am
7
Neither of those do support rename on mount yet, however they do support Server side copy so when this issue is fixed: https://github.com/ncw/rclone/issues/1965 (soon hopefully) then moves will work on mount.
najcardboyz
(M Najamudin Ridha)
April 17, 2018, 11:58am
8
thanks for your answer, i hope to its work