-
Notifications
You must be signed in to change notification settings - Fork 1
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
Document rclone setup #159
Comments
Einstein uses
Next thing to try: with the revad configs from https://github.com/cs3org/reva/tree/master/examples/datatx, or at least with the JSON share manager. |
Now working in a gitpod.io/empty env, trying out this script:
still debugging some errors with that, will continue tomorrow. |
|
|
|
Switched to the pondersource/sciencemesh branch of reva (a fork of cs3org/master)
|
And before that:
|
With latest master of reva, revad1.docker says:
|
This is a response from |
With that, new error is:
|
Ah wait, I was confusing
And I see |
This is the full log of revad2.docker:
|
Line 429 of targetURI = fmt.Sprintf("webdav://%s@%s?name=%s", d.SharedSecret, share.Creator.Idp, share.Name) |
The problem is |
Just to be clear, for a transfer type share this part is not touched. |
-> split out to cs3org/reva#3677 |
Next issue:
|
I mean, for a transfer type share there is no OCM reference being created. When accepting a share this function ( |
That is correct. |
Ah ok. But I don't see it show up in transfer-list.
Then on revad2.docker (Marie):
Then on revad1.docker (Einstein):
Then on revad2.docker (Marie):
|
Ah, it may be that the new OCM spec has not been implemented fully yet for transfer type shares. |
No, nothing is happening in the logs of the rclone server. |
It's also worth noting that I don't even get this far if I don't set a fake value for |
Yeah, but that method shouldn't even be called if we're dealing with a transfer. |
Ok, I will test this myself locally, see what needs to be done. |
I see that the share protocol of the transfer request is not set: func (s *service) getProtocols(ctx context.Context, info *providerpb.ResourceInfo, methods []*ocm.AccessMethod) ocmd.Protocols {
var p ocmd.Protocols
for _, m := range methods {
switch t := m.Term.(type) {
case *ocm.AccessMethod_WebdavOptions:
p = append(p, s.getWebdavProtocol(ctx, info, t))
case *ocm.AccessMethod_WebappOptions:
// TODO
case *ocm.AccessMethod_TransferOptions:
// TODO
}
}
return p
} So that must be the issue. |
So I can fix the transfers. Line 414 d, _ := getTransferProtocol(share) This needs an implementation like Line 429 targetURI = fmt.Sprintf("webdav://%s@%s?name=%s", d.SharedSecret, share.Creator.Idp, share.Name) @michielbdejong regular sharing also fails right? |
Can be closed. Dealt with in PR cs3org/reva#3847. Transfers tutorial will follow shortly. |
I don't see any documentation about setting up an rclone server in https://developer.sciencemesh.io/docs/technical-documentation/ - are sites expected to run one?
I found https://github.com/cs3org/reva/blob/396dd741bcb4c86ab6be8165451b6ccdfdfcba75/examples/datatx/datatx.toml#L13
but I haven't found any docs yet about which version of rclone should be run.
CC @redblom
The text was updated successfully, but these errors were encountered: