Cannot Add Users to Share To: 404 error hitting sharees endpoint

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

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 :heart:

Nextcloud version (eg, 20.0.5): 25.0.3.2
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.1 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.54
PHP version (eg, 7.4): 8.0.27

The issue you are facing:
Attempting to share a Calendar or Deck board results in an infinitely loading list.

Is this the first time you’ve seen this error? (Y/N): N, error also existed on previous version (25.0.2)

Steps to replicate it:

  1. Open Nextcloud and navigate to Deck tab
  2. Select a board to share
  3. In the 3-dot menu, click Board Details which opens to the Sharing tab. Observe the infinitely loading spinner on the search bar.

The resulting API call returns 404 with the following message:

{"ocs":{"meta":{"status":"failure","statuscode":404,"message":"Invalid query, please check the syntax. API specifications are here: http:\/\/www.freedesktop.org\/wiki\/Specifications\/open-collaboration-services.\n"},"data":[]}}

There are a couple dated topics that are similar, but do not address this current issue:


The output of your Nextcloud log in Admin > Logging:

{"reqId":"EFZZuzr6kjBnvAXKp7zp","level":1,"time":"2023-01-25T02:50:42+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::startCheckCodeIntegrity: Starting code integrity check...","userAgent":"--","version":"25.0.2.3","data":{"app":"updater"}}
{"reqId":"EFZZuzr6kjBnvAXKp7zp","level":1,"time":"2023-01-25T02:51:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"--","version":"25.0.2.3","data":{"app":"updater"}}
{"reqId":"EFZZuzr6kjBnvAXKp7zp","level":1,"time":"2023-01-25T02:51:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"--","version":"25.0.3.2","data":{"app":"updater"}}
{"reqId":"EFZZuzr6kjBnvAXKp7zp","level":1,"time":"2023-01-25T02:51:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::maintenanceDisabled: Turned off maintenance mode","userAgent":"--","version":"25.0.3.2","data":{"app":"updater"}}
{"reqId":"EFZZuzr6kjBnvAXKp7zp","level":1,"time":"2023-01-25T02:51:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"--","version":"25.0.3.2","data":{"app":"updater"}}
<nothing is printed when trying to reproduce the error>

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
https://pastebin.com/bGU9vDAP

The output of your Apache/nginx/system log in /var/log/____:

www-data@fb19c6d25b2f:/$ cat /var/log/apache2/error.log
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.9. Set the 'ServerName' directive globally to suppress this message
[Tue Jan 24 18:52:35.053818 2023] [mpm_event:notice] [pid 134:tid 140611223104832] AH00489: Apache/2.4.54 (Debian) configured -- resuming normal operations
[Tue Jan 24 18:52:35.054099 2023] [core:notice] [pid 134:tid 140611223104832] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
[Tue Jan 24 19:08:04.513602 2023] [mpm_event:notice] [pid 65:tid 140282479385920] AH00489: Apache/2.4.54 (Debian) configured -- resuming normal operations
[Tue Jan 24 19:08:04.513811 2023] [core:notice] [pid 65:tid 140282479385920] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
[Tue Jan 24 19:08:15.426122 2023] [proxy_fcgi:error] [pid 69:tid 140282468427520] [client 127.0.0.1:33880] AH01067: Failed to read FastCGI header
[Tue Jan 24 19:08:15.426989 2023] [proxy_fcgi:error] [pid 69:tid 140282468427520] (104)Connection reset by peer: [client 127.0.0.1:33880] AH01075: Error dispatching request to :
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.5. Set the 'ServerName' directive globally to suppress this message
[Tue Jan 24 19:10:22.411307 2023] [mpm_event:notice] [pid 81:tid 140560319475008] AH00489: Apache/2.4.54 (Debian) configured -- resuming normal operations
[Tue Jan 24 19:10:22.411507 2023] [core:notice] [pid 81:tid 140560319475008] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'

Is there anything I can do here besides wait for an update? The inability to share Decks with other users in my Nextcloud adds a lot of unnecessary overhead to work tracking.

I’ll attempt to change my database manually in the meantime.

A recent update seems to have fixed this.