Login page not working | Solved ✅

Nextcloud version: 25.0.1
Operating system and version: 20.04.1 using Docker AIO
Apache version: 2.4.54 Comes with the Docker AIO
PHP version: Comes with the Docker AIO

The Issue

Users are unable to login into nextcloud, no login options only registration btn
image
Nextclod randomly kicked everyone off the network, and now you can’t log

not sure why or how did this happen…

You use a special configuration:

  • old Nextcloud version 20 (only 23,24 and 25 are supported)
  • old Ubuntu version 20.04 LTS (change in future to Ubuntu 22.04 LTS)
  • new PHP version 8.1 from another source (why !!!???!!!)

But maybe only a CSS problem. Have you changed CSS settings e.g. with the CSS app?

I am using docker, I just updated the info, and didn’t expect a fast answer from someone :joy:
it’s not a CSS issue, it happened suddenly and didn’t change any CSS settings or other things.

Questions?

How to access logs on Docker? to get more information?

Issue Found :roll_eyes:

HOW to remove the registration app from Nextcloud using Docker AIO?

Qustion :question:

The question should be how to remove an app from Nextcloud using the command line to access docker AIO?

Sorry no real idea for removing registration app from Nextcloud using Docker AIO.
But you can deactivate and delete the app in GUI for apps if you have web admin access.

disable apps in command line (occ) (maybe can be similar in Docker AIO):
sudo -u www-data php /path/to/nextcloud/occ app:disable appname
documentation

Hi, see GitHub - nextcloud/all-in-one: Nextcloud AIO stands for Nextcloud All In One and provides easy deployment and maintenance with most features included in this one Nextcloud instance.

The command should then probably be
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ app:disable registration

Thanks, now it’s gone, and I still don’t have a login screen
I think that I will try to enable or disable apps related to the login prosses
maybe that would solve the issue
my app list

Enabled:
  - accessibility: 1.10.0
  - activity: 2.16.0
  - admin_audit: 1.14.0
  - apporder: 0.15.0
  - bookmarks: 11.0.4
  - breezedark: 24.0.2
  - calendar: 3.5.2
  - circles: 24.0.1
  - cloud_federation_api: 1.7.0
  - collectives: 1.5.0
  - comments: 1.14.0
  - contacts: 4.2.2
  - contactsinteraction: 1.5.0
  - cospend: 1.4.10
  - dashboard: 7.4.0
  - dav: 1.22.0
  - deck: 1.7.2
  - event_update_notification: 2.0.0
  - external: 4.0.0
  - federatedfilesharing: 1.14.0
  - federation: 1.14.0
  - files: 1.19.0
  - files_antivirus: 3.3.1
  - files_fulltextsearch: 24.0.1
  - files_pdfviewer: 2.5.0
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - firstrunwizard: 2.13.0
  - forms: 2.5.1
  - fulltextsearch: 24.0.0
  - fulltextsearch_elasticsearch: 24.0.1
  - groupfolders: 12.0.2
  - integration_github: 1.0.4
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - mail: 1.14.2
  - nextcloud-aio: 0.2.0
  - nextcloud_announcements: 1.13.0
  - notes: 4.5.1
  - notifications: 2.12.1
  - notify_push: 0.5.0
  - oauth2: 1.12.0
  - password_policy: 1.14.0
  - passwords: 2022.10.20
  - photos: 1.6.0
  - polls: 3.8.3
  - privacy: 1.8.0
  - provisioning_api: 1.14.0
  - quota_warning: 1.15.0
  - ransomware_protection: 1.14.0
  - recommendations: 1.3.0
  - richdocuments: 6.3.1
  - serverinfo: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - spreed: 14.0.6
  - support: 1.7.0
  - survey_client: 1.12.0
  - systemtags: 1.14.0
  - tasks: 0.14.5
  - terms_of_service: 1.10.2
  - text: 3.5.1
  - theming: 1.15.0
  - twofactor_backupcodes: 1.13.0
  - twofactor_totp: 6.4.1
  - twofactor_webauthn: 0.3.3
  - user_status: 1.4.0
  - viewer: 1.8.0
  - weather_status: 1.4.0
  - workflowengine: 2.6.0
Disabled:
  - encryption
  - files_external
  - registration: 1.5.0
  - user_ldap

Update!

I found the issue was related to rocket loader a feature by Cloudflare

Improve the paint time for pages which include JavaScript.

This article is outdated but kinda helpful, I would recommend just turning off the rocket loader if someone has a similar issue to mine

Thanks for all the help @szaimen @devnull that commend is very useful :wink: