nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.7k stars 4k forks source link

[Bug]: Talk and other apps 'disabled' after upgrade to 24.0.2 from 23.0.6, unable to use #32995

Closed aaronsegura closed 1 year ago

aaronsegura commented 2 years ago

⚠️ This issue respects the following points: ⚠️

Bug description

I attempted to upgrade my NC23.0.6 installation to NC24.0.2 last night.

I saw that there was one application that didn't have a compatible update (ocdownloader), but I rarely use that application, so I forged ahead. All of the other apps were listed as having a compatible update.

At the end of the upgrade, I was informed by the web updater that multiple apps had been disabled due to no compatible version available. I don't remember all of them, but spreed, and darkbreeze were on the list in addition to ocdownloader.

Upon opening the web interface for Talk, I find that none of my conversations are there. I try to start a new conversation, and I get an error. Here is the relevant entry from nextcloud.log:

{"reqId":"DOGvPPxloXyYnjgx3Mrs","level":4,"time":"2022-06- 
23T03:01:33+00:00","remoteAddr":"172.58.62.145","user":"aaron","app":"no app in 
context","method":"GET","url":"/csrftoken","message":"Could not boot spreed: Undefined class constant 
'EVENT_AFTER_MULTIPLE_SYSTEM_MESSAGE_SEND'","userAgent":"Mozilla/5.0 (X11; Linux x86_64) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.115 Safari/537.36","version":"24.0.2.1","exception": 
{"Exception":"Error","Message":"Undefined class constant 
'EVENT_AFTER_MULTIPLE_SYSTEM_MESSAGE_SEND'","Code":0,"Trace 
[{"file":"/var/www/nextcloud/apps/spreed/lib/Signaling/Listener.php","line":47,"function":"registerExternalSignaling",
"class":"OCA\\Talk\\Signaling\\Listener","type":"::"}, 
{"file":"/var/www/nextcloud/apps/spreed/lib/AppInfo/Application.php","line":164,"function":"register",
"class":"OCA\\Talk\\Signaling\\Listener","type":"::"}, 
{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":190,"function":"boot",
"class":"OCA\\Talk\\AppInfo\\Application","type":"->"}, 
{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":207,"function":"bootApp",
"class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"}, 
{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":140,"function":"loadApp","class":"OC_App","type":"::"}, 
{"file":"/var/www/nextcloud/apps/dav/lib/AppInfo/Application.php","line":177,"function":"loadApps","class":"OC_App",
"type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":190,"function":"boot",
"class":"OCA\\DAV\\AppInfo\\Application","type":"->"}, 
{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":207,"function":"bootApp",
"class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"}, 
{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":140,"function":"loadApp","class":"OC_App","type":"::"}, 
{"file":"/var/www/nextcloud/lib/base.php","line":1003,"function":"loadApps","class":"OC_App","type":"::"}, 
{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],
"File":"/var/www/nextcloud/apps/spreed/lib/Signaling/Listener.php","Line":358,"CustomMessage":"Could not boot spreed: 
Undefined class constant 'EVENT_AFTER_MULTIPLE_SYSTEM_MESSAGE_SEND'"}}

I have restored from backups, so everything is working again, but I still have the logs and old database tables to look at if anyone needs them.

Steps to reproduce

  1. Have Nextcloud 23.0.6
  2. Use web updater to install 24.0.2
  3. Try to start a new Talk conversation

Expected behavior

NC24.0.2 + Talk functions as expected

Installation method

Manual installation

Operating system

Debian/Ubuntu

PHP engine version

PHP 7.4

Web server

Apache (supported)

Database engine version

MySQL

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

Updated to a major version (ex. 22.2.3 to 23.0.1)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "[REDACTED].com",
            "[REDACTED].com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "23.0.6.1",
        "overwrite.cli.url": "https:\/\/[REDACTED].com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "htaccess.RewriteBase": "\/",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": true,
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "has_rebuilt_cache": true,
        "maintenance": false,
        "loglevel": 0,
        "theme": "",
        "updater.release.channel": "stable",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "default_phone_region": "US",
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

List of activated Apps

Enabled:                      
  - accessibility: 1.9.0
  - activity: 2.15.0  
  - admin_audit: 1.13.0   
  - apporder: 0.15.0
  - breezedark: 23.2.2   
  - bruteforcesettings: 2.4.0
  - calendar: 3.4.0          
  - camerarawpreviews: 0.7.16
  - circles: 23.1.2
  - cloud_federation_api: 1.6.0
  - comments: 1.13.0
  - contacts: 4.1.1   
  - contactsinteraction: 1.4.0    
  - cookbook: 0.9.12      
  - dav: 1.21.0           
  - deck: 1.6.3              
  - federatedfilesharing: 1.13.0
  - files: 1.18.0
  - files_markdown: 2.3.6 
  - files_mindmap: 0.0.26
  - files_pdfviewer: 2.4.0
  - files_photospheres: 1.23.1
  - files_rightclick: 1.2.0
  - files_sharing: 1.15.0 
  - files_trashbin: 1.13.0 
  - files_versions: 1.16.0
  - files_videoplayer: 1.12.0
  - forms: 2.5.1
  - groupfolders: 11.1.5
  - logreader: 2.8.0
  - lookup_server_connector: 1.11.0
  - maps: 0.1.10
  - music: 1.5.2
  - nextcloud_announcements: 1.12.0
  - notes: 4.3.1
  - notifications: 2.11.1
  - oauth2: 1.11.0
  - ocdownloader: 1.8.0
  - password_policy: 1.13.0
  - passwords: 2022.6.10
  - phonetrack: 0.7.0
  - photos: 1.5.0
  - polls: 3.6.1
  - previewgenerator: 5.0.0
  - privacy: 1.7.0
  - provisioning_api: 1.13.0
  - rainloop: 7.2.5
  - serverinfo: 1.13.0
  - settings: 1.5.0
  - sharebymail: 1.13.0
  - socialsharing_email: 2.5.0
  - spreed: 13.0.6
  - systemtags: 1.13.0
  - tasks: 0.14.4
  - text: 3.4.1
  - theming: 1.14.0
  - twofactor_backupcodes: 1.12.0
  - unsplash: 1.2.5
  - updatenotification: 1.13.0
  - user_ldap: 1.13.1
  - user_status: 1.3.1
  - video_converter: 1.0.5
  - viewer: 1.7.0
  - workflowengine: 2.5.0
Disabled:
  - announcementcenter: 6.3.1
  - dashboard: 7.3.0
  - encryption
  - epubreader: 1.4.7
  - external: 3.10.2
  - federation: 1.13.0
  - files_automatedtagging: 1.13.0
  - files_external: 1.15.0
  - firstrunwizard: 2.12.0
  - integration_github: 1.0.2
  - integration_reddit: 1.0.4
  - news: 18.1.0
  - recommendations: 1.2.0
  - richdocuments: 5.0.5
  - support: 1.6.0
  - survey_client: 1.11.0
  - weather_status: 1.3.0
  - workflow_script: 1.8.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No response

Additional info

In the browser console, I was able to see "500 Internal Server Error" while attempting a POST to create a new conversation.

aaronsegura commented 2 years ago

I don't see anything obviously wrong in the updater.log, but here it is for completeness:

2022-06-22T21:56:10-0500 67BeCngRDc [info] request to updater                  
2022-06-22T21:56:10-0500 67BeCngRDc [info] currentStep()  
2022-06-22T21:56:10-0500 67BeCngRDc [info] show HTML page                                                              
2022-06-22T21:56:10-0500 67BeCngRDc [info] current version: 23.0.6 build time: 2022-06-20T11:59:15+00:00 a2b1f7c8b7071555553ba3e2a5c1dd93f8021b2e
2022-06-22T21:56:11-0500 67BeCngRDc [info] getUpdateServerResponse()     
2022-06-22T21:56:11-0500 67BeCngRDc [info] updaterServer: https://updates.nextcloud.com/updater_server/
2022-06-22T21:56:11-0500 67BeCngRDc [info] releaseChannel: stable                                                      
2022-06-22T21:56:11-0500 67BeCngRDc [info] internal version: 23.0.6.1                                                  
2022-06-22T21:56:11-0500 67BeCngRDc [info] updateURL: https://updates.nextcloud.com/updater_server/?version=23x0x6x1xxxstablexx2022-06-20T11%3A59%3A15%2B00%3A00+a2b1f7c8b7071555553ba3e2a5c1dd93f8021b2ex7x4x3
2022-06-22T21:56:11-0500 67BeCngRDc [info] getUpdateServerResponse response: Array                                     
(                                                          
    [version] => 24.0.2.1                                                                                              
    [versionstring] => Nextcloud 24.0.2                                                                                
    [url] => https://download.nextcloud.com/server/releases/nextcloud-24.0.2.zip                                       
    [web] => https://docs.nextcloud.com/server/24/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=24.0.2                                        
    [autoupdater] => 1                                                                                                 
    [eol] => 0                                                                                                         
    [signature] => GskL4HWBPnCHgd0G/+Tk1gLtZLODgxrRbGa11BQxfpXHyn9OD88p2ul2rhQv3HDE                                    el2QsNc3lzIvuecR+q2tgsjbQR89eK+46SbhogrcUky0HV94gCa6B9Nvenh8/kX8 PRba/ewR1i6CvBVaXJ2xFc9haS1Dv6buBYm4w17F+cnLNvHnWcMVzNPuxRS8dWIw                                            Oy/tVM+rghS6KYpCXOkyw9jpf5nWR7PdaCITslmhDDDjPXr6fJz31tG1JDQuP4Qt                                                                                                                                                                              sEqM0y0G2jhBWLbptxP0ntVjJfITRAoCkpyJTgX4b9oem47YNotSD7yBGqbZWcuN                                                       5+D+D9LWH+PgwZOANwlRZw==                                                                                               
) 

2022-06-22T21:56:11-0500 67BeCngRDc [info] checkForUpdate() Array
(
    [version] => 24.0.2.1
    [versionstring] => Nextcloud 24.0.2
    [url] => https://download.nextcloud.com/server/releases/nextcloud-24.0.2.zip
    [web] => https://docs.nextcloud.com/server/24/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=24.0.2
    [autoupdater] => 1
    [eol] => 0
    [signature] => GskL4HWBPnCHgd0G/+Tk1gLtZLODgxrRbGa11BQxfpXHyn9OD88p2ul2rhQv3HDEel2QsNc3lzIvuecR+q2tgsjbQR89eK+46SbhogrcUky0HV94gCa6B9Nvenh8/kX8PRba/ewR1i6CvBVaXJ2xFc9haS1Dv6buBYm4w17F+cnLNvHnWcMVzNPuxRS8dWIwOy/tVM+rghS6KYpCXOkyw9jpf5nWR7PdaCITslmhDDDjPXr6fJz31tG1JDQuP4QtsEqM0y0G2jhBWLbptxP0ntVjJfITRAoCkpyJTgX4b9oem47YNotSD7yBGqbZWcuN5+D+D9LWH+PgwZOANwlRZw==
)

2022-06-22T21:56:11-0500 67BeCngRDc [info] getChangelogURL()
2022-06-22T21:56:11-0500 67BeCngRDc [info] end of checkForUpdate() Update to Nextcloud 24.0.2 available. (channel:"stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-24.0.2.zip</code><br /><a class="external_link" href="https://nextcloud.com/changelog/#24-0-2" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
2022-06-22T21:56:40-0500 P8cgtHJF9S [info] request to updater
2022-06-22T21:56:40-0500 P8cgtHJF9S [info] currentStep()
2022-06-22T21:56:40-0500 P8cgtHJF9S [info] POST request for step "1"
2022-06-22T21:56:40-0500 P8cgtHJF9S [info] startStep("1")
2022-06-22T21:56:40-0500 P8cgtHJF9S [info] checkForExpectedFilesAndFolders()
2022-06-22T21:56:40-0500 P8cgtHJF9S [info] end of checkForExpectedFilesAndFolders()
2022-06-22T21:56:40-0500 P8cgtHJF9S [info] endStep("1")
2022-06-22T21:56:40-0500 l2ugNFpzXH [info] request to updater
2022-06-22T21:56:40-0500 l2ugNFpzXH [info] currentStep()
2022-06-22T21:56:40-0500 l2ugNFpzXH [info] Step 1 is in state "end".
2022-06-22T21:56:40-0500 l2ugNFpzXH [info] POST request for step "2"
2022-06-22T21:56:40-0500 l2ugNFpzXH [info] startStep("2")
2022-06-22T21:56:40-0500 l2ugNFpzXH [info] checkWritePermissions()
2022-06-22T21:56:40-0500 l2ugNFpzXH [info] end of checkWritePermissions()
2022-06-22T21:56:40-0500 l2ugNFpzXH [info] endStep("2")
2022-06-22T21:56:40-0500 8bHcBkekcv [info] request to updater
2022-06-22T21:56:40-0500 8bHcBkekcv [info] currentStep()
2022-06-22T21:56:40-0500 8bHcBkekcv [info] Step 2 is in state "end".
2022-06-22T21:56:40-0500 8bHcBkekcv [info] POST request for step "3"
2022-06-22T21:56:40-0500 8bHcBkekcv [info] startStep("3")
2022-06-22T21:56:40-0500 8bHcBkekcv [info] createBackup()
2022-06-22T21:56:40-0500 8bHcBkekcv [info] backup folder location: /opt/nextcloud//updater-ocnpzm3f1xlm/backups/nextcloud-23.0.6.1-1655953000/
2022-06-22T21:57:42-0500 8bHcBkekcv [info] end of createBackup()
2022-06-22T21:57:42-0500 8bHcBkekcv [info] endStep("3")
2022-06-22T21:57:42-0500 s1NsBpvUCn [info] request to updater
2022-06-22T21:57:42-0500 s1NsBpvUCn [info] currentStep()
2022-06-22T21:57:42-0500 s1NsBpvUCn [info] Step 3 is in state "end".
2022-06-22T21:57:42-0500 s1NsBpvUCn [info] POST request for step "4"
2022-06-22T21:57:42-0500 s1NsBpvUCn [info] startStep("4")
2022-06-22T21:57:42-0500 s1NsBpvUCn [info] downloadUpdate() 
2022-06-22T21:57:42-0500 s1NsBpvUCn [info] getUpdateServerResponse()
2022-06-22T21:57:42-0500 s1NsBpvUCn [info] updaterServer: https://updates.nextcloud.com/updater_server/
2022-06-22T21:57:42-0500 s1NsBpvUCn [info] releaseChannel: stable
2022-06-22T21:57:42-0500 s1NsBpvUCn [info] internal version: 23.0.6.1
2022-06-22T21:57:42-0500 s1NsBpvUCn [info] updateURL: https://updates.nextcloud.com/updater_server/? version=23x0x6x1xxxstablexx2022-06-20T11%3A59%3A15%2B00%3A00+a2b1f7c8b7071555553ba3e2a5c1dd93f8021b2ex7x4x3
2022-06-22T21:57:43-0500 s1NsBpvUCn [info] getUpdateServerResponse response: Array
(
    [version] => 24.0.2.1
    [versionstring] => Nextcloud 24.0.2
    [url] => https://download.nextcloud.com/server/releases/nextcloud-24.0.2.zip
    [web] => https://docs.nextcloud.com/server/24/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=24.0.2
    [autoupdater] => 1
    [eol] => 0
    [signature] => GskL4HWBPnCHgd0G/+Tk1gLtZLODgxrRbGa11BQxfpXHyn9OD88p2ul2rhQv3HDEel2QsNc3lzIvuecR+q2tgsjbQR89eK+46SbhogrcUky0HV94gCa6B9Nvenh8/kX8PRba/ewR1i6CvBVaXJ2xFc9haS1Dv6buBYm4w17F+cnLNvHnWcMVzNPuxRS8dWIwOy/tVM+rghS6KYpCXOkyw9jpf5nWR7PdaCITslmhDDDjPXr6fJz31tG1JDQuP4QtsEqM0y0G2jhBWLbptxP0ntVjJfITRAoCkpyJTgX4b9oem47YNotSD7yBGqbZWcuN5+D+D9LWH+PgwZOANwlRZw==
)
2022-06-22T21:57:43-0500 s1NsBpvUCn [info] storage location exists
2022-06-22T21:57:50-0500 s1NsBpvUCn [info] end of downloadUpdate()
2022-06-22T21:57:50-0500 s1NsBpvUCn [info] endStep("4")
2022-06-22T21:57:50-0500 jNbygXbavC [info] request to updater
2022-06-22T21:57:50-0500 jNbygXbavC [info] currentStep()
2022-06-22T21:57:50-0500 jNbygXbavC [info] Step 4 is in state "end".
2022-06-22T21:57:50-0500 jNbygXbavC [info] POST request for step "5"
2022-06-22T21:57:51-0500 jNbygXbavC [info] startStep("5")
2022-06-22T21:57:51-0500 jNbygXbavC [info] verifyIntegrity()
2022-06-22T21:57:51-0500 jNbygXbavC [info] getUpdateServerResponse()
2022-06-22T21:57:51-0500 jNbygXbavC [info] updaterServer: https://updates.nextcloud.com/updater_server/
2022-06-22T21:57:51-0500 jNbygXbavC [info] releaseChannel: stable
2022-06-22T21:57:51-0500 jNbygXbavC [info] internal version: 23.0.6.1
2022-06-22T21:57:51-0500 jNbygXbavC [info] updateURL: https://updates.nextcloud.com/updater_server/?version=23x0x6x1xxxstablexx2022-06-20T11%3A59%3A15%2B00%3A00+a2b1f7c8b7071555553ba3e2a5c1dd93f8021b2ex7x4x3
2022-06-22T21:57:51-0500 jNbygXbavC [info] getUpdateServerResponse response: Array
(
    [version] => 24.0.2.1
    [versionstring] => Nextcloud 24.0.2
    [url] => https://download.nextcloud.com/server/releases/nextcloud-24.0.2.zip
    [web] => https://docs.nextcloud.com/server/24/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=24.0.2
    [autoupdater] => 1
    [eol] => 0
    [signature] => GskL4HWBPnCHgd0G/+Tk1gLtZLODgxrRbGa11BQxfpXHyn9OD88p2ul2rhQv3HDEel2QsNc3lzIvuecR+q2tgsjbQR89eK+46SbhogrcUky0HV94gCa6B9Nvenh8/kX8PRba/ewR1i6CvBVaXJ2xFc9haS1Dv6buBYm4w17F+cnLNvHnWcMVzNPuxRS8dWIwOy/tVM+rghS6KYpCXOkyw9jpf5nWR7PdaCITslmhDDDjPXr6fJz31tG1JDQuP4QtsEqM0y0G2jhBWLbptxP0ntVjJfITRAoCkpyJTgX4b9oem47YNotSD7yBGqbZWcuN5+D+D9LWH+PgwZOANwlRZw==
)

2022-06-22T21:57:51-0500 jNbygXbavC [info] storage location: /opt/nextcloud//updater-ocnpzm3f1xlm/downloads/
2022-06-22T21:57:52-0500 jNbygXbavC [info] end of verifyIntegrity()
2022-06-22T21:57:52-0500 jNbygXbavC [info] endStep("5")
2022-06-22T21:57:52-0500 WgPgikBM5c [info] request to updater
2022-06-22T21:57:52-0500 WgPgikBM5c [info] currentStep()
2022-06-22T21:57:52-0500 WgPgikBM5c [info] Step 5 is in state "end".
2022-06-22T21:57:52-0500 WgPgikBM5c [info] POST request for step "6"
2022-06-22T21:57:52-0500 WgPgikBM5c [info] startStep("6")
2022-06-22T21:57:52-0500 WgPgikBM5c [info] extractDownload()
2022-06-22T21:57:52-0500 WgPgikBM5c [info] storage location: /opt/nextcloud//updater-ocnpzm3f1xlm/downloads/
2022-06-22T21:57:57-0500 WgPgikBM5c [info] end of extractDownload()
2022-06-22T21:57:57-0500 WgPgikBM5c [info] endStep("6")
2022-06-22T21:57:58-0500 Vav6b1GW4T [info] request to updater
2022-06-22T21:57:58-0500 Vav6b1GW4T [info] currentStep()
2022-06-22T21:57:58-0500 Vav6b1GW4T [info] Step 6 is in state "end".
2022-06-22T21:57:58-0500 Vav6b1GW4T [info] POST request for step "7"
2022-06-22T21:57:58-0500 Vav6b1GW4T [info] startStep("7")
2022-06-22T21:57:58-0500 Vav6b1GW4T [info] setMaintenanceMode("true")
2022-06-22T21:57:58-0500 Vav6b1GW4T [info] configFileName /var/www/nextcloud/updater/../config/config.php
2022-06-22T21:57:58-0500 Vav6b1GW4T [info] end of setMaintenanceMode()
2022-06-22T21:57:58-0500 Vav6b1GW4T [info] endStep("7")
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] request to updater
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] currentStep()
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] Step 7 is in state "end".
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] POST request for step "8"
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] startStep("8")
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] replaceEntryPoints()
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] replace index.php
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] replace status.php
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] replace remote.php
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] replace public.php
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] replace ocs/v1.php
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] replace ocs/v2.php
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] end of replaceEntryPoints()
2022-06-22T21:57:58-0500 EPZRZZgXCj [info] endStep("8")
2022-06-22T21:57:58-0500 eHcLiFMTw0 [info] request to updater
2022-06-22T21:57:58-0500 eHcLiFMTw0 [info] currentStep()
2022-06-22T21:57:58-0500 eHcLiFMTw0 [info] Step 8 is in state "end".
2022-06-22T21:57:58-0500 eHcLiFMTw0 [info] POST request for step "9"
2022-06-22T21:57:58-0500 eHcLiFMTw0 [info] startStep("9")
2022-06-22T21:57:58-0500 eHcLiFMTw0 [info] deleteOldFiles() 
2022-06-22T21:58:00-0500 eHcLiFMTw0 [info] config sample exists
2022-06-22T21:58:00-0500 eHcLiFMTw0 [info] themes README exists
2022-06-22T21:58:02-0500 eHcLiFMTw0 [info] end of deleteOldFiles()
2022-06-22T21:58:02-0500 eHcLiFMTw0 [info] endStep("9")
2022-06-22T21:58:02-0500 oVL5WGTL6R [info] request to updater
2022-06-22T21:58:02-0500 oVL5WGTL6R [info] currentStep()
2022-06-22T21:58:02-0500 oVL5WGTL6R [info] Step 9 is in state "end".
2022-06-22T21:58:02-0500 oVL5WGTL6R [info] POST request for step "10"
2022-06-22T21:58:02-0500 oVL5WGTL6R [info] startStep("10")
2022-06-22T21:58:02-0500 oVL5WGTL6R [info] moveNewVersionInPlace()
2022-06-22T21:58:02-0500 oVL5WGTL6R [info] storage location: /opt/nextcloud//updater-ocnpzm3f1xlm/downloads/nextcloud/
2022-06-22T21:58:31-0500 oVL5WGTL6R [info] end of moveNewVersionInPlace()
2022-06-22T21:58:31-0500 oVL5WGTL6R [info] endStep("10")
2022-06-22T21:58:33-0500 7HnEJyBVIc [info] request to updater
2022-06-22T21:58:33-0500 7HnEJyBVIc [info] currentStep()
2022-06-22T21:58:33-0500 7HnEJyBVIc [info] Step 10 is in state "end".
2022-06-22T21:58:33-0500 7HnEJyBVIc [info] POST request for step "11"
2022-06-22T21:58:33-0500 7HnEJyBVIc [info] startStep("11")
2022-06-22T21:58:33-0500 7HnEJyBVIc [info] setMaintenanceMode("false")
2022-06-22T21:58:33-0500 7HnEJyBVIc [info] configFileName /var/www/nextcloud/updater/../config/config.php
2022-06-22T21:58:33-0500 7HnEJyBVIc [info] end of setMaintenanceMode()
2022-06-22T21:58:33-0500 7HnEJyBVIc [info] endStep("11")
2022-06-22T21:58:33-0500 HUBHINjgrN [info] request to updater
2022-06-22T21:58:33-0500 HUBHINjgrN [info] currentStep()
2022-06-22T21:58:33-0500 HUBHINjgrN [info] Step 11 is in state "end".
2022-06-22T21:58:33-0500 HUBHINjgrN [info] POST request for step "12"
2022-06-22T21:58:34-0500 HUBHINjgrN [info] startStep("12")
2022-06-22T21:58:34-0500 HUBHINjgrN [info] finalize()
2022-06-22T21:58:34-0500 HUBHINjgrN [info] storage location: /opt/nextcloud//updater- ocnpzm3f1xlm/downloads/nextcloud/
2022-06-22T21:58:34-0500 HUBHINjgrN [info] call opcache_reset()
2022-06-22T21:58:34-0500 HUBHINjgrN [info] end of finalize()
2022-06-22T21:58:34-0500 HUBHINjgrN [info] endStep("12")

