Closed AkshayRao27 closed 4 months ago
Remove oidc_login_alt_login_page
from your config file
@pulsejet That didn't work for me. Got the same error
Fatal | no app in context | Error Failed opening required 'assets/login.php' (include_path='/app/www/public/3rdparty/pear/archive_tar:/app/www/public/3rdparty/pear/console_getopt:/app/www/public/3rdparty/pear/pear-core-minimal/src:/app/www/public/3rdparty/pear/pear_exception:/app/www/public/apps') Could not boot oidc_login: Failed opening required 'assets/login.php' (include_path='/app/www/public/3rdparty/pear/archive_tar:/app/www/public/3rdparty/pear/console_getopt:/app/www/public/3rdparty/pear/pear-core-minimal/src:/app/www/public/3rdparty/pear/pear_exception:/app/www/public/apps')
But neither does changing the setting to remove the login user and password from the GUI login interface.
@keesfluitman restart the PHP server after you change config.php
@keesfluitman restart the PHP server after you change config.php
I rebooted the entire container, to no effect yet. Ill check further.
I get this error at the same time btw. require(assets/login.php): Failed to open stream: No such file or directory at /config/www/nextcloud/apps/oidc_login/lib/AppInfo/Application.php#152
I don't remember whether i customized something, and that that might be the cause? Deleting the app and reinstalling it, didn't have any effect. But right now, I set to auto redirect to my IP, but i still need the login form for my own main account, which is a local account.
@pulsejet Shall i open a new bug report or is there some support forum perhaps?
Not sure, there's really nothing to fix here. If you see Application.php
, it checks for oidc_login_alt_login_page
in the config and tries to require it on line 152 (where you get the error) if set. So the only way you could get this error is when this key is defined (and set to assets/login.php
) in your config.
thanks. that made me realize the settings were set twice in my config files. And they actually were...both in config.php and my oidc.config.php had all values in it. Dunno why oidc_login_hide_password_form has no effect yet though.
That's probably broken now, it was just a css hack
That's probably broken now, it was just a css hack
ye i just did it myself manually now. thanks again for your quick replies. like a pro company ;).
Yesterday, my Nextcloud desktop client stopped syncing, I could not upload files through the browser, and my App list was completely blank. When I checked the error log, it was full of these two errors going as far back as I could possibly go. Disabling the plugin made everything work perfectly again.
Throughout this time, I have been able to log in with Authelia using the plugin and sync was working fine. Something changed in the past few days that caused things to break, and I have no idea what. I'm not sure if this is a bug or a config issue on my end. What other info can I provide that would help diagnose what is going on here?
Level:
Fatal
Application:no app in context
Message:Level:
Error
Application:PHP
Message:Version: Nextcloud Hub 7 (28.0.3) Operating System: TurnKey GNU/Linux 18.0 (Debian 12/Bookworm) Hosting Method: LXC Container in Proxmox (VE 8.1.4) Config File: https://pastebin.com/LViS1aV7