pondersource / oc-sciencemesh

Sciencemesh app for Own Cloud
MIT License
0 stars 1 forks source link

getting `sharing is not allowed` error on owncloud #5

Closed shokri-navid closed 1 year ago

shokri-navid commented 2 years ago

I am getting this error when I am trying to share one file in Owncloud regardless of the creation of the Reva connection between peers or not, sharing is not allowed.

At the first attempt, I mount the files_sharing root folder from my host machine but It causes an error on the js layer with this message:

isPublicSharingBlockedByAllowlist is not a function in file:sharedialogview.js line:52

after that, I try to mount just the apps/files_sharing/lib/Controller folder and the error changed to : TypeError: data1[0].ocs is undefined on file: shareitemmodel.js line 707

michielbdejong commented 2 years ago

OK so the mount from host is not working as expected. To debug that, you could mount it at a different path, go into the container with docker exec -it <container> /bin/bash and try to find the differences using ls and diff.

To debug the original problem, find the line where that error is thrown. Is it due to some sort of "allow list"?

michielbdejong commented 1 year ago

Closing this as stale.