Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5): 20.0.4
Operating system and version (eg, Ubuntu 20.04): CentOS 7.7
Apache or nginx version (eg, Apache 2.4.25): nginx 1.18
PHP version (eg, 7.4): 7.4
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- not applicable
- not applicable
- not applicable
The output of your Nextcloud log in Admin > Logging:
not needed
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
not needed
The output of your Apache/nginx/system log in /var/log/____
:
not needed
Dear all,
I’m managing a nextcloud server. I need a way to get a report of all shares of all users. I’ve used this command which works: ./occ sharing list
. BTW It contains informations not so readable. I.e. the users are from AD and the output of the syntax is, i.e.
{
"id": "2915",
"file_id": 860670,
"owner": "64fe674c-18d2-11e8-9e22-000056102fa4",
"initiator": "64fe674c-18d2-11e8-9e22-000056102fa4",
"time": "2020-03-15T17:03:03+00:00",
"permissions": 15,
"path": "\/MY_PATH",
"name": "MY_PATH",
"is_directory": true,
"type": "user",
"recipient": "8ccd5210-18d2-11e8-9629-005056102fa4"
},
So the above does’nt give me informations about the owners and the file/folder.
I’ve tested the apis as well, but the syntax to get, i.e. the share_id 2915 answers me always with the share of the user I’m using to authenticate with the api, even if the user is an administrator.
Example:
curl -u 'myuser:mypass' -X GET https://MYSERVER/ocs/v1.php/apps/files_sharing/api/v1/shares?share_id=2915 -H "OCS-APIRequest: true"
output:
<?xml version="1.0"?>
<ocs>
<meta>
<status>ok</status>
<statuscode>100</statuscode>
<message>OK</message>
<totalitems></totalitems>
<itemsperpage></itemsperpage>
</meta>
<data>
<element>
<id>1518</id>
(...)
As you can see, the output is referred to id 1518 and not the asked 2915. Changing the id doesn’t help, alwats same result.
Any help??
thanks!