Skip to content

[Bug]: no webaccess after upgrade from 31.0.9 to 31.0.12 (stable) #57316

@Meliphagidae

Description

@Meliphagidae

⚠️ This issue respects the following points: ⚠️

Bug description

This is a bug related to the upgrade of Nexcloud 31.0.9 to 31.0.12^on a shared server of provider all-inkl (Germany).
I have run it now three times, always same result:

No login screen, instead error 404.

Steps to reproduce

Steps done:
Webspacerestore And databaserestore ((due to multiple previous update attempts)

  1. Login ssh

php occ integrity:check-core
Result:

  • INVALID_HASH:
    • .htaccess:
      and some - EXTRA_FILE:
      moved the extra files to another directory (as I did for several previous upagrades), and I ignored the result regarding .htaccess
  1. Logon to Nextcloud with admin-rights.

contiue with Administrationseinstellungen overview

Image
  1. Start with update
Image
  1. Moved the extra files to another directory (as I did for several previous upagrades), and I ignored the result regarding .htaccess from step 1.
    retried update:
Image
Image Instead of "Continue with web based updater" (which I used the two first times) I decided to use SSH:

php ./occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Updating <files_sharing> ...
Updated <files_sharing> to 1.23.2
Updating ...
Updated to 5.0.2
Update app calendar from App Store
Update app groupfolders from App Store
Starting code integrity check...
Finished code integrity check
Update successful
Turned off maintenance mode
Resetting log level

  1. contiued webbased:
Image Image

7: Contiue with Nextcloud ("Weiter zu Nextcloud"):

Image

No chance to get a logon screen! ..isntead of..URL ....nc/logon it tries to open nc/apps/dashboard/

Expected behavior

Login screen available to admin and users

Nextcloud Server version

31

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.4

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            ""***REMOVED SENSITIVE VALUE***"",
            ""***REMOVED SENSITIVE VALUE***""
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.12.3",
        "overwrite.cli.url": "http:"***REMOVED SENSITIVE VALUE***"/nc",
        "htaccess.RewriteBase": "\/NC",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "xyz_","***REMOVED SENSITIVE VALUE***"
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "tempdirectory": "\/www\/htdocs\"***REMOVED SENSITIVE VALUE***"/tmp\/",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "default_phone_region": "DE",
        "mail_smtpmode": "sendmail",
        "mail_sendmailmode": "pipe",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "maintenance_window_start": 2,
        "filelocking.enabled": true,
        "theme": "",
        "loglevel": 0,
        "log_rotate_size": 10485760,
        "forbidden_filename_characters": [
            "<",
            ">",
            ":",
            "\"",
            "|",
            "?",
            "*",
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            " ",
            ".",
            ".filepart",
            ".part"
        ],
        "forbidden_filename_basenames": [
            "con",
            "prn",
            "aux",
            "nul",
            "com0",
            "com1",
            "com2",
            "com3",
            "com4",
            "com5",
            "com6",
            "com7",
            "com8",
            "com9",
            "com\u00b9",
            "com\u00b2",
            "com\u00b3",
            "lpt0",
            "lpt1",
            "lpt2",
            "lpt3",
            "lpt4",
            "lpt5",
            "lpt6",
            "lpt7",
            "lpt8",
            "lpt9",
            "lpt\u00b9",
            "lpt\u00b2",
            "lpt\u00b3"
        ],
        "updater.secret": "***REMOVED SENSITIVE VALUE***"

List of activated Apps

Enabled:
  - bruteforcesettings: 4.0.0
  - calendar: 5.5.11
  - cloud_federation_api: 1.14.0
  - dashboard: 7.11.0
  - dav: 1.33.0
  - federatedfilesharing: 1.21.0
  - files: 2.3.1
  - files_downloadlimit: 4.0.0
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.2
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - groupfolders: 19.1.12
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - password_policy: 3.0.0
  - photos: 4.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - text: 5.0.2
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - updatenotification: 1.21.0
  - viewer: 4.0.0
  - workflowengine: 2.13.0
Disabled:
  - activity: 4.0.0 (installed 3.0.0)
  - admin_audit: 1.21.0
  - app_api: 5.0.2 (installed 4.0.0)
  - circles: 31.0.0 (installed 30.0.0-dev)
  - comments: 1.21.0 (installed 1.20.1)
  - contactsinteraction: 1.12.1 (installed 1.11.0)
  - encryption: 2.19.0
  - federation: 1.21.0 (installed 1.20.0)
  - files_external: 1.23.0 (installed 1.22.0)
  - firstrunwizard: 4.0.0 (installed 3.0.0)
  - nextcloud_announcements: 3.0.0 (installed 2.0.0)
  - privacy: 3.0.0 (installed 1.12.0)
  - recommendations: 4.0.0 (installed 2.0.0)
  - related_resources: 2.0.0 (installed 1.3.0)
  - sharebymail: 1.21.0 (installed 1.18.0)
  - support: 3.0.0 (installed 1.11.0)
  - survey_client: 3.0.0 (installed 1.16.0)
  - suspicious_login: 9.0.1
  - systemtags: 1.21.1 (installed 1.20.0)
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - user_ldap: 1.22.0
  - user_status: 1.11.0 (installed 1.8.1)
  - weather_status: 1.11.0 (installed 1.8.0)
  - webhook_listeners: 1.2.0 (installed 1.1.0-dev)

Nextcloud Signing status

No login possible, dur to error. But have run https://mynextcloud.tld/index.php/settings/integrity/failed

Nextcloud Logs

no formatted access possible, no such section found.

Additional info

let me know hjow to identify the /settings/admin/logging section: and I'll try to find it.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions