ocis: renaming of files/folders shows an error in phoenix

  1. checkout #409
  2. start ocis with bin/ocis server
  3. start a redis server docker run --rm -e REDIS_DATABASES=1 -p 6379:6379 -d webhippie/redis:latest
  4. login to phoenix
  5. upload a file
  6. try to rename the file

file is renamed but the popup does not disappear and an error is shown saying that there was an error renaming rename

Phoenix sends two MOVE requests, one is successful the second one received a 500 response

OCIS log:

2020-08-13T08:45:35+05:45 ERR home/artur/go/pkg/mod/github.com/cs3org/reva@v1.1.0/internal/grpc/services/storageprovider/storageprovider.go:439 > error moving file error="ocfs: error moving /var/tmp/reva/data/4c510ada-c86b-4815-8820-42cdf82c3d51/files/settings.txt to /var/tmp/reva/data/4c510ada-c86b-4815-8820-42cdf82c3d51/files/renamed.txt: rename /var/tmp/reva/data/4c510ada-c86b-4815-8820-42cdf82c3d51/files/settings.txt /var/tmp/reva/data/4c510ada-c86b-4815-8820-42cdf82c3d51/files/renamed.txt: no such file or directory" pkg=rgrpc service=reva traceid=a4d196337cd4c1ba8ed3f896af2db67b

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

if I build in dev mode with node build/run-for-all.js -p yarn run build && yarn build:dev (avoiding watch here), then the bug disappears… 😢

image

only one call ^