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

Sharing with a Circle shows an error #9879

Closed
go2sh opened this issue Jun 15, 2018 · 9 comments
Closed

Sharing with a Circle shows an error #9879

go2sh opened this issue Jun 15, 2018 · 9 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: sharing

Comments

@go2sh
Copy link
Contributor

go2sh commented Jun 15, 2018

Steps to reproduce

  1. Click on the share button for a unshared folder
  2. Search for a Circle
  3. Select the Circle as sharing target

Expected behaviour

Sharee will show up in the list and the folder is shared with the circle.

Actual behaviour

The error bar is shown with "Fehler" (Error) and the sharee is not selected. If I reload the page, the sharee is selected and can access the share. No audit log entry is created.

Server configuration

Operating system:
Ubuntu 16.04
Web server:
nginx
Database:
mariadb
PHP version:
7.0.30
Nextcloud version:
13.0.4
Updated from an older Nextcloud/ownCloud or fresh install:
fresh
Where did you install Nextcloud from:
auto-update
Signing status:
No errors have been found.

List of activated apps:
circles 0.13.6

Client configuration

Browser:
Chrome
Operating system:
Windows 7

Logs

Nextcloud log (data/nextcloud.log)

No relevant entry

Browser log

Javascript Console
POST https://host/ocs/v2.php/apps/files_sharing/api/v1/shares?format=json 403 (Forbidden)
Post Data:

shareType: 7
shareWith: ***ID***
circleInfo: Secret circle
circleOwner: ***NAME***
permissions: 31
path: /folder
@MorrisJobke
Copy link
Member

cc @nextcloud/sharing @daita

@ArtificialOwl
Copy link
Member

Have you installed Circle from the github or from the appstore ? I know there was a bug with the ShareeProvider on the repository few days ago

@go2sh
Copy link
Contributor Author

go2sh commented Jun 15, 2018

From the appstore.

@ArtificialOwl
Copy link
Member

Are you a member of the circle you're trying to share to ?

Can you share to anything else that a circle (like another user or group) ?

@go2sh
Copy link
Contributor Author

go2sh commented Jun 15, 2018

Yes, I'am the only member and owner. (Secret Circle)

Yes, normal groups are working.

@ArtificialOwl
Copy link
Member

In the Settings page, Admin Section/Additional Settings, there is a paragraph about Circles and a button to 'Test Async'. Can you click on that button and confirm me the value you have (from 0 to 5)

@go2sh
Copy link
Contributor Author

go2sh commented Jun 17, 2018

Test is now over; final score: null

@ArtificialOwl
Copy link
Member

Beside using nginx, can you give me some details on the setup ? Can you send me the logs from your httpd during the test or during the share ?

@MorrisJobke MorrisJobke added bug feature: sharing 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jun 18, 2018
@go2sh
Copy link
Contributor Author

go2sh commented Jun 18, 2018

Ahh, sorry. I found the problem. One error message from the post was, that the certificate could not be validated. It was a setup issue, I had no intermediate CA and Root CA in our cert file. Now the score is 5.
Obviously, the app makes some local http requests to the server, but the error reporting gave no clue about the cause of the failure. Maybe ticket should be renamed: "Improve error reporting for circles app." and moved to the circles repo. I'am closing it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: sharing
Projects
None yet
Development

No branches or pull requests

3 participants