Open piknew opened 3 years ago
As below. This is log of web server when application is trying to query "not existing file". And it does not matter if it does not exist in the folder or even folder "2021/10" does not exist.
Screenshot of "Sent" items (remark: it is in Polish language, but it is saying "conflict, please resolve manually". When clicking - there is requery to the server and again "conflict, please resolve manually":
Log:
State of Photos/Camera/2021/ folder (by web access):
Normal upload (by +) option causes the same problem. I have enabled debug logs on server, please see as following:
{"reqId":"YVsID7Xn94MRvhpOGBHN1AAAACs","level":0,"time":"2021-10-04T13:56:32+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"user_ldap","method":"HEAD","url":"/remote.php/webdav/2021-10-04_155600.jpg","message":"initializing paged search for filter (&(|(objectclass=posixAccount))(|(uid=my_replaced_user_name)(|(mailPrimaryAddress=my_replaced_user_name)(mail=my_replaced_user_name)))), base dc=my_replaced_domain,dc=pl, attr [\"entryuuid\",\"nsuniqueid\",\"objectguid\",\"guid\",\"ipauniqueid\",\"dn\",\"uid\",\"samaccountname\",\"memberof\",\"mail\",\"cn\",\"jpegphoto\",\"thumbnailphoto\"], limit 500, offset 0","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsID7Xn94MRvhpOGBHN1AAAACs","level":0,"time":"2021-10-04T13:56:32+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"user_ldap","method":"HEAD","url":"/remote.php/webdav/2021-10-04_155600.jpg","message":"Ready for a paged search","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsID7Xn94MRvhpOGBHN1AAAACs","level":0,"time":"2021-10-04T13:56:33+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"files_sharing","method":"HEAD","url":"/remote.php/webdav/2021-10-04_155600.jpg","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsID7Xn94MRvhpOGBHN1AAAACs","level":0,"time":"2021-10-04T13:56:33+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"maps","method":"HEAD","url":"/remote.php/webdav/2021-10-04_155600.jpg","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsID7Xn94MRvhpOGBHN1AAAACs","level":0,"time":"2021-10-04T13:56:33+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"webdav","method":"HEAD","url":"/remote.php/webdav/2021-10-04_155600.jpg","message":"File with name 2021-10-04_155600.jpg could not be located","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2","exception":{"Exception":"Sabre\\DAV\\Exception\\NotFound","Message":"File with name 2021-10-04_155600.jpg could not be located","Code":0,"Trace":[{"file":"/share/data/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":76,"function":"getNodeForPath","class":"OCA\\DAV\\Connector\\Sabre\\ObjectTree","type":"->"},{"file":"/share/data/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpGet","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/share/data/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/share/data/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/share/data/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpHead","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/share/data/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/share/data/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/share/data/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/share/data/www/nextcloud/apps/dav/appinfo/v1/webdav.php","line":83,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/share/data/www/nextcloud/remote.php","line":166,"args":["/share/data/www/nextcloud/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/share/data/www/nextcloud/apps/dav/lib/Connector/Sabre/ObjectTree.php","Line":172,"CustomMessage":"--"}}
{"reqId":"YVsID7Xn94MRvhpOGBHN1AAAACs","level":0,"time":"2021-10-04T13:56:34+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"user_ldap","method":"GET","url":"/remote.php/webdav/2021-10-04_155600.jpg","message":"initializing paged search for filter (&(|(objectclass=posixAccount))(|(uid=my_replaced_user_name)(|(mailPrimaryAddress=my_replaced_user_name)(mail=my_replaced_user_name)))), base dc=my_replaced_domain,dc=pl, attr [\"entryuuid\",\"nsuniqueid\",\"objectguid\",\"guid\",\"ipauniqueid\",\"dn\",\"uid\",\"samaccountname\",\"memberof\",\"mail\",\"cn\",\"jpegphoto\",\"thumbnailphoto\"], limit 500, offset 0","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsID7Xn94MRvhpOGBHN1AAAACs","level":0,"time":"2021-10-04T13:56:34+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"user_ldap","method":"GET","url":"/remote.php/webdav/2021-10-04_155600.jpg","message":"Ready for a paged search","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsID7Xn94MRvhpOGBHN1AAAACs","level":0,"time":"2021-10-04T13:56:35+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"files_sharing","method":"GET","url":"/remote.php/webdav/2021-10-04_155600.jpg","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsID7Xn94MRvhpOGBHN1AAAACs","level":0,"time":"2021-10-04T13:56:35+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"maps","method":"GET","url":"/remote.php/webdav/2021-10-04_155600.jpg","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsID7Xn94MRvhpOGBHN1AAAACs","level":0,"time":"2021-10-04T13:56:35+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"metadata","method":"GET","url":"/remote.php/webdav/2021-10-04_155600.jpg","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:37+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"user_ldap","method":"HEAD","url":"/index.php/apps/files/","message":"initializing paged search for filter (&(|(objectclass=posixAccount))(|(uid=my_replaced_user_name)(|(mailPrimaryAddress=my_replaced_user_name)(mail=my_replaced_user_name)))), base dc=my_replaced_domain,dc=pl, attr [\"entryuuid\",\"nsuniqueid\",\"objectguid\",\"guid\",\"ipauniqueid\",\"dn\",\"uid\",\"samaccountname\",\"memberof\",\"mail\",\"cn\",\"jpegphoto\",\"thumbnailphoto\"], limit 500, offset 0","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:37+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"user_ldap","method":"HEAD","url":"/index.php/apps/files/","message":"initializing paged search for filter (&(|(objectclass=posixAccount))(|(uid=my_replaced_user_name)(|(mailPrimaryAddress=my_replaced_user_name)(mail=my_replaced_user_name)))), base dc=my_replaced_domain,dc=pl, attr [\"entryuuid\",\"nsuniqueid\",\"objectguid\",\"guid\",\"ipauniqueid\",\"dn\",\"uid\",\"samaccountname\",\"memberof\",\"mail\",\"cn\",\"jpegphoto\",\"thumbnailphoto\"], limit 500, offset 0","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:37+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"user_ldap","method":"HEAD","url":"/index.php/apps/files/","message":"Ready for a paged search","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"files_sharing","method":"HEAD","url":"/index.php/apps/files/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"maps","method":"HEAD","url":"/index.php/apps/files/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"metadata","method":"HEAD","url":"/index.php/apps/files/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":1,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"no app in context","method":"HEAD","url":"/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":1,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"no app in context","method":"HEAD","url":"/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":1,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"no app in context","method":"HEAD","url":"/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":1,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"no app in context","method":"HEAD","url":"/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":1,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"no app in context","method":"HEAD","url":"/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":1,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"no app in context","method":"HEAD","url":"/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":1,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"no app in context","method":"HEAD","url":"/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"maps","method":"HEAD","url":"/index.php/apps/files/","message":"Could not find resource file \"/apps/maps/js/filetypes.js\"","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"scss_cacher","method":"HEAD","url":"/index.php/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"scss_cacher","method":"HEAD","url":"/index.php/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"scss_cacher","method":"HEAD","url":"/index.php/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"scss_cacher","method":"HEAD","url":"/index.php/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"scss_cacher","method":"HEAD","url":"/index.php/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"scss_cacher","method":"HEAD","url":"/index.php/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"scss_cacher","method":"HEAD","url":"/index.php/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
{"reqId":"YVsIFLXn94MRvhpOGBHN1QAAACs","level":0,"time":"2021-10-04T13:56:38+00:00","remoteAddr":"37.47.26.151","user":"73d281ca-8d75-1038-9188-13c3b0f6c6ce","app":"scss_cacher","method":"HEAD","url":"/index.php/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.17.0","version":"22.2.0.2"}
Please note my config. And... when I was passing requests to php-fpm - problem described above exists. When I have commented out lines and apache start using internal mod_php - problem is gone. Is it possible to handle this? Please note that it does not impact uploading & using desktop client or web access:
As I had a similar issue in #8816 - what does happen when you create that folder? In my case, the files got uploaded in both folders than.
Is this there any updates on this? I have been getting the exact same error for a couple of days now :/
I have it also happening for me, but cannot say for sure when it started.
LineageOS 18.1 Nextcloud App 3.20.1 Nextcloud server 24.0.1
OMG 1 year of so noisy bug... Maybe I need different app...
If you have access to the server, it might also be worthwhile to look at the solution (or rather workaround) of #10423
After reading your comment I wanted to give it a try an activated auto upload again. And somehow it seems to work now without any changes. Maybe it was fixed by applying the usual patches to the app which is now version 3.23.0 on my phone. I will keep an eye on this issue and report here if it happens again
The same issue (reopening) as described in #7944.
Steps to reproduce
Expected behavior
Any photo, which is taken should be uploaded to server. There is no expectation to see conflict.
Actual result
Conflict is displayed. When clicking the record - query to the server is done but result is the same. When clicking conflict notification - result is "Error creating dialog".
Additional information
Android application: 3.17.0 Server version: 22.1.1
The most important thing is that Android application is reporting conflict for not existing files on server side. When analyzing the output of Apache server (request and responses) nothing seems to be strange. Please refer to https://github.com/nextcloud/android/issues/7944#issuecomment-792336510
I am able to provide any debug information (and for example - configuration of the server) with dump of data by mod_security. The thing which I am not able to do is to run client (on Android smartphone) in debug mode...