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

PATCH fails with 500 when uploading to EOS #1254

Closed
PVince81 opened this issue Jun 3, 2020 · 4 comments
Closed

PATCH fails with 500 when uploading to EOS #1254

PVince81 opened this issue Jun 3, 2020 · 4 comments

Comments

@PVince81
Copy link
Contributor

PVince81 commented Jun 3, 2020

Steps

  1. Setup EOS with docker-compose: https://github.com/owncloud-docker/compose-playground
  2. Apply Expose data storage port 9160 owncloud-docker/compose-playground#26 before running
  3. Run docker-compose
  4. Upload a file and observe the logs

Expected result

Upload goes through

Actual result

500 status on the PATCH call

Logs

[tusd] 2020/06/03 12:35:57 event="RequestIncoming" method="PATCH" path="/160247c1-1f9c-4b6b-b191-99152767f842" requestId="" 
2020-06-03T12:35:57Z INF tusd routing: path=/160247c1-1f9c-4b6b-b191-99152767f842 pkg=rhttp service=reva traceid=f03f4fda2c7d4705983fec91b2b692da
[tusd] 2020/06/03 12:35:57 event="ChunkWriteStart" id="160247c1-1f9c-4b6b-b191-99152767f842" maxSize="375" offset="0" 
[tusd] 2020/06/03 12:35:57 event="ChunkWriteComplete" id="160247c1-1f9c-4b6b-b191-99152767f842" bytesWritten="375" 
nslcd: DEBUG: accept() failed (ignored): Resource temporarily unavailable
nslcd: [4fd4a1] DEBUG: connection from pid=16 uid=0 gid=0
nslcd: [4fd4a1] <passwd="einstein"> DEBUG: myldap_search(base="dc=example,dc=org", filter="(&(objectClass=posixAccount)(uid=einstein))")
2020-06-03T12:35:57Z DBG Search request basedn=,dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectClass=posixAccount)(uid=einstein)) name=glauth service=glauth src={"IP":"172.20.0.8","Port":36098,"Zone":""} verbosity=6
2020-06-03T12:35:57Z DBG AP: Search OK filter=(&(objectClass=posixAccount)(uid=einstein)) name=glauth service=glauth verbosity=6
nslcd: [4fd4a1] <passwd="einstein"> DEBUG: ldap_result(): cn=einstein,ou=users,dc=example,dc=org
nslcd: [4fd4a1] <passwd="einstein"> DEBUG: ldap_result(): end of results (1 total)
[tusd] 2020/06/03 12:35:57 event="ResponseOutgoing" status="500" method="PATCH" path="/160247c1-1f9c-4b6b-b191-99152767f842" error="eosclient: error while executing command: exit status 54" requestId="" 
2020-06-03T12:35:57Z ERR http end="03/Jun/2020:12:35:57 +0000" host=172.20.0.1 method=PATCH pkg=rhttp proto=HTTP/1.1 service=reva size=57 start="03/Jun/2020:12:35:57 +0000" status=500 time_ns=104788950 traceid=f03f4fda2c7d4705983fec91b2b692da uri=/data/160247c1-1f9c-4b6b-b191-99152767f842 url=/data/160247c1-1f9c-4b6b-b191-99152767f842
@PVince81
Copy link
Contributor Author

PVince81 commented Jun 3, 2020

@butonic FYI, not sure if you observed this on your local instance and whether it's only a docker thing

@PVince81
Copy link
Contributor Author

@individual-it I think you solved this with a setup tweak ?

@individual-it
Copy link
Member

please try if owncloud-docker/compose-playground#30 solves it for you

@butonic butonic transferred this issue from owncloud/ocis-reva Jan 18, 2021
@settings settings bot removed the Storage:EOS label Jan 29, 2021
@settings settings bot removed the p3-medium label Apr 7, 2021
@fschade
Copy link
Contributor

fschade commented Jun 4, 2024

Please open again if the ticket is still relevant

@fschade fschade closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants