-
Notifications
You must be signed in to change notification settings - Fork 187
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
use eos driver for /eos namespace #484
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
with the env var change proposed in the comment, creating shares do work however listing shares still has a 500 error with panic, due to:
strange that now we see "marie" instead of her uuid... |
ah, maybe instead of replacing I need both... adjusting... |
according to our discussion, the EOS layout must be an empty string. |
9d84d3e
to
a81b660
Compare
docker-compose.yml
Outdated
REVA_FRONTEND_URL: https://${OCIS_DOMAIN:-localhost}:9200 | ||
REVA_DATAGATEWAY_URL: https://${OCIS_DOMAIN:-localhost}:9200/data | ||
|
||
# TODO dav/files namespace is broken because it should use /home not /oc or /eos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've moved all those to owncloud/product#129 (comment), please remove these lines
so we managed to have something working with the setup from this PR, see owncloud/product#129 (comment) next up:
|
826f02a
to
b9d6e0b
Compare
@butonic please undraft and squash |
raised #499 for the namespaces docs |
Signed-off-by: Jörn Friedrich Dreyer <[email protected]> make home provider return eos storageid Signed-off-by: Jörn Friedrich Dreyer <[email protected]> add hint about REVA_STORAGE_HOME_MOUNT_ID Signed-off-by: Jörn Friedrich Dreyer <[email protected]> use ishanks shetup Signed-off-by: Jörn Friedrich Dreyer <[email protected]> hmm Signed-off-by: Jörn Friedrich Dreyer <[email protected]> working setup Signed-off-by: Jörn Friedrich Dreyer <[email protected]> use correct env vars for data provider Signed-off-by: Jörn Friedrich Dreyer <[email protected]> remove names.md Signed-off-by: Jörn Friedrich Dreyer <[email protected]> cleanup env vars Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
b9d6e0b
to
3dc3241
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've retested sharing on ocis master with this config and it still works 👍
OCIS_DOMAIN: ${OCIS_DOMAIN:-localhost} | ||
PROXY_OIDC_ISSUER: https://${OCIS_DOMAIN:-localhost}:9200 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PHOENIX_OIDC_AUTHORITY: https://${OCIS_DOMAIN:-localhost}:9200 | ||
PHOENIX_OIDC_METADATA_URL: https://${OCIS_DOMAIN:-localhost}:9200/.well-known/openid-configuration | ||
PHOENIX_WEB_CONFIG_SERVER: https://${OCIS_DOMAIN:-localhost}:9200 | ||
PROXY_HTTP_ADDR: 0.0.0.0:9200 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the dafault
KONNECTD_ISS: https://${OCIS_DOMAIN:-localhost}:9200 | ||
KONNECTD_LOG_LEVEL: debug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log level will be taken from OCIS_LOG_LEVEL. if not that is a bug and should be fixed properly
KONNECTD_ISS: https://${OCIS_DOMAIN:-localhost}:9200 | ||
KONNECTD_LOG_LEVEL: debug | ||
KONNECTD_TLS: '0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the default is already false
as is necessary because TLS handling is offloaded to the proxy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be a fan of leaving all the defaults. Or document the defaults as a comment.
when accessing /eos we need to use the
eos
driver that does not apply the home layout. The first path segment is provided by clients accessing the/dav/files/<userid>
endpoint. This PR will make the current configuration work with the existing code in reva for the eos driver as well as the ocdav implementation for the/dav/files
endpoint.submit PR to reva that applies the user layout in ocdav when accessing viawas already possible, but i forgot it. and it is not needed for the setup./dav/files
so we can route to any users files. access permissions are checked in the storage provider but the dav endpoint is needed to access other users storage.The
/Shared
folder only makes sense for the/home
namespace. when accessing/eos
it is not part of the tree.