Where can I find the log for the rest of the upgrade?

humberg commented 2 years ago

Hello,

confirm same issure:

Update 23.0.6 to 24.0.2 via Web. After Update the app "Talk" 14.0.2 is not working. I disable and remove talk, install 14.0.2 again - same bug.

On Dashboard, no Talk is showing TalkApp can't show any talks.

alars commented 2 years ago

FWIW: Updated 23.0.5 to 24.0.1 via web - Talk was still working. Later updated 24.0.1 to 24.0.2 via web - Talk is still working. (Apache 2.4.41 and php 7.4.3 on Linux)

darthalf commented 2 years ago

Is there any solution for this? I ran into the same issue yesterday: Updated from 23.0.6 to 24.0.2 and Talk stopped working. When I try to activate Talk I get this error in NC log:

Exception: str_starts_with(): Argument #1 ($haystack) must be of type string, null given in file '/var/www/nextcloud/apps/spreed/lib/Migration/Version14000Date20220330141647.php' line 192

/var/www/nextcloud/lib/private/AppFramework/App.php - line 172:

OC\AppFramework\Http\Dispatcher->dispatch()

/var/www/nextcloud/lib/private/Route/Router.php - line 298:

OC\AppFramework\App::main()

/var/www/nextcloud/lib/base.php - line 1023:

OC\Route\Router->match()

/var/www/nextcloud/index.php - line 36:

OC::handleRequest()

Verursacht durch TypeError: str_starts_with(): Argument #1 ($haystack) must be of type string, null given

/var/www/nextcloud/apps/spreed/lib/Migration/Version14000Date20220330141647.php - line 192:

str_starts_with()

/var/www/nextcloud/apps/spreed/lib/Migration/Version14000Date20220330141647.php - line 127:

OCA\Talk\Migration\Version14000Date20220330141647->chunkedWriting()

/var/www/nextcloud/lib/private/DB/MigrationService.php - line 547:

OCA\Talk\Migration\Version14000Date20220330141647->postSchemaChange()

/var/www/nextcloud/lib/private/DB/MigrationService.php - line 425:

OC\DB\MigrationService->executeStep()

/var/www/nextcloud/lib/private/Installer.php - line 154:

OC\DB\MigrationService->migrate()

/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php - line 451:

OC\Installer->installApp()

/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 225:

OCA\Settings\Controller\AppSettingsController->enableApps()

/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 133:

OC\AppFramework\Http\Dispatcher->executeController()

/var/www/nextcloud/lib/private/AppFramework/App.php - line 172:

OC\AppFramework\Http\Dispatcher->dispatch()

/var/www/nextcloud/lib/private/Route/Router.php - line 298:

OC\AppFramework\App::main()

/var/www/nextcloud/lib/base.php - line 1023:

OC\Route\Router->match()

/var/www/nextcloud/index.php - line 36:

OC::handleRequest()
aaronsegura commented 2 years ago

@darthalf No solution I'm aware of. I'm waiting for the next release before attempting another upgrade.

darthalf commented 2 years ago

Found a work-around that seems to fix it for me. The error in NC log pointed to the file '/var/www/nextcloud/apps/spreed/lib/Migration/Version14000Date20220330141647.php' line 192

I just renamed this file (to "....php1" but anything else and even deleting should work too) and was able to activate Talk. Of course I don't know if this has any negative effects elsewhere but Talk is working now.

szaimen commented 1 year ago

Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you!

My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort!

If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+

aaronsegura commented 1 year ago

I was eventually able to upgrade to 24.x and am now running 25.0.2 without issue.