Open michielbdejong opened 1 year ago
I just tested it, and I also got some problems but it seems that it depends on the config. If you use this config then uploads work, both in Network Alpha ("mentix-fixes" image) and even in Network Beta (latest Reva master), I tested that with this script.
But in this test, that uses the sciencemesh blessed config, uploads indeed seem to fail!
Update: It wasn't actually using sciencemesh blessed config, but an out-of-date one, fixed here
Apparently this is still failing for Daniel (and others?). maybe it happens when reva CLI runs on a different server than revad?
I'm trying to test this and nstalled the Reva CLI @ me/mentix-fixes on my laptop, but now blocked on https://github.com/pondersource/sciencemesh-php/issues/172 while trying to reproduce this. Will try to find time later this week to look into this further.
This doesn't only happen with the Reva CLI, it also happens with the health checks that our monitoring is performing. And yes, it happens for most other sites as well (which are running the integration). With our "old" deployment (the central brain), which runs a recent Reva but not your blessed version, uploading still works. So either something has been broken, or it's a configuration issue.
I found this error in the Nextcloud logs that might be related:
Call to undefined method OC\\Files\\Node\\Folder::putContent() in file '/var/www/html/apps/sciencemesh/lib/Controller/RevaController.php' line 841
Ah that happens when you try upload -protocol=simple ./README.md /home/asdf
instead of upload -protocol=simple ./README.md /home/asdf/README.md
. With the latter, it works for me.
No difference for me (I always add the filename, as that issue is known for 3 years now ;)).
Daniel wrote: