Hello,
I have hit an error when trying to access certain files from certain users — I cannot yet pin-point any patterns for it. As for the basics:
The Basics
- Nextcloud Server version (e.g., 29.x.x):
33.0.3(this started happening since the migration to 32.x)
- Operating system and version (e.g., Ubuntu 24.04):
Debian 13
- Web server and version (e.g, Apache 2.4.25):
2.4.66-1~deb13u2
- Reverse proxy and version _(e.g. nginx 1.27.2)
Not using
- PHP version (e.g, 8.3):
8.4
- Is this the first time you’ve seen this error? (Yes / No):
Yes, have not been able to fix it
- When did this problem seem to first start?
Early April
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Bare metal
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
I have been reported by some of my users that some of their directories are marked as “unavailable”. The message I have got from their screen captures is in Spanish — “Esta carpeta no está disponible, por favor, intente de nuevo más tarde o contacte a la administración” (This directory is not available; please try again later or contact the administrator). Do note that after migrating to Nextcloud 33, this message no longer shows — but the contents still fail to be shown.
I have seen this both with a “group folders” directory and with a directory in the personal space of a user.
It is not widespread; I have been contacted by two users only so far. I believe both might be directories they have shared (via links) with others.
File contents are available on-disk; what I did to get them the ability to work with their files was to log in to my server’s shell, then:
$ mv /var/www/nextcloud_data/the_user/affected_directory /var/www/nextcloud_data/the_user/affected_directory_renamed
$ /usr/bin/php -f /srv/nextcloud/occ files:scan the_user
And then, rename the directory back to its original name from the web UI (or the equivalent, with groupfolders:scan), but it still requires the sysadmin to step in, which is quite suboptimal.
Steps to replicate it (hint: details matter!):
Don’t know how to replicate it ![]()
Log entries
Nextcloud
For every access attempt, I get the two following error lines in the log, one by webdav (Undefined constant OCP\Share::SHARE_TYPE_USER) and one mentionng no apps in context, (Undefined constant OCP\Share::SHARE_TYPE_USER Uncaught exception) . Pasting the raw text:
{“reqId”:“jwc5VKUUBG9ktSOxLPov”,“level”:3,“time”:“2026-05-04T18:23:02+00:00”,“remoteAddr”:“192.168.0.73”,“user”:“isalia”,“app”:“no app in context”,“method”:“PROPFIND”,“url”:“/remote.php/dav/files/isalia/%5BTesis%5D/Recomendaciones/”,“scriptName”:“/remote.php”,“message”:“Uncaught exception”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”,“version”:“33.0.3.2”,“exception”:{“Exception”:“Error”,“Message”:“Undefined constant OCP\Share::SHARE_TYPE_USER”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/legacy/OC_Hook.php”,“line”:85,“function”:“preUnShare”,“class”:“OCA\Maps\Hooks\FileHooks”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Share20/LegacyHooks.php”,“line”:47,“function”:“emit”,“class”:“OC_Hook”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/private/Share20/LegacyHooks.php”,“line”:27,“function”:“preUnshare”,“class”:“OC\Share20\LegacyHooks”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php”,“line”:220,“function”:“{closure:OC\Share20\LegacyHooks::__construct():26}”,“class”:“OC\Share20\LegacyHooks”,“type”:“->”,“args”:[“*** sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",“line”:56,“function”:“callListeners”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php”,“line”:67,“function”:“dispatch”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php”,“line”:79,“function”:“dispatch”,“class”:“OC\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Share20/Manager.php”,“line”:1973,“function”:“dispatchTyped”,“class”:“OC\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Share20/Manager.php”,“line”:1137,“function”:“dispatchEvent”,“class”:“OC\Share20\Manager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Share20/Manager.php”,“line”:1487,“function”:“deleteShare”,“class”:“OC\Share20\Manager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Share20/Manager.php”,“line”:1269,“function”:“checkShare”,“class”:“OC\Share20\Manager”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php”,“line”:99,“function”:“getSharesBy”,“class”:“OC\Share20\Manager”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php”,“line”:158,“function”:“getShare”,“class”:“OCA\DAV\Connector\Sabre\SharesPlugin”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php”,“line”:202,“function”:“getShares”,“class”:“OCA\DAV\Connector\Sabre\SharesPlugin”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php”,“line”:95,“function”:“{closure:OCA\DAV\Connector\Sabre\SharesPlugin::handleGetProperties():201}”,“class”:“OCA\DAV\Connector\Sabre\SharesPlugin”,“type”:“->”,“args”:[" sensitive parameters replaced ***”]},{“file”:“/var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php”,“line”:201,“function”:“handle”,“class”:“Sabre\DAV\PropFind”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“handleGetProperties”,“class”:“OCA\DAV\Connector\Sabre\SharesPlugin”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1052,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:984,“function”:“getPropertiesByNode”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1664,“function”:“getPropertiesIteratorForPath”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1649,“function”:“writeMultiStatus”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php”,“line”:346,“function”:“generateMultiStatus”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“httpPropFind”,“class”:“Sabre\DAV\CorePlugin”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:472,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Server.php”,“line”:212,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/lib/Server.php”,“line”:428,“function”:“start”,“class”:“OCA\DAV\Connector\Sabre\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/appinfo/v2/remote.php”,“line”:25,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/remote.php”,“line”:151,“args”:[“/var/www/nextcloud/apps/dav/appinfo/v2/remote.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/ext-apps/maps/lib/Hooks/FileHooks.php”,“Line”:154,“message”:“Uncaught exception”,“exception”:“{"class":"Error","message":"Undefined constant OCP\Share::SHARE_TYPE_USER","code":0,"file":"/var/www/nextcloud/ext-apps/maps/lib/Hooks/FileHooks.php:154","trace":"#0 /var/www/nextcloud/lib/private/legacy/OC_Hook.php(85): OCA\Maps\Hooks\FileHooks->preUnShare()\n#1 /var/www/nextcloud/lib/private/Share20/LegacyHooks.php(47): OC_Hook::emit()\n#2 /var/www/nextcloud/lib/private/Share20/LegacyHooks.php(27): OC\Share20\LegacyHooks->preUnshare()\n#3 /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(220): OC\Share20\LegacyHooks->{closure:OC\Share20\LegacyHooks::__construct():26}()\n#4 /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()\n#5 /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php(67): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()\n#6 /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php(79): OC\EventDispatcher\EventDispatcher->dispatch()\n#7 /var/www/nextcloud/lib/private/Share20/Manager.php(1973): OC\EventDispatcher\EventDispatcher->dispatchTyped()\n#8 /var/www/nextcloud/lib/private/Share20/Manager.php(1137): OC\Share20\Manager->dispatchEvent()\n#9 /var/www/nextcloud/lib/private/Share20/Manager.php(1487): OC\Share20\Manager->deleteShare()\n#10 /var/www/nextcloud/lib/private/Share20/Manager.php(1269): OC\Share20\Manager->checkShare()\n#11 /var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php(99): OC\Share20\Manager->getSharesBy()\n#12 /var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php(158): OCA\DAV\Connector\Sabre\SharesPlugin->getShare()\n#13 /var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php(202): OCA\DAV\Connector\Sabre\SharesPlugin->getShares()\n#14 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php(95): OCA\DAV\Connector\Sabre\SharesPlugin->{closure:OCA\DAV\Connector\Sabre\SharesPlugin::handleGetProperties():201}()\n#15 /var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php(201): Sabre\DAV\PropFind->handle()\n#16 /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): OCA\DAV\Connector\Sabre\SharesPlugin->handleGetProperties()\n#17 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1052): Sabre\DAV\Server->emit()\n#18 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(984): Sabre\DAV\Server->getPropertiesByNode()\n#19 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1664): Sabre\DAV\Server->getPropertiesIteratorForPath()\n#20 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1649): Sabre\DAV\Server->writeMultiStatus()\n#21 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(346): Sabre\DAV\Server->generateMultiStatus()\n#22 /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\DAV\CorePlugin->httpPropFind()\n#23 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(472): Sabre\DAV\Server->emit()\n#24 /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Server.php(212): Sabre\DAV\Server->invokeMethod()\n#25 /var/www/nextcloud/apps/dav/lib/Server.php(428): OCA\DAV\Connector\Sabre\Server->start()\n#26 /var/www/nextcloud/apps/dav/appinfo/v2/remote.php(25): OCA\DAV\Server->exec()\n#27 /var/www/nextcloud/remote.php(151): require_once(‘…’)\n#28 {main}"}”,“CustomMessage”:“Uncaught exception”},“id”:“69f8e8b3c7bbd”}
{“reqId”:“jwc5VKUUBG9ktSOxLPov”,“level”:3,“time”:“2026-05-04T18:23:02+00:00”,“remoteAddr”:“192.168.0.73”,“user”:“isalia”,“app”:“webdav”,“method”:“PROPFIND”,“url”:“/remote.php/dav/files/isalia/%5BTesis%5D/Recomendaciones/”,“scriptName”:“/remote.php”,“message”:“Undefined constant OCP\Share::SHARE_TYPE_USER”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0”,“version”:“33.0.3.2”,“exception”:{“Exception”:“Error”,“Message”:“Undefined constant OCP\Share::SHARE_TYPE_USER”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/legacy/OC_Hook.php”,“line”:85,“function”:“preUnShare”,“class”:“OCA\Maps\Hooks\FileHooks”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Share20/LegacyHooks.php”,“line”:47,“function”:“emit”,“class”:“OC_Hook”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/private/Share20/LegacyHooks.php”,“line”:27,“function”:“preUnshare”,“class”:“OC\Share20\LegacyHooks”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php”,“line”:220,“function”:“{closure:OC\Share20\LegacyHooks::__construct():26}”,“class”:“OC\Share20\LegacyHooks”,“type”:“->”,“args”:[“*** sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",“line”:56,“function”:“callListeners”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php”,“line”:67,“function”:“dispatch”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php”,“line”:79,“function”:“dispatch”,“class”:“OC\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Share20/Manager.php”,“line”:1973,“function”:“dispatchTyped”,“class”:“OC\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Share20/Manager.php”,“line”:1137,“function”:“dispatchEvent”,“class”:“OC\Share20\Manager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Share20/Manager.php”,“line”:1487,“function”:“deleteShare”,“class”:“OC\Share20\Manager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Share20/Manager.php”,“line”:1269,“function”:“checkShare”,“class”:“OC\Share20\Manager”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php”,“line”:99,“function”:“getSharesBy”,“class”:“OC\Share20\Manager”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php”,“line”:158,“function”:“getShare”,“class”:“OCA\DAV\Connector\Sabre\SharesPlugin”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php”,“line”:202,“function”:“getShares”,“class”:“OCA\DAV\Connector\Sabre\SharesPlugin”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php”,“line”:95,“function”:“{closure:OCA\DAV\Connector\Sabre\SharesPlugin::handleGetProperties():201}”,“class”:“OCA\DAV\Connector\Sabre\SharesPlugin”,“type”:“->”,“args”:[" sensitive parameters replaced ***”]},{“file”:“/var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php”,“line”:201,“function”:“handle”,“class”:“Sabre\DAV\PropFind”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“handleGetProperties”,“class”:“OCA\DAV\Connector\Sabre\SharesPlugin”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1052,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:984,“function”:“getPropertiesByNode”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1664,“function”:“getPropertiesIteratorForPath”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1649,“function”:“writeMultiStatus”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php”,“line”:346,“function”:“generateMultiStatus”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“httpPropFind”,“class”:“Sabre\DAV\CorePlugin”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:472,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Server.php”,“line”:212,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/lib/Server.php”,“line”:428,“function”:“start”,“class”:“OCA\DAV\Connector\Sabre\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/appinfo/v2/remote.php”,“line”:25,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/remote.php”,“line”:151,“args”:[“/var/www/nextcloud/apps/dav/appinfo/v2/remote.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/ext-apps/maps/lib/Hooks/FileHooks.php”,“Line”:154,“message”:“Undefined constant OCP\Share::SHARE_TYPE_USER”,“exception”:“{"class":"Error","message":"Undefined constant OCP\Share::SHARE_TYPE_USER","code":0,"file":"/var/www/nextcloud/ext-apps/maps/lib/Hooks/FileHooks.php:154","trace":"#0 /var/www/nextcloud/lib/private/legacy/OC_Hook.php(85): OCA\Maps\Hooks\FileHooks->preUnShare()\n#1 /var/www/nextcloud/lib/private/Share20/LegacyHooks.php(47): OC_Hook::emit()\n#2 /var/www/nextcloud/lib/private/Share20/LegacyHooks.php(27): OC\Share20\LegacyHooks->preUnshare()\n#3 /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(220): OC\Share20\LegacyHooks->{closure:OC\Share20\LegacyHooks::__construct():26}()\n#4 /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()\n#5 /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php(67): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()\n#6 /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php(79): OC\EventDispatcher\EventDispatcher->dispatch()\n#7 /var/www/nextcloud/lib/private/Share20/Manager.php(1973): OC\EventDispatcher\EventDispatcher->dispatchTyped()\n#8 /var/www/nextcloud/lib/private/Share20/Manager.php(1137): OC\Share20\Manager->dispatchEvent()\n#9 /var/www/nextcloud/lib/private/Share20/Manager.php(1487): OC\Share20\Manager->deleteShare()\n#10 /var/www/nextcloud/lib/private/Share20/Manager.php(1269): OC\Share20\Manager->checkShare()\n#11 /var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php(99): OC\Share20\Manager->getSharesBy()\n#12 /var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php(158): OCA\DAV\Connector\Sabre\SharesPlugin->getShare()\n#13 /var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php(202): OCA\DAV\Connector\Sabre\SharesPlugin->getShares()\n#14 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php(95): OCA\DAV\Connector\Sabre\SharesPlugin->{closure:OCA\DAV\Connector\Sabre\SharesPlugin::handleGetProperties():201}()\n#15 /var/www/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php(201): Sabre\DAV\PropFind->handle()\n#16 /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): OCA\DAV\Connector\Sabre\SharesPlugin->handleGetProperties()\n#17 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1052): Sabre\DAV\Server->emit()\n#18 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(984): Sabre\DAV\Server->getPropertiesByNode()\n#19 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1664): Sabre\DAV\Server->getPropertiesIteratorForPath()\n#20 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1649): Sabre\DAV\Server->writeMultiStatus()\n#21 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(346): Sabre\DAV\Server->generateMultiStatus()\n#22 /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\DAV\CorePlugin->httpPropFind()\n#23 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(472): Sabre\DAV\Server->emit()\n#24 /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Server.php(212): Sabre\DAV\Server->invokeMethod()\n#25 /var/www/nextcloud/apps/dav/lib/Server.php(428): OCA\DAV\Connector\Sabre\Server->start()\n#26 /var/www/nextcloud/apps/dav/appinfo/v2/remote.php(25): OCA\DAV\Server->exec()\n#27 /var/www/nextcloud/remote.php(151): require_once(‘…’)\n#28 {main}"}”,“CustomMessage”:“Undefined constant OCP\Share::SHARE_TYPE_USER”},“id”:“69f8e8b3c7c19”}
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/apache2/nextcloud/access.log:
192.168.0.73 - - [04/May/2026:18:23:02 +0000] "PROPFIND /remote.php/dav/files/isalia/%5BTesis%5D/Recomendaciones/ HTTP/1.1" 500 946 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0"
(no messages registered in the corresponding access.log
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"nextcloud.myname.org"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "33.0.3.2",
"overwrite.cli.url": "https:\/\/nube.iiec.unam.mx\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "MX",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "sendmail",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpdebug": false,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"htaccess.RewriteBase": "\/",
"apps_paths": [
{
"path": "\/var\/www\/nextcloud\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/nextcloud\/ext-apps",
"url": "\/ext-apps",
"writable": true
}
],
"force_language": "es",
"force_locale": "es_MX",
"skeletondirectory": "\/var\/www\/src\/skeleton",
"trashbin_retention_obligation": "7, 15",
"logfile": "\/var\/log\/nextcloud.log",
"maintenance": false,
"updater.release.channel": "stable",
"theme": "",
"loglevel": 0,
"mysql.utf8mb4": true,
"app_install_overwrite": {
"0": "calendar",
"1": "groupfolders",
"2": "socialsharing_email",
"4": "socialsharing_twitter",
"5": "maps"
},
"filelocking.enabled": true,
"mail_sendmailmode": "smtp",
"mail_smtpport": "25",
"maintenance_window_start": 0
}
}
Apps
Enabled:
- app_api: 33.0.0
- bruteforcesettings: 6.0.0
- calendar: 6.2.3
- circles: 33.0.0
- cloud_federation_api: 1.17.0
- contacts: 8.4.5
- contactsinteraction: 1.14.1
- dashboard: 7.13.0
- dav: 1.36.0
- federatedfilesharing: 1.23.0
- federation: 1.23.0
- files: 2.5.0
- files_downloadlimit: 5.1.0
- files_external: 1.25.1
- files_pdfviewer: 6.0.0
- files_reminders: 1.6.0
- files_sharing: 1.25.2
- files_trashbin: 1.23.0
- files_versions: 1.26.0
- firstrunwizard: 6.0.0
- forms: 5.2.7
- groupfolders: 21.0.7
- impersonate: 4.0.0
- logreader: 6.0.0
- lookup_server_connector: 1.21.0
- maps: 1.6.0
- nextcloud_announcements: 5.0.0
- notes: 5.0.0
- notifications: 6.0.0
- oauth2: 1.21.0
- password_policy: 5.0.0
- polls: 9.0.7
- privacy: 5.0.0
- profile: 1.2.0
- provisioning_api: 1.23.0
- quota_warning: 1.23.0
- recommendations: 6.0.0
- related_resources: 4.0.0
- serverinfo: 5.0.0
- settings: 1.16.0
- sharebymail: 1.23.0
- socialsharing_email: 4.1.0
- socialsharing_twitter: 4.1.0
- survey_client: 5.0.0
- systemtags: 1.23.0
- tasks: 0.17.1
- text: 7.0.1
- theming: 2.8.0
- twofactor_backupcodes: 1.22.0
- twofactor_totp: 15.0.0
- updatenotification: 1.23.0
- user_status: 1.13.0
- viewer: 6.0.0
- weather_status: 1.13.0
- webhook_listeners: 1.5.0
- workflowengine: 2.15.0
Disabled:
- activity: 6.0.0 (installed 2.14.3)
- admin_audit: 1.23.0
- comments: 1.23.0 (installed 1.4.0)
- deck: 1.17.1 (installed 1.17.1)
- encryption: 2.21.0
- files_rightclick: 1.6.0 (installed 1.6.0)
- mail: 5.7.14 (installed 5.7.14)
- photos: 6.0.0 (installed 1.5.0)
- support: 5.0.0 (installed 1.1.0)
- suspicious_login: 11.0.0
- testing: 1.23.0
- twofactor_nextcloud_notification: 7.0.0
- user_ldap: 1.24.0