Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploads failing? #165

Open
Tracked by #194
michielbdejong opened this issue Feb 23, 2023 · 8 comments
Open
Tracked by #194

Uploads failing? #165

michielbdejong opened this issue Feb 23, 2023 · 8 comments

Comments

@michielbdejong
Copy link
Member

Daniel wrote:

I just investigated the failing health checks, and the reason is that uploads through Reva are currently failing for all the "real" deployments. I also checked with the Reva CLI, same effect: Uploads don't work.

@michielbdejong
Copy link
Member Author

michielbdejong commented Feb 27, 2023

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!

@michielbdejong
Copy link
Member Author

Update: It wasn't actually using sciencemesh blessed config, but an out-of-date one, fixed here

@michielbdejong
Copy link
Member Author

michielbdejong commented Feb 28, 2023

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 #172 while trying to reproduce this. Will try to find time later this week to look into this further.

@Daniel-WWU-IT
Copy link

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.

@michielbdejong
Copy link
Member Author

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

@michielbdejong
Copy link
Member Author

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.

@Daniel-WWU-IT
Copy link

No difference for me (I always add the filename, as that issue is known for 3 years now ;)).

@michielbdejong
Copy link
Member Author

@mrvahedi68 mrvahedi68 mentioned this issue May 17, 2023
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants