App":"no app in context"

I keep getting this error and can not login at all.

{“reqId”:“ARSj54GJUT59z4amWbPW”,“level”:0,“time”:“2017-09-23T11:49:43+00:00”,“remoteAddr”:“86.0.255.46”,“user”:“mayamagazine”,“app”:“core”,“method”:“GET”,“url”:"/",“message”:“Scss is disabled for /home/sites/3a/e/e122ff8005/public_html/cloud/core/css/server.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38”,“version”:“12.0.2.0”}
{“reqId”:“ARSj54GJUT59z4amWbPW”,“level”:0,“time”:“2017-09-23T11:49:43+00:00”,“remoteAddr”:“86.0.255.46”,“user”:“mayamagazine”,“app”:“core”,“method”:“GET”,“url”:"/",“message”:“Scss is disabled for /home/sites/3a/e/e122ff8005/public_html/cloud/core/css/styles.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38”,“version”:“12.0.2.0”}
{“reqId”:“ARSj54GJUT59z4amWbPW”,“level”:0,“time”:“2017-09-23T11:49:43+00:00”,“remoteAddr”:“86.0.255.46”,“user”:“mayamagazine”,“app”:“core”,“method”:“GET”,“url”:"/",“message”:“Scss is disabled for /home/sites/3a/e/e122ff8005/public_html/cloud/core/css/header.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38”,“version”:“12.0.2.0”}
{“reqId”:“ARSj54GJUT59z4amWbPW”,“level”:0,“time”:“2017-09-23T11:49:43+00:00”,“remoteAddr”:“86.0.255.46”,“user”:“mayamagazine”,“app”:“core”,“method”:“GET”,“url”:"/",“message”:“Scss is disabled for /home/sites/3a/e/e122ff8005/public_html/cloud/core/css/share.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38”,“version”:“12.0.2.0”}
{“reqId”:“ARSj54GJUT59z4amWbPW”,“level”:3,“time”:“2017-09-23T11:49:43+00:00”,“remoteAddr”:“86.0.255.46”,“user”:“mayamagazine”,“app”:“no app in context”,“method”:“GET”,“url”:"/",“message”:“Exception: {“Exception”:“Symfony\\Component\\Routing\\Exception\\RouteNotFoundException”,“Message”:“Unable to generate a URL for the named route \“theming.Theming.getLogo\” as such route does not exist.”,“Code”:0,“Trace”:”#0 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/Route\/Router.php(339): Symfony\\Component\\Routing\\Generator\\UrlGenerator->generate(‘theming.Theming…’, Array, 1)\n#1 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/URLGenerator.php(77): OC\\Route\\Router->generate(‘theming.Theming…’, Array)\n#2 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/apps\/theming\/lib\/ThemingDefaults.php(165): OC\\URLGenerator->linkToRoute(‘theming.Theming…’)\n#3 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/public\/Defaults.php(186): OCA\\Theming\\ThemingDefaults->getLogo(true)\n#4 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/core\/templates\/layout.guest.php(45): OCP\\Defaults->getLogo()\n#5 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/Template\/Base.php(176): include(’\/home\/sites\/3a\/…’)\n#6 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/Template\/Base.php(151): OC\\Template\\Base->load(’\/home\/sites\/3a\/…’, NULL)\n#7 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/legacy\/template.php(202): OC\\Template\\Base->fetchPage(NULL)\n#8 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/legacy\/template.php(224): OC_Template->fetchPage()\n#9 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/Template\/Base.php(132): OC_Template->fetchPage()\n#10 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/legacy\/template.php(342): OC\\Template\\Base->printPage()\n#11 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/index.php(67): OC_Template::printExceptionErrorPage(Object(Doctrine\\DBAL\\Exception\\DriverException))\n#12 {main}",“File”:"\/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/3rdparty\/symfony\/routing\/Generator\/UrlGenerator.php",“Line”:130}",“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38”,“version”:“12.0.2.0”}
{“reqId”:“DChBk26qV8SisGdrfcX8”,“level”:3,“time”:“2017-09-23T11:49:44+00:00”,“remoteAddr”:“86.0.255.46”,“user”:“mayamagazine”,“app”:“index”,“method”:“GET”,“url”:"/?v=10",“message”:“Exception: {“Exception”:“Doctrine\\DBAL\\Exception\\DriverException”,“Message”:“An exception occurred while executing ‘DELETE FROM oc_authtoken WHERE token = ?’ with params [\“8abc94ace030fc821c81f13c69b044947c8636ba041ad29ec0d03791bb9a996ea2fdb7c046c93595b15a4cb69867d2ad5e7d6647df3ba3e4f8143d7fe00b1d37\”]:\n\nSQLSTATE[HY000]: General error: 1665 Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.”,“Code”:0,“Trace”:”#0 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(128): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException(‘An exception oc…’, Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php(1015): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), ‘DELETE FROM oc...', Array)\\n#2 \\\/home\\\/sites\\\/3a\\\/e\\\/e122ff8005\\\/public_html\\\/cloud\\\/lib\\\/private\\\/DB\\\/Connection.php(213): Doctrine\\\\DBAL\\\\Connection->executeUpdate('DELETE FROMoc…’, Array, Array)\n#3 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Query\/QueryBuilder.php(208): OC\\DB\\Connection->executeUpdate(‘DELETE FROM `P…’, Array, Array)\n#4 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/DB\/QueryBuilder\/QueryBuilder.php(213): Doctrine\\DBAL\\Query\\QueryBuilder->execute()\n#5 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/Authentication\/Token\/DefaultTokenMapper.php(48): OC\\DB\\QueryBuilder\\QueryBuilder->execute()\n#6 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/Authentication\/Token\/DefaultTokenProvider.php(238): OC\\Authentication\\Token\\DefaultTokenMapper->invalidate(‘8abc94ace030fc8…’)\n#7 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/User\/Session.php(822): OC\\Authentication\\Token\\DefaultTokenProvider->invalidateToken(** sensitive parameters replaced ***)\n#8 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/User\/Session.php(250): OC\\User\\Session->logout()\n#9 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/User\/Session.php(223): OC\\User\\Session->validateSession()\n#10 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/legacy\/app.php(319): OC\\User\\Session->getUser()\n#11 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/legacy\/app.php(110): OC_App::getEnabledApps()\n#12 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/legacy\/user.php(128): OC_App::loadApps(Array)\n#13 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/base.php(743): OC_User::setupBackends()\n#14 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/base.php(1086): OC::init()\n#15 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/index.php(46): require_once(’\/home\/sites\/3a\/…’)\n#16 {main}",“File”:"\/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php",“Line”:116}",“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38”,“version”:“12.0.2.0”}
{“reqId”:“DChBk26qV8SisGdrfcX8”,“level”:0,“time”:“2017-09-23T11:49:44+00:00”,“remoteAddr”:“86.0.255.46”,“user”:“mayamagazine”,“app”:“core”,“method”:“GET”,“url”:"/?v=10",“message”:“Scss is disabled for /home/sites/3a/e/e122ff8005/public_html/cloud/core/css/server.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38”,“version”:“12.0.2.0”}
{“reqId”:“DChBk26qV8SisGdrfcX8”,“level”:0,“time”:“2017-09-23T11:49:44+00:00”,“remoteAddr”:“86.0.255.46”,“user”:“mayamagazine”,“app”:“core”,“method”:“GET”,“url”:"/?v=10",“message”:“Scss is disabled for /home/sites/3a/e/e122ff8005/public_html/cloud/core/css/styles.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38”,“version”:“12.0.2.0”}
{“reqId”:“DChBk26qV8SisGdrfcX8”,“level”:0,“time”:“2017-09-23T11:49:44+00:00”,“remoteAddr”:“86.0.255.46”,“user”:“mayamagazine”,“app”:“core”,“method”:“GET”,“url”:"/?v=10",“message”:“Scss is disabled for /home/sites/3a/e/e122ff8005/public_html/cloud/core/css/header.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38”,“version”:“12.0.2.0”}
{“reqId”:“DChBk26qV8SisGdrfcX8”,“level”:0,“time”:“2017-09-23T11:49:44+00:00”,“remoteAddr”:“86.0.255.46”,“user”:“mayamagazine”,“app”:“core”,“method”:“GET”,“url”:"/?v=10",“message”:“Scss is disabled for /home/sites/3a/e/e122ff8005/public_html/cloud/core/css/share.scss, ignoring”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38”,“version”:“12.0.2.0”}
{“reqId”:“DChBk26qV8SisGdrfcX8”,“level”:3,“time”:“2017-09-23T11:49:44+00:00”,“remoteAddr”:“86.0.255.46”,“user”:“mayamagazine”,“app”:“no app in context”,“method”:“GET”,“url”:"/?v=10",“message”:“Exception: {“Exception”:“Symfony\\Component\\Routing\\Exception\\RouteNotFoundException”,“Message”:“Unable to generate a URL for the named route \“theming.Theming.getLogo\” as such route does not exist.”,“Code”:0,“Trace”:”#0 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/Route\/Router.php(339): Symfony\\Component\\Routing\\Generator\\UrlGenerator->generate(‘theming.Theming…’, Array, 1)\n#1 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/URLGenerator.php(77): OC\\Route\\Router->generate(‘theming.Theming…’, Array)\n#2 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/apps\/theming\/lib\/ThemingDefaults.php(165): OC\\URLGenerator->linkToRoute(‘theming.Theming…’)\n#3 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/public\/Defaults.php(186): OCA\\Theming\\ThemingDefaults->getLogo(true)\n#4 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/core\/templates\/layout.guest.php(45): OCP\\Defaults->getLogo()\n#5 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/Template\/Base.php(176): include(’\/home\/sites\/3a\/…’)\n#6 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/Template\/Base.php(151): OC\\Template\\Base->load(’\/home\/sites\/3a\/…’, NULL)\n#7 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/legacy\/template.php(202): OC\\Template\\Base->fetchPage(NULL)\n#8 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/legacy\/template.php(224): OC_Template->fetchPage()\n#9 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/Template\/Base.php(132): OC_Template->fetchPage()\n#10 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/lib\/private\/legacy\/template.php(342): OC\\Template\\Base->printPage()\n#11 \/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/index.php(67): OC_Template::printExceptionErrorPage(Object(Doctrine\\DBAL\\Exception\\DriverException))\n#12 {main}",“File”:"\/home\/sites\/3a\/e\/e122ff8005\/public_html\/cloud\/3rdparty\/symfony\/routing\/Generator\/UrlGenerator.php",“Line”:130}",“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38”,“version”:“12.0.2.0”}

“app”:“index”,“method”:“GET”,“url”:"/",“message”:"Exception: {“Exception”:“Doctrine\\DBAL\\Exception\\DriverException”,“Message”:"An exception occurred while executing ‘DELETE FROM oc_authtoken WHERE token = ?’ with params

AND

“app”:“no app in context”,“method”:“GET”,“url”:"/",“message”:"Exception:

These are the errors which are happening

Do you have this table in your database? Did it work before? If yes, what did you change, which version did you update?

i am not sure why this has happened. I have not tired to update or anything.

I have also tried to upload fresh next cloud files and see if this would solve the issue, which it has not.

It seems to be an issue with the database, how can i solve it

hi, really could do with some help here

hello,
did you recently update the instance?
i had similar issues with an incomplete download.
a new clone of the NC source fixed it for me

I discovered that the error was somehow tied to renaming a user group. I had misspelled a group, created users, assigned them to a misspelled group, and then renamed the group. After which, none of the users in that group could login, and I was seeing this no app in context error in the log.

To resolve, I deleted the group, the users, and started over with the correctly named group.

Hi,

I get the ‘no app in context’ message in the logs as well.

NC 23.0.4 via Docker

One User can login without problems, the other is rejected as frontend says: "Wrong username or password. "
But username is correct, and I reset the password via admin account multiple times. Existing logins via app still working. webui says no.

Admin log:

[no app in context] Warnung: Login failed: xxxxxx (Remote IP: xx.xx.xx.xx)

POST /login
from xx.xx.xx.xx at 2022-05-02T10:30:00+00:00

Hope I’m right here :slight_smile:

Thanks in advance