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

Nextcloud 22.0.0 : no files sync for ldap users #28379

Closed
sweetyTux opened this issue Aug 11, 2021 · 1 comment
Closed

Nextcloud 22.0.0 : no files sync for ldap users #28379

sweetyTux opened this issue Aug 11, 2021 · 1 comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@sweetyTux
Copy link

sweetyTux commented Aug 11, 2021

Hi,

I recently update my nextcloud to version 22.0.0 and i have a problem.
LDAP users can't sync files ; all is fine for local users.

It seems this problem occured in october 2020 on nextcloud 20.0.0.9 : 23355

Others apps works well : Notes, Contacts, Cookbook, ...

compose-file :

version: "3.8"
services:

nextcloud-db:
image: mariadb:latest
container_name: nextcloud-bdd
restart: always
networks:
- prd
volumes:
- /data/NEXTCLOUD/NEXTCLOUD_BDD:/var/lib/mysql
environment:
- MYSQL_DATABASE=***********
- MYSQL_USER=***********
- MYSQL_PASSWORD=***********
- MYSQL_ROOT_PASSWORD=***********
- MYSQL_HOST=nextcloud-bdd
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=FALSE

nextcloud-redis:
image: redis:latest
container_name: nextcloud-redis
restart: always
networks:
- prd

nextcloud-app:
image: nextcloud:fpm-alpine
container_name: nextcloud-app
restart: always
networks:
- prd
links:
- nextcloud-db
- nextcloud-redis
volumes:
- /data/NEXTCLOUD/NEXTCLOUD_WWW:/var/www/html
- /data/NEXTCLOUD/NEXTCLOUD_CONF:/var/www/html/config
- /data/NEXTCLOUD/NEXTCLOUD_DATA:/var/www/html/data
environment:
- MYSQL_DATABASE=***********
- MYSQL_USER=***********
- MYSQL_PASSWORD=***********
- MYSQL_HOST=nextcloud-bdd
- REDIS_HOST=nextcloud-redis

nextcloud-web:
image: nginx:latest
container_name: nextcloud-web
restart: always
networks:
- prd
links:
- nextcloud-app
volumes:
- /data/NEXTCLOUD/nginx.conf:/etc/nginx/nginx.conf:ro
- /data/NEXTCLOUD/NEXTCLOUD_WWW:/var/www/html
ports:
- 10443:443

networks:
prd:
external: true

Login as admin user into your Nextcloud and access 
http://<my_nextcloud>/index.php/settings/integrity/failed 
**_No errors have been found._**

Logs

172.18.0.5 - cthurault 11/Aug/2021:11:24:06 +0000 "GET /ocs/v2.php" 304
172.18.0.5 - cthurault 11/Aug/2021:11:24:06 +0000 "GET /ocs/v2.php" 200
172.18.0.5 - cthurault 11/Aug/2021:11:24:07 +0000 "GET /ocs/v2.php" 200
172.18.0.5 - cthurault 11/Aug/2021:11:24:08 +0000 "PROPFIND /remote.php" 207
172.18.0.5 - cthurault 11/Aug/2021:11:24:08 +0000 "PROPFIND /remote.php" 500

Nextcloud log (data/nextcloud.log)

{"reqId":"zyEPfLeBlQ9TkioGZZo5","level":4,"time":"2021-08-11T11:22:26+00:00","remoteAddr":"192.168.50.150","user":"ec15d56e-7fd1-103b-91aa-abb3d6790d73","app":"webdav","method":"PROPFIND","url":"/remote.php/webdav/","message":"user cthurault not found","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0 RC1","version":"22.0.0.11","exception":{"Exception":"OCA\\Circles\\Exceptions\\FederatedUserNotFoundException","Message":"user cthurault not found","Code":404,"Trace":[{"file":"/var/www/html/apps/circles/lib/ShareByCircleProvider.php","line":551,"function":"getLocalFederatedUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":["cthurault"]},{"file":"/var/www/html/lib/private/Share20/Manager.php","line":1360,"function":"getSharedWith","class":"OCA\\Circles\\ShareByCircleProvider","type":"->","args":["cthurault",7,{"__class__":"OCA\\DAV\\Connector\\Sabre\\Directory"},-1,0]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Node.php","line":321,"function":"getSharedWith","class":"OC\\Share20\\Manager","type":"->","args":["cthurault",7,{"__class__":"OCA\\DAV\\Connector\\Sabre\\Directory"},-1]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/FilesPlugin.php","line":371,"function":"getNoteFromShare","class":"OCA\\DAV\\Connector\\Sabre\\Node","type":"->","args":["cthurault"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/PropFind.php","line":95,"function":"OCA\\DAV\\Connector\\Sabre\\{closure}","class":"OCA\\DAV\\Connector\\Sabre\\FilesPlugin","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/FilesPlugin.php","line":373,"function":"handle","class":"Sabre\\DAV\\PropFind","type":"->","args":["{http://nextcloud.org/ns}note",{"__class__":"Closure"}]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"handleGetProperties","class":"OCA\\DAV\\Connector\\Sabre\\FilesPlugin","type":"->","args":[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Connector\\Sabre\\Directory"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["propFind",[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Connector\\Sabre\\Directory"}]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":984,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Connector\\Sabre\\Directory"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1661,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->","args":["",["{http://owncloud.org/ns}owner-id","{DAV:}creationdate","{DAV:}getetag","{http://owncloud.org/ns}permissions","{DAV:}getlastmodified","And 15 more entries, set log level to debug to see all entries"],1]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1646,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"elementMap":[],"contextUri":"/remote.php/webdav/","namespaceMap":{"DAV:":"d","http://sabredav.org/ns":"s","http://owncloud.org/ns":"oc","http://nextcloud.org/ns":"nc"},"classMap":[],"__class__":"Sabre\\Xml\\Writer"},{"__class__":"Generator"},false]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":346,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Generator"},false]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PROPFIND",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v1/webdav.php","line":83,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":166,"args":["/var/www/html/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/var/www/html/apps/circles/lib/Service/FederatedUserService.php","Line":462,"CustomMessage":"--"}}

I don't understand the "message":"user cthurault not found" (login to nextcloud is OK).

Please Help !

Thanks by advance.

@sweetyTux sweetyTux added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Aug 11, 2021
@sweetyTux
Copy link
Author

Answer in the 23355 closed issue.
Update to 22.1.0 and all works well now.
I close my issue.

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
Projects
None yet
Development

No branches or pull requests

1 participant