No login screen

some kind of problem
no login screen

  • Nextcloud Server version 31.0.4.1
  • Database version: 11.4.5-MariaDB
  • Operating system and version: Ubuntu 24.04.2 LTS
  • Web server and version nginx/1.27.5
  • PHP version : PHP 8.3.20
  • Is this the first time you’ve seen this error? No
  • Installation method Bare Metal
  • Are you using Cloudflare: No

interesting thing …

occ maintenance:mimetype:update-db
changed nothing

added to /etc/nginx/mime.types
application/javascript js mjs;

got this in return nginx log:
duplicate extension “mjs”, content type: “text/javascript”, previous content type:

“/var/www/nextcloud/js/core/merged-template-prepend.js” failed (2: No such file or directory),

request: “GET /js/core/merged-template-prepend.js?v=e535e903-36 HTTP/1.1”,

[error] 15894#15894: *8961 open() “/var/www/nextcloud/index.php/apps/files/preview-service-worker.js” failed (20: Not a directory),

request: “GET /index.php/apps/files/preview-service-worker.js HTTP/1.1”, host:

The clues gathered when filling out the support template will likely help your troubleshooting efforts.

Made my day
But still not working