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

NC29 - Login page broken (Internal Error) #143

Closed
3 tasks done
DarkCoder28 opened this issue Sep 6, 2024 · 1 comment
Closed
3 tasks done

NC29 - Login page broken (Internal Error) #143

DarkCoder28 opened this issue Sep 6, 2024 · 1 comment
Labels

Comments

@DarkCoder28
Copy link

DarkCoder28 commented Sep 6, 2024

use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

  • This is not a feature request
  • This is not an image-provider request
  • I have searched the issuetracker if the issue is not already reported.

Describe the bug:

When I updated my system (ubuntu server 22lts in a Hyper-V VM 4cpus 16G ram) today from nc29.0.1 to nc29.0.6, I was met with an error when trying to log in. It seems that the app is trying to call an undefined method on the login page.

To Reproduce:
Steps to reproduce the behavior:

  1. Go to 'the nextcloud login page'
  2. See error 'Internal Server Error'
  3. Check nextcloud logs with tail -f '/path/to/nc.log'
  4. See 'Call to undefined method OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent::isLoggedIn()'

Expected behavior:

The login page should display as usual with an unsplash background.

Screenshots:

Screenshot_2024-09-05_21-27-35

Server:

  • Nextcloud version: 29.0.6
  • Splash-App version: 3.0.0

Additional Information:
Nextcloud logs:

{"reqId":"rTJiRk9nxvDtQ3nYgfWD","level":3,"time":"2024-09-06T01:01:40+00:00","remoteAddr":"*.*.*.*","user":"--","app":"index","method":"GET","url":"/index.php/login","message":"Call to undefined method OCP\\AppFramework\\Http\\Events\\BeforeLoginTemplateRenderedEvent::isLoggedIn()","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"29.0.6.1","exception":{"Exception":"Error","Message":"Call to undefined method OCP\\AppFramework\\Http\\Events\\BeforeLoginTemplateRenderedEvent::isLoggedIn()","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Unsplash\\EventListener\\BeforeTemplateRenderedEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php","line":50,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":142,"function":"afterController","class":"OC\\AppFramework\\Middleware\\AdditionalScriptsMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":175,"function":"afterController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/unsplash/lib/EventListener/BeforeTemplateRenderedEventListener.php","Line":82,"message":"Call to undefined method OCP\\AppFramework\\Http\\Events\\BeforeLoginTemplateRenderedEvent::isLoggedIn()","exception":{},"CustomMessage":"Call to undefined method OCP\\AppFramework\\Http\\Events\\BeforeLoginTemplateRenderedEvent::isLoggedIn()"}}
@DarkCoder28 DarkCoder28 added the bug label Sep 6, 2024
@newhinton
Copy link
Contributor

Duplicate #139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants