Closed gibelium closed 4 years ago
These are the latest nextcloud log entries which are likely corresponding to the floccus syncs I manually triggered:
{"reqId":"XwQJVUtDkGfLBS6MjntADgAAAcY","level":3,"time":"2020-07-07T05:34:14+00:00","remoteAddr":"[IP-ADDRESS]","user":"[EMAIL-ADDRESS]","app":"PHP","method":"POST","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"parse_url() expects parameter 1 to be string, array given at /var/www/vhosts//httpdocs/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php#69","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:77.0) Gecko/20100101 Firefox/77.0","version":"18.0.6.0"}
{"reqId":"XwQJVUtDkGfLBS6MjntADgAAAcY","level":3,"time":"2020-07-07T05:34:14+00:00","remoteAddr":"[IP-ADDRESS]","user":"[EMAIL-ADDRESS]","app":"index","method":"POST","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":{"Exception":"Exception","Message":"Argument 1 passed to GuzzleHttp\\Psr7\\Uri::applyParts() must be of the type array, null given, called in /var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php on line 73","Code":0,"Trace":[{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Bookmarks\\Controller\\BookmarkController"},"newBookmark"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Bookmarks\\Controller\\BookmarkController","newBookmark",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"bookmarks.bookmark.new_bookmark"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"bookmarks.bookmark.new_bookmark"}]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"bookmarks.bookmark.new_bookmark"}]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/bookmarks/public/rest/v2/bookmark"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":109,"Previous":{"Exception":"TypeError","Message":"Argument 1 passed to GuzzleHttp\\Psr7\\Uri::applyParts() must be of the type array, null given, called in /var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php on line 73","Code":0,"Trace":[{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php","line":73,"function":"applyParts","class":"GuzzleHttp\\Psr7\\Uri","type":"->","args":[null]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php","line":41,"function":"__construct","class":"GuzzleHttp\\Psr7\\Uri","type":"->","args":[[]]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/lib/Http/RequestFactory.php","line":19,"function":"__construct","class":"GuzzleHttp\\Psr7\\Request","type":"->","args":["GET",[]]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/marcelklehr/link-preview/src/Models/Link.php","line":60,"function":"createRequest","class":"OCA\\Bookmarks\\Http\\RequestFactory","type":"->","args":["GET",[]]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/marcelklehr/link-preview/src/Models/Link.php","line":69,"function":"fetch","class":"Marcelklehr\\LinkPreview\\Models\\Link","type":"->","args":[]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/lib/Service/LinkExplorer.php","line":44,"function":"getPreview","class":"Marcelklehr\\LinkPreview\\Models\\Link","type":"->","args":[]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/lib/Service/BookmarkService.php","line":103,"function":"get","class":"OCA\\Bookmarks\\Service\\LinkExplorer","type":"->","args":["https://www.kraeuterland.de/schwarzkuemmeloel/schwarzkuemmeloel-ungefiltert/nutrilife-schwarzkuemmeloel-ungefiltert.html?number=100004"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/lib/Controller/BookmarkController.php","line":426,"function":"create","class":"OCA\\Bookmarks\\Service\\BookmarkService","type":"->","args":["[EMAIL-ADDRESS]","https://www.kraeuterland.de/schwarzkuemmeloel/schwarzkuemmeloel-ungefiltert/nutrilife-schwarzkuemmeloel-ungefiltert.html?number=100004","Nutrilife Schwarzk\u00fcmmel\u00f6l ungefiltert | kraeuterland.de","",[],[79]]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"newBookmark","class":"OCA\\Bookmarks\\Controller\\BookmarkController","type":"->","args":["https://www.kraeuterland.de/schwarzkuemmeloel/schwarzkuemmeloel-ungefiltert/nutrilife-schwarzkuemmeloel-ungefiltert.html?number=100004","Nutrilife Schwarzk\u00fcmmel\u00f6l ungefiltert | kraeuterland.de","",[],[79]]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Bookmarks\\Controller\\BookmarkController"},"newBookmark"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Bookmarks\\Controller\\BookmarkController"},"newBookmark"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Bookmarks\\Controller\\BookmarkController","newBookmark",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"bookmarks.bookmark.new_bookmark"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"bookmarks.bookmark.new_bookmark"}]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"bookmarks.bookmark.new_bookmark"}]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/bookmarks/public/rest/v2/bookmark"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php","Line":535},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:77.0) Gecko/20100101 Firefox/77.0","version":"18.0.6.0"}
{"reqId":"XwQJsgS89DexcuzzspsYPgAAAYU","level":3,"time":"2020-07-07T05:35:47+00:00","remoteAddr":"[IP-ADDRESS]","user":"[EMAIL-ADDRESS]","app":"PHP","method":"POST","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"parse_url() expects parameter 1 to be string, array given at /var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php#69","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:77.0) Gecko/20100101 Firefox/77.0","version":"18.0.6.0"}
{"reqId":"XwQJsgS89DexcuzzspsYPgAAAYU","level":3,"time":"2020-07-07T05:35:47+00:00","remoteAddr":"[IP-ADDRESS]","user":"[EMAIL-ADDRESS]","app":"index","method":"POST","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":{"Exception":"Exception","Message":"Argument 1 passed to GuzzleHttp\\Psr7\\Uri::applyParts() must be of the type array, null given, called in /var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php on line 73","Code":0,"Trace":[{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Bookmarks\\Controller\\BookmarkController"},"newBookmark"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Bookmarks\\Controller\\BookmarkController","newBookmark",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"bookmarks.bookmark.new_bookmark"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"bookmarks.bookmark.new_bookmark"}]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"bookmarks.bookmark.new_bookmark"}]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/bookmarks/public/rest/v2/bookmark"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":109,"Previous":{"Exception":"TypeError","Message":"Argument 1 passed to GuzzleHttp\\Psr7\\Uri::applyParts() must be of the type array, null given, called in /var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php on line 73","Code":0,"Trace":[{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php","line":73,"function":"applyParts","class":"GuzzleHttp\\Psr7\\Uri","type":"->","args":[null]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php","line":41,"function":"__construct","class":"GuzzleHttp\\Psr7\\Uri","type":"->","args":[[]]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/lib/Http/RequestFactory.php","line":19,"function":"__construct","class":"GuzzleHttp\\Psr7\\Request","type":"->","args":["GET",[]]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/marcelklehr/link-preview/src/Models/Link.php","line":60,"function":"createRequest","class":"OCA\\Bookmarks\\Http\\RequestFactory","type":"->","args":["GET",[]]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/marcelklehr/link-preview/src/Models/Link.php","line":69,"function":"fetch","class":"Marcelklehr\\LinkPreview\\Models\\Link","type":"->","args":[]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/lib/Service/LinkExplorer.php","line":44,"function":"getPreview","class":"Marcelklehr\\LinkPreview\\Models\\Link","type":"->","args":[]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/lib/Service/BookmarkService.php","line":103,"function":"get","class":"OCA\\Bookmarks\\Service\\LinkExplorer","type":"->","args":["https://www.kraeuterland.de/schwarzkuemmeloel/schwarzkuemmeloel-ungefiltert/nutrilife-schwarzkuemmeloel-ungefiltert.html?number=100004"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/lib/Controller/BookmarkController.php","line":426,"function":"create","class":"OCA\\Bookmarks\\Service\\BookmarkService","type":"->","args":["[EMAIL-ADDRESS]","https://www.kraeuterland.de/schwarzkuemmeloel/schwarzkuemmeloel-ungefiltert/nutrilife-schwarzkuemmeloel-ungefiltert.html?number=100004","Nutrilife Schwarzk\u00fcmmel\u00f6l ungefiltert | kraeuterland.de","",[],[79]]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"newBookmark","class":"OCA\\Bookmarks\\Controller\\BookmarkController","type":"->","args":["https://www.kraeuterland.de/schwarzkuemmeloel/schwarzkuemmeloel-ungefiltert/nutrilife-schwarzkuemmeloel-ungefiltert.html?number=100004","Nutrilife Schwarzk\u00fcmmel\u00f6l ungefiltert | kraeuterland.de","",[],[79]]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Bookmarks\\Controller\\BookmarkController"},"newBookmark"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Bookmarks\\Controller\\BookmarkController"},"newBookmark"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Bookmarks\\Controller\\BookmarkController","newBookmark",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"bookmarks.bookmark.new_bookmark"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"bookmarks.bookmark.new_bookmark"}]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"bookmarks.bookmark.new_bookmark"}]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/bookmarks/public/rest/v2/bookmark"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php","Line":535},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:77.0) Gecko/20100101 Firefox/77.0","version":"18.0.6.0"}
{"reqId":"XwQMLWlu7ex0fqvicB480AAAAgk","level":3,"time":"2020-07-07T05:46:21+00:00","remoteAddr":"[IP-ADDRESS]","user":"[EMAIL-ADDRESS]","app":"index","method":"GET","url":"/index.php/apps/bookmarks/bookmark/83/favicon","message":{"Exception":"TypeError","Message":"Argument 3 passed to OC\\AppFramework\\Middleware\\MiddlewareDispatcher::beforeOutput() must be of the type string, null given, called in /var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 123","Code":0,"Trace":[{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":123,"function":"beforeOutput","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->","args":[{"__class__":"OCA\\Bookmarks\\Controller\\InternalBookmarkController"},"getBookmarkFavicon",null]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Bookmarks\\Controller\\InternalBookmarkController"},"getBookmarkFavicon"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Bookmarks\\Controller\\InternalBookmarkController","getBookmarkFavicon",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"id":"83","_route":"bookmarks.internal_bookmark.get_bookmark_favicon"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"id":"83","_route":"bookmarks.internal_bookmark.get_bookmark_favicon"}]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"id":"83","_route":"bookmarks.internal_bookmark.get_bookmark_favicon"}]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/bookmarks/bookmark/83/favicon"]},{"file":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/[HOST]/httpdocs/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","Line":159,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36","version":"18.0.6.0"}
This is a problem with the bookmarks app.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Describe the bug I created a new floccus account and started initial sync manually. Folder mapping either 'Chrome' or 'Firefox' for remote folders. Local folder is set to root. It starts syncing but after a while I get 'E019: HTTP status 503. Failed PUT request. Check your server configuration and log.'. Then the sync process stops while indicating that it is still syncing. This happens when syncing behavior is either set to merge or overwrite/revert remote changes.
To Reproduce Steps to reproduce the behavior:
I did start the manual sync multiple times and the error seems to pop up at different bookmarks. As the HTTP 503 error is involved I think this could happen due to timing/timeout problems?
Expected behavior Sync should throw no errors. :-)
Desktop (please complete the following information):
Server (please complete the following information):
Debug log
2020-07-07T06:07:33.864Z (nextcloud-folders)CREATE - #undefined[CiviCRM documentation](https://docs.civicrm.org/) parentId: 371 2020-07-07T06:07:33.864Z { [Error: 3 errors] list: [ [Error: E019: HTTP status 503. Failed PUT request. Check your server configuration and log.], [Error: E019: HTTP status 503. Failed PUT request. Check your server configuration and log.], [Error: E019: HTTP status 503. Failed PUT request. Check your server configuration and log.] ] } 2020-07-07T06:07:33.864Z [Error: E019: HTTP status 503. Failed PUT request. Check your server configuration and log.] 2020-07-07T06:07:33.865Z [Error: E019: HTTP status 503. Failed PUT request. Check your server configuration and log.] 2020-07-07T06:07:33.865Z [Error: E019: HTTP status 503. Failed PUT request. Check your server configuration and log.]
Additional context After failed sync it's neither possible to delete a single folder or a selection of folders nor to delete all bookmarks in Bookmarks app web interface. Displayed error: 'Failed to delete folder' without any server side log entries.
If it helps I can privately share exports of my local browser bookmarks.