Android: Malformed server configuration

Created on 12 Feb 2020  ·  29Comments  ·  Source: nextcloud/android

Steps to reproduce

  1. Setup auto-upload from camera folder
  2. Take picture
  3. Wait for auto-upload

Expected behaviour

  • Upload should work

Actual behaviour

  • I get a "Malformed server configuration" error message

Environment data

Android version: 9

Device model: Xiaomi Mi5s Plus

Stock or customized system: LineageOS 16.0

Nextcloud app version: 3.10.1

Nextcloud server version: 18.0.0.10

Logs

Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)

{"reqId":"MMSqMsPZKRdny1zHUmIj","level":3,"time":"2020-02-07T22:50:01+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception","Message":"Not installed","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/base.php","line":651,"function":"checkInstalled","class":"OC","type":"::","args":[]},{"file":"/config/www/nextcloud/lib/base.php","line":1089,"function":"init","class":"OC","type":"::","args":[]},{"file":"/config/www/nextcloud/cron.php","line":42,"args":["/config/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/config/www/nextcloud/lib/base.php","Line":282,"CustomMessage":"--"},"userAgent":"--","version":""}
{"reqId":"KTLdhlIjohmFOXyhaUQW","level":3,"time":"2020-02-07T22:55:01+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception","Message":"Not installed","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/base.php","line":651,"function":"checkInstalled","class":"OC","type":"::","args":[]},{"file":"/config/www/nextcloud/lib/base.php","line":1089,"function":"init","class":"OC","type":"::","args":[]},{"file":"/config/www/nextcloud/cron.php","line":42,"args":["/config/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/config/www/nextcloud/lib/base.php","Line":282,"CustomMessage":"--"},"userAgent":"--","version":""}
{"reqId":"g3VV3Ywc7m6k69eIXJPG","level":3,"time":"2020-02-07T23:00:20+00:00","remoteAddr":"172.19.0.1","user":"--","app":"index","method":"GET","url":"/apps/theming/favicon?v=0","message":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create folder","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/Files/AppData/AppData.php","line":158,"function":"newFolder","class":"OC\\Files\\Node\\Folder","type":"->","args":["0"]},{"file":"/config/www/nextcloud/apps/theming/lib/ImageManager.php","line":158,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["0"]},{"file":"/config/www/nextcloud/apps/theming/lib/ImageManager.php","line":173,"function":"getCacheFolder","class":"OCA\\Theming\\ImageManager","type":"->","args":[]},{"file":"/config/www/nextcloud/apps/theming/lib/Controller/IconController.php","line":127,"function":"getCachedImage","class":"OCA\\Theming\\ImageManager","type":"->","args":["favIcon-core"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"getFavicon","class":"OCA\\Theming\\Controller\\IconController","type":"->","args":["core"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Theming\\Controller\\IconController"},"getFavicon"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Theming\\Controller\\IconController"},"getFavicon"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Theming\\Controller\\IconController","getFavicon",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"app":"core","_route":"theming.Icon.getFavicon"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"app":"core","_route":"theming.Icon.getFavicon"}]},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"app":"core","_route":"theming.Icon.getFavicon"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/theming/favicon"]},{"file":"/config/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/config/www/nextcloud/lib/private/Files/Node/Folder.php","Line":164,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"}
{"reqId":"Apj6fDgwaHxV3OaAO3l3","level":3,"time":"2020-02-07T23:03:43+00:00","remoteAddr":"172.19.0.1","user":"alex","app":"index","method":"GET","url":"/apps/theming/icon/settings?v=2","message":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create folder","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/Files/AppData/AppData.php","line":158,"function":"newFolder","class":"OC\\Files\\Node\\Folder","type":"->","args":["3"]},{"file":"/config/www/nextcloud/apps/theming/lib/ImageManager.php","line":158,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["3"]},{"file":"/config/www/nextcloud/apps/theming/lib/ImageManager.php","line":173,"function":"getCacheFolder","class":"OCA\\Theming\\ImageManager","type":"->","args":[]},{"file":"/config/www/nextcloud/apps/theming/lib/Controller/IconController.php","line":163,"function":"getCachedImage","class":"OCA\\Theming\\ImageManager","type":"->","args":["touchIcon-settings"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"getTouchIcon","class":"OCA\\Theming\\Controller\\IconController","type":"->","args":["settings"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Theming\\Controller\\IconController"},"getTouchIcon"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Theming\\Controller\\IconController"},"getTouchIcon"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Theming\\Controller\\IconController","getTouchIcon",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"app":"settings","_route":"theming.Icon.getTouchIcon"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"app":"settings","_route":"theming.Icon.getTouchIcon"}]},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"app":"settings","_route":"theming.Icon.getTouchIcon"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/theming/icon/settings"]},{"file":"/config/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/config/www/nextcloud/lib/private/Files/Node/Folder.php","Line":164,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"}
{"reqId":"UruEjVIzJgc1Bj9QpJHc","level":3,"time":"2020-02-09T14:07:40+00:00","remoteAddr":"172.19.0.1","user":"alex","app":"ocs_api","method":"POST","url":"/ocs/v2.php/cloud/users","message":{"Exception":"Swift_TransportException","Message":"Connection could not be established with host 127.0.0.1 :stream_socket_client(): unable to connect to 127.0.0.1:25 (Connection refused)","Code":0,"Trace":[{"function":"{closure}","class":"Swift_Transport_StreamBuffer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php","line":272,"function":"stream_socket_client","args":["127.0.0.1:25",111,"Connection refused",10,4,null]},{"file":"/config/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php","line":58,"function":"establishSocketConnection","class":"Swift_Transport_StreamBuffer","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":143,"function":"initialize","class":"Swift_Transport_StreamBuffer","type":"->","args":[{"protocol":"","host":"127.0.0.1","port":25,"timeout":10,"blocking":1,"tls":false,"type":1,"stream_context_options":"*** sensitive parameter replaced ***"}]},{"file":"/config/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/Mail/Mailer.php","line":185,"function":"send","class":"Swift_Mailer","type":"->","args":[{"__class__":"Swift_Message"},"*** sensitive parameter replaced ***"]},{"file":"/config/www/nextcloud/apps/settings/lib/Mailer/NewUserMailHelper.php","line":175,"function":"send","class":"OC\\Mail\\Mailer","type":"->","args":[{"__class__":"OC\\Mail\\Message"}]},{"file":"/config/www/nextcloud/apps/provisioning_api/lib/Controller/UsersController.php","line":342,"function":"sendMail","class":"OCA\\Settings\\Mailer\\NewUserMailHelper","type":"->","args":[{"__class__":"OC\\User\\User"},{"__class__":"OC\\Mail\\EMailTemplate"}]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"addUser","class":"OCA\\Provisioning_API\\Controller\\UsersController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Provisioning_API\\Controller\\UsersController"},"addUser"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Provisioning_API\\Controller\\UsersController"},"addUser"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Provisioning_API\\Controller\\UsersController","addUser",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"ocs.provisioning_api.Users.addUser"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"ocs.provisioning_api.Users.addUser"}]},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"ocs.provisioning_api.Users.addUser"}]},{"file":"/config/www/nextcloud/ocs/v1.php","line":82,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/cloud/users"]},{"file":"/config/www/nextcloud/ocs/v2.php","line":24,"args":["/config/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/config/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php","Line":269,"CustomMessage":"Unable to send the invitation mail to [email protected]"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"}
{"reqId":"tdmPSGE2RwfGNHIZhyRH","level":3,"time":"2020-02-09T14:47:07+00:00","remoteAddr":"172.19.0.1","user":"alex","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/files_sharing/api/v1/shares","message":{"Exception":"Swift_TransportException","Message":"Connection could not be established with host 127.0.0.1 :stream_socket_client(): unable to connect to 127.0.0.1:25 (Connection refused)","Code":0,"Trace":[{"function":"{closure}","class":"Swift_Transport_StreamBuffer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php","line":272,"function":"stream_socket_client","args":["127.0.0.1:25",111,"Connection refused",10,4,null]},{"file":"/config/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php","line":58,"function":"establishSocketConnection","class":"Swift_Transport_StreamBuffer","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":143,"function":"initialize","class":"Swift_Transport_StreamBuffer","type":"->","args":[{"protocol":"","host":"127.0.0.1","port":25,"timeout":10,"blocking":1,"tls":false,"type":1,"stream_context_options":[]}]},{"file":"/config/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/Mail/Mailer.php","line":185,"function":"send","class":"Swift_Mailer","type":"->","args":[{"__class__":"Swift_Message"},[]]},{"file":"/config/www/nextcloud/lib/private/Share20/Manager.php","line":893,"function":"send","class":"OC\\Mail\\Mailer","type":"->","args":[{"__class__":"OC\\Mail\\Message"}]},{"file":"/config/www/nextcloud/lib/private/Share20/Manager.php","line":806,"function":"sendMailNotification","class":"OC\\Share20\\Manager","type":"->","args":[{"__class__":"OC\\L10N\\LazyL10N"},"Shared","https://cloud.xxxxxxxxxxx.com/apps/files_sharing/accept/ocinternal:1","alex","[email protected]",null]},{"file":"/config/www/nextcloud/apps/files_sharing/lib/Controller/ShareAPIController.php","line":576,"function":"createShare","class":"OC\\Share20\\Manager","type":"->","args":[{"__class__":"OC\\Share20\\Share"}]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"createShare","class":"OCA\\Files_Sharing\\Controller\\ShareAPIController","type":"->","args":[{"__class__":"OC\\Files\\Node\\Folder"},31,0,"ala","false","",null,"",""]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_Sharing\\Controller\\ShareAPIController"},"createShare"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_Sharing\\Controller\\ShareAPIController"},"createShare"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_Sharing\\Controller\\ShareAPIController","createShare",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"ocs.files_sharing.ShareAPI.createShare"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"ocs.files_sharing.ShareAPI.createShare"}]},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"ocs.files_sharing.ShareAPI.createShare"}]},{"file":"/config/www/nextcloud/ocs/v1.php","line":82,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/files_sharing/api/v1/shares"]},{"file":"/config/www/nextcloud/ocs/v2.php","line":24,"args":["/config/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/config/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php","Line":269,"CustomMessage":"Share notification mail could not be sent"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"}
{"reqId":"azWMsq0JVhE9zQ3QPjXr","level":3,"time":"2020-02-09T15:43:35+00:00","remoteAddr":"172.19.0.1","user":"alex","app":"text","method":"POST","url":"/apps/text/session/sync","message":{"Exception":"OCP\\Files\\NotFoundException","Message":"","Code":0,"Trace":[{"file":"/config/www/nextcloud/apps/text/lib/Service/DocumentService.php","line":324,"function":"getFileById","class":"OCA\\Text\\Service\\DocumentService","type":"->","args":[15,"alex"]},{"file":"/config/www/nextcloud/apps/text/lib/Service/ApiService.php","line":160,"function":"getFileForSession","class":"OCA\\Text\\Service\\DocumentService","type":"->","args":[{"id":5,"__class__":"OCA\\Text\\Db\\Session"},null]},{"file":"/config/www/nextcloud/apps/text/lib/Controller/SessionController.php","line":81,"function":"sync","class":"OCA\\Text\\Service\\ApiService","type":"->","args":[15,5,"zOG0FjGmxbZp0TcHFIOlNO0SlSCCna2KsleAqnzEVfeVHezlsVKTyKzyDvGKRuAa",0,null,false,false]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"sync","class":"OCA\\Text\\Controller\\SessionController","type":"->","args":[15,5,"zOG0FjGmxbZp0TcHFIOlNO0SlSCCna2KsleAqnzEVfeVHezlsVKTyKzyDvGKRuAa",0,null,false,false]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Text\\Controller\\SessionController"},"sync"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Text\\Controller\\SessionController"},"sync"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Text\\Controller\\SessionController","sync",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"text.Session.sync"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"text.Session.sync"}]},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"text.Session.sync"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/text/session/sync"]},{"file":"/config/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/config/www/nextcloud/apps/text/lib/Service/DocumentService.php","Line":348,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"}
{"reqId":"VJa0WJexwWhx35lAEZ37","level":3,"time":"2020-02-09T15:43:36+00:00","remoteAddr":"172.19.0.1","user":"alex","app":"text","method":"POST","url":"/apps/text/session/sync","message":{"Exception":"OCP\\Files\\NotFoundException","Message":"","Code":0,"Trace":[{"file":"/config/www/nextcloud/apps/text/lib/Service/DocumentService.php","line":324,"function":"getFileById","class":"OCA\\Text\\Service\\DocumentService","type":"->","args":[15,"alex"]},{"file":"/config/www/nextcloud/apps/text/lib/Service/ApiService.php","line":160,"function":"getFileForSession","class":"OCA\\Text\\Service\\DocumentService","type":"->","args":[{"id":5,"__class__":"OCA\\Text\\Db\\Session"},null]},{"file":"/config/www/nextcloud/apps/text/lib/Controller/SessionController.php","line":81,"function":"sync","class":"OCA\\Text\\Service\\ApiService","type":"->","args":[15,5,"zOG0FjGmxbZp0TcHFIOlNO0SlSCCna2KsleAqnzEVfeVHezlsVKTyKzyDvGKRuAa",0,"# Documents\n\nNextcloud works well with all the common document formats. You can even collaborate with others on ODT and Markdown files!",false,true]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"sync","class":"OCA\\Text\\Controller\\SessionController","type":"->","args":[15,5,"zOG0FjGmxbZp0TcHFIOlNO0SlSCCna2KsleAqnzEVfeVHezlsVKTyKzyDvGKRuAa",0,"# Documents\n\nNextcloud works well with all the common document formats. You can even collaborate with others on ODT and Markdown files!",false,true]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Text\\Controller\\SessionController"},"sync"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Text\\Controller\\SessionController"},"sync"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Text\\Controller\\SessionController","sync",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"text.Session.sync"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"text.Session.sync"}]},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"text.Session.sync"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/text/session/sync"]},{"file":"/config/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/config/www/nextcloud/apps/text/lib/Service/DocumentService.php","Line":348,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"}
{"reqId":"vtqa2illAFRQjqUsDj33","level":3,"time":"2020-02-12T15:44:14+00:00","remoteAddr":"172.19.0.1","user":"--","app":"no app in context","method":"GET","url":"/remote.php/webdav","message":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"photos.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":339,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["photos.page.index",[],1]},{"file":"/config/www/nextcloud/lib/private/Route/CachingRouter.php","line":59,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["photos.page.index",[],false]},{"file":"/config/www/nextcloud/lib/private/URLGenerator.php","line":82,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->","args":["photos.page.index",[]]},{"file":"/config/www/nextcloud/lib/private/NavigationManager.php","line":293,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["photos.page.index"]},{"file":"/config/www/nextcloud/lib/private/NavigationManager.php","line":114,"function":"init","class":"OC\\NavigationManager","type":"->","args":[]},{"file":"/config/www/nextcloud/apps/theming/lib/ThemingDefaults.php","line":182,"function":"getAll","class":"OC\\NavigationManager","type":"->","args":["guest"]},{"file":"/config/www/nextcloud/lib/public/Defaults.php","line":160,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/Template/JSConfigHelper.php","line":284,"function":"getShortFooter","class":"OCP\\Defaults","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/TemplateLayout.php","line":190,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/legacy/template.php","line":184,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["guest","dav"]},{"file":"/config/www/nextcloud/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":98,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/config/www/nextcloud/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":83,"function":"generateBody","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[]},{"function":"logException","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[{"__class__":"Sabre\\DAV\\Exception\\NotAuthenticated"}]},{"file":"/config/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"OCA\\DAV\\Files\\BrowserErrorPagePlugin"},"logException"],[{"__class__":"Sabre\\DAV\\Exception\\NotAuthenticated"}]]},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":259,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["exception",[{"__class__":"Sabre\\DAV\\Exception\\NotAuthenticated"}]]},{"file":"/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/remote.php","line":165,"args":["/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/config/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0","version":"18.0.0.10"}

bug needs infdiscussion

Most helpful comment

I can also confirm that the issue with "Malformed Server Configuration" is fixed in the dev version, more specifically this build: nextcloud-dev-20200410.apk

Thanks for your confirmation.

@tobiasKaminsky In the dev version, it seems like whenever I click the cloud icon next to a library in the Auto Upload window, it causes the app to freeze, but does eventually enable auto upload

This is not related to this issue, or?

@f4grx next week a 3.11.1 is planned to be released.

All 29 comments

Can you test this with another device?
Can you create us a test account, test if the problem occurs also there and if so send the credentials to tobias at nextcloud dot com with a reference to this issue?

I've sent an email with all the requested details. Current situation is that the same issue occurrs with different users and from different devices.

I currently have the same situation.
I have two of the same phones (my wife and I). My phone DOES NOT have this issue. But my wife has this issue, as stated by AlexKalopsia.
When I login to her account on my phone, it works. But not on her phone.

Android version: 9

Device model: Moto x4

Stock image: PPWS29.69-39-6-5

Nextcloud app version: 3.10.1

Nextcloud server version: 18.0.1

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

I had this too. I had a few double mobile phone accounts logged in still, so I revoked everything (did a remote wipe with the most recent one), and logged back in. That solved things for me.

https://nextcloudpi.local/settings/user/security

I had the same issue, but only for one image file. Newer photos uploaded without problem.
I also had several older phone sessions which I revoked. This solved the issue.
I'm running the snap server, which is currently on 17.0.5
Android app version is 3.11.0

EDIT: the issue seems to have returned. I will try a remote wipe later.

EDIT 2: the error message persisted for 1 or 2 days and then it disappeared. Not sure what happened, but it's working fine now.

I also had/have the same problem. Revoking the app's password and reconfiguring the app did solve the problem for some days. Now it hit me again. The symptoms I see are:

  1. The automatic upload of an image was interrupted due to bad network connectivity.
  2. The Nextcloud app tries to upload this file again and again and fails every time.
  3. Other images, also ones that were taken afterwards, are uploaded without problems.

Android app version is 3.11.0.
Nextcloud server version 18.3.

@benedetto I thinks this might be fixed last week.
Maybe you want to try out our dev version (you can install it in parallel):
https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#developement-release

@tobiasKaminsky In the dev version, it seems like whenever I click the cloud icon next to a library in the Auto Upload window, it causes the app to freeze, but does eventually enable auto upload.

I can also confirm that the issue with "Malformed Server Configuration" is fixed in the dev version, more specifically this build: nextcloud-dev-20200410.apk

I have the same problem as everyone.
Glad to know the issue is fixed in the dev version.
Do you have an ETA for a new official (not dev) app release?

I can also confirm that the issue with "Malformed Server Configuration" is fixed in the dev version, more specifically this build: nextcloud-dev-20200410.apk

Thanks for your confirmation.

@tobiasKaminsky In the dev version, it seems like whenever I click the cloud icon next to a library in the Auto Upload window, it causes the app to freeze, but does eventually enable auto upload

This is not related to this issue, or?

@f4grx next week a 3.11.1 is planned to be released.

@tobiasKaminsky In the dev version, it seems like whenever I click the cloud icon next to a library in the Auto Upload window, it causes the app to freeze, but does eventually enable auto upload

This is not related to this issue, or?

You're right, it's not related to this issue, I just noticed it when testing. I'll keep a look out for it in the next release and open a bug report if needed.

So this seems to be fixed, please re-open if needed.

@tobiasKaminsky I have not seen a new release yet. I am using the F-Droid market.

EDIT: I see it was made on apr 23 but my phone did not get it... because it does not see the update.

Fdroid is always a bit slower.
Yesterday 3.11.1 was added.

What's the release version with the fix in?

On Thu, 30 Apr 2020, 12:04 Tobias Kaminsky, notifications@github.com
wrote:

Fdroid is always a bit slower.
Yesterday 3.11.1 was added.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nextcloud/android/issues/5459#issuecomment-621764355,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBTB3C62QD5WQWK5NUK4VTRPFLKBANCNFSM4KT5TQUQ
.

3.11.1

I have 3.11.1. Still getting the malformed server configuration error. :(

I got the update from F-droid this week end and everything seem to work fine to date.

After about one week of stability, the error is sadly back :(

3.11.1

Same as @AlexKalopsia over here: the error is back, but it has a new name now. It says now "Conflict" instead of "Malformed Server Configuration".

@AlexKalopsia is is also for you changed to "conflict"?

@tobiasKaminsky nope, was Malformed Server Configuration for me. It seems to come and go to be honest, sometimes I am not even sure if it's because I restart my NC container or perhaps restart my LetsEncrypt one

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

Can this be reopened.

I have completely new install of Nextcloud, and the Android app, and getting this error :(

I don;t know if that's a generic message, but seems like i missed a server configuration somewhere.
Similar to trusted-domains in config.php, originally is populated with the device name the server is running, OR I just accepted the default (which i probably did, since toatally new, and didn't want to chanhge anything, and not have it work)

I have since changed trysted-domains, to my entire subnet (192.168.0.*), so that i can at least try to manage it from somewhere else, which works fine from my windows machine, which also has the nextcloud-drive loaded and wprking.

Thanks for the feedback @mocallins ❤️

Hhmmmmm, the Android app, is still failing, however

hmm, that's bad :/ @tobiasKaminsky any idea how we can narrow this down?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

markbryanduncan picture markbryanduncan  ·  3Comments

daywalk3r666 picture daywalk3r666  ·  3Comments

AndyScherzinger picture AndyScherzinger  ·  3Comments

tobiasKaminsky picture tobiasKaminsky  ·  3Comments

JSoko picture JSoko  ·  3Comments