After upgrade to Nextcloud Hub 8, v29.0.0 Talk conversations are gone

Support intro

Conversations are gone after upgrade to v29.0.0

Nextcloud version: 29.0.0
Operating system and version: Ubuntu 22.04 LTS server
nginx version: 1.18.0
PHP version: 8.1

The issue you are facing:

Is this the first time you’ve seen this error?: Y

Steps to replicate it:

  1. Upgrade from v28 to v29.0.0

The output of your Nextcloud log in Admin > Logging:

root@nextcloud:/var/www/html/nextcloud# sudo -u www-data 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
Disabled incompatible app: appointments
Disabled incompatible app: deck
Disabled incompatible app: external
Disabled incompatible app: mail_roundcube
Disabled incompatible app: maps
Disabled incompatible app: quicknotes
Disabled incompatible app: richdocuments
Disabled incompatible app: spreed
Disabled incompatible app: tasks
Disabled incompatible app: user_usage_report
Disabled incompatible app: workflow_kitinerary
Updating <federation> ...
Updated <federation> to 1.19.0
Updating <lookup_server_connector> ...
Updated <lookup_server_connector> to 1.17.0
Updating <oauth2> ...
Updated <oauth2> to 1.17.0
Updating <password_policy> ...
Updated <password_policy> to 1.19.0
Updating <photos> ...
Updated <photos> to 2.5.0
Updating <files> ...
Updated <files> to 2.1.0
Updating <activity> ...
Updated <activity> to 2.21.1
Updating <circles> ...
Updated <circles> to 29.0.0-dev
Updating <cloud_federation_api> ...
Updated <cloud_federation_api> to 1.12.0
Updating <dav> ...
Fix broken values of calendar objects

 Done
    0/0 [->--------------------------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Updated <dav> to 1.30.1
Updating <files_sharing> ...
Fix broken values of calendar objects
 Done
    0/0 [----------->----------------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Updated <files_sharing> to 1.21.0
Updating <files_trashbin> ...
Updated <files_trashbin> to 1.19.0
Updating <files_versions> ...
Updated <files_versions> to 1.22.0
Updating <sharebymail> ...
Updated <sharebymail> to 1.19.0
Updating <workflowengine> ...
Fix broken values of calendar objects
 Done
    0/0 [------------------>---------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Updated <workflowengine> to 2.11.0
Updating <admin_audit> ...
Updated <admin_audit> to 1.19.0
Updating <comments> ...
Updated <comments> to 1.19.0
Updating <firstrunwizard> ...
Updated <firstrunwizard> to 2.18.0
Updating <logreader> ...
Updated <logreader> to 2.14.0
Updating <nextcloud_announcements> ...
Updated <nextcloud_announcements> to 1.18.0
Updating <notifications> ...
Updated <notifications> to 2.17.0
Updating <systemtags> ...
Updated <systemtags> to 1.19.0
Updating <theming> ...
Fix broken values of calendar objects
 Done
    0/0 [-------------------------->-]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Updated <theming> to 2.4.0
Updating <contactsinteraction> ...
Updated <contactsinteraction> to 1.10.0
Updating <dashboard> ...
Updated <dashboard> to 7.9.0
Updating <federatedfilesharing> ...
Updated <federatedfilesharing> to 1.19.0
Updating <files_pdfviewer> ...
Updated <files_pdfviewer> to 2.10.0
Updating <files_reminders> ...
Updated <files_reminders> to 1.2.0
Updating <privacy> ...
Updated <privacy> to 1.13.0
Updating <provisioning_api> ...
Updated <provisioning_api> to 1.19.0
Updating <recommendations> ...
Updated <recommendations> to 2.1.0
Updating <related_resources> ...
Updated <related_resources> to 1.4.0
Updating <serverinfo> ...
Updated <serverinfo> to 1.19.0
Updating <settings> ...
Updated <settings> to 1.12.0
Updating <support> ...
Fix broken values of calendar objects
 Done
    0/0 [----->----------------------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Updated <support> to 1.12.0
Updating <survey_client> ...
Fix broken values of calendar objects
 Done
    0/0 [------------->--------------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Updated <survey_client> to 1.17.0
Updating <text> ...
Fix broken values of calendar objects
 Done
    0/0 [-------------------->-------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Updated <text> to 3.10.0
Updating <twofactor_backupcodes> ...
Fix broken values of calendar objects
 Done
    0/0 [>---------------------------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Updated <twofactor_backupcodes> to 1.18.0
Updating <updatenotification> ...
Updated <updatenotification> to 1.19.1
Updating <user_status> ...
Updated <user_status> to 1.9.0
Updating <viewer> ...
Updated <viewer> to 2.3.0
Updating <weather_status> ...
Updated <weather_status> to 1.9.0
Update app contacts from App Store
Update app deck from App Store
Update app external from App Store
Fix broken values of calendar objects
 Done
    0/0 [------->--------------------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Fix broken values of calendar objects
 Done
    0/0 [-------------->-------------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Fix broken values of calendar objects
 Done
    0/0 [---------------------->-----]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Update app richdocuments from App Store
Fix broken values of calendar objects
 Done
    0/0 [->--------------------------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Update app spreed from App Store
Fix broken values of calendar objects
 Done
    0/0 [--------->------------------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%

Fix broken values of calendar objects
 Done
    0/0 [---------------->-----------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Fix broken values of calendar objects
 Done
    0/0 [------------------------>---]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Fix broken values of calendar objects
 Done
    0/0 [--->------------------------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Fix broken values of calendar objects
 Done
    0/0 [----------->----------------]   0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
 Done
 1/1 [============================] 100%
Starting code integrity check...
Finished code integrity check
Update successful
Turned off maintenance mode
Resetting log level

Update to the latest version.

1 Like

Already updated. Here is the list of all my apps:

root@nextcloud:/var/www/html/nextcloud# sudo -u www-data php occ app:list
Enabled:
  - activity: 2.21.1
  - admin_audit: 1.19.0
  - analytics: 4.13.0
  - assistant: 1.0.8
  - calendar: 4.7.0
  - circles: 29.0.0-dev
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contacts: 6.0.0
  - contactsinteraction: 1.10.0
  - context_chat: 2.1.1
  - dashboard: 7.9.0
  - dav: 1.30.1
  - deck: 1.13.0
  - external: 5.4.0
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0
  - files_downloadlimit: 2.0.0
  - files_fulltextsearch_tesseract: 27.0.0
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - firstrunwizard: 2.18.0
  - integration_google: 2.2.0
  - integration_jira: 1.1.0
  - integration_openstreetmap: 1.0.12
  - integration_slack: 1.1.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - mail: 3.6.0
  - mail_roundcube: 1.1.1
  - nextcloud_announcements: 1.18.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - passwords: 2024.4.11
  - photos: 2.5.0
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - quicknotes: 0.8.22
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - richdocuments: 8.4.0
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - spreed: 19.0.0
  - support: 1.12.0
  - survey_client: 1.17.0
  - systemtags: 1.19.0
  - tables: 0.6.6
  - tasks: 0.15.0
  - text: 3.10.0
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - updatenotification: 1.19.1
  - user_saml: 6.1.3
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - welcome: 1.1.0
  - workflowengine: 2.11.0
Disabled:
  - appointments: 2.0.7 (installed 2.0.7)
  - bruteforcesettings: 2.9.0
  - encryption: 2.17.0
  - files_external: 1.21.0 (installed 1.20.0)
  - gptfreeprompt: 1.0.2 (installed 1.0.2)
  - integration_github: 2.0.7 (installed 2.0.7)
  - integration_gitlab: 1.0.19 (installed 1.0.19)
  - integration_homeassistant: 0.0.4 (installed 0.0.4)
  - integration_reddit: 2.0.3 (installed 2.0.3)
  - integration_twitter: 1.0.7 (installed 1.0.7)
  - integration_youtube: 0.2.1 (installed 0.2.1)
  - maps: 1.3.1 (installed 1.3.1)
  - shifts: 1.9.7 (installed 1.9.7)
  - suspicious_login: 7.0.0 (installed 6.0.0)
  - twofactor_totp: 11.0.0-dev
  - user_ldap: 1.20.0
  - user_usage_report: 1.12.0 (installed 1.12.0)
  - workflow_kitinerary: 1.4.0 (installed 1.4.0)

I’m still missing all conversations, but the new ones will not persist. Here is the log when I click on Talk app:

{"reqId":"gHolZD8LUeKJTtkisVzV","level":3,"time":"2024-04-24T21:08:19+00:00","remoteAddr":"178.149.231.52","user":"jboban","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/spreed/api/v4/room?includeStatus=true","message":"Call to undefined method OCA\\Talk\\Config::isFederationEnabledForUserId() in file '/var/www/html/nextcloud/apps/spreed/lib/Controller/RoomController.php' line 276","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36","version":"29.0.0.19","exception":{"Exception":"Exception","Message":"Call to undefined method OCA\\Talk\\Config::isFederationEnabledForUserId() in file '/var/www/html/nextcloud/apps/spreed/lib/Controller/RoomController.php' line 276","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/ocs/v1.php","line":66,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/ocs/v2.php","line":23,"args":["/var/www/html/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":170,"Previous":{"Exception":"Error","Message":"Call to undefined method OCA\\Talk\\Config::isFederationEnabledForUserId()","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"getRooms","class":"OCA\\Talk\\Controller\\RoomController","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/ocs/v1.php","line":66,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/ocs/v2.php","line":23,"args":["/var/www/html/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/apps/spreed/lib/Controller/RoomController.php","Line":276},"message":"Call to undefined method OCA\\Talk\\Config::isFederationEnabledForUserId() in file '/var/www/html/nextcloud/apps/spreed/lib/Controller/RoomController.php' line 276","exception":{},"CustomMessage":"Call to undefined method OCA\\Talk\\Config::isFederationEnabledForUserId() in file '/var/www/html/nextcloud/apps/spreed/lib/Controller/RoomController.php' line 276"}}

Also tried:
occ integrity:check-app spreed
occ app:update --all

and Disable, Remove, Install, Enable spreed app.

That is weird, can you try to restart php fpm to make sure there’s no caching involved in any way?

1 Like

It’s fine now! Thank you :pray:
I removed cache section from my config.php, restart PHP, reload nginx and reload Nextcloud web page and it’s work. Then, I put back cache section, restart PHP, reload nginx and everything is work again.

Thank you!

1 Like

Glad it’s working again. For future reference, it’s unlikely you need to remove cache config from config.php. A restart of PHP (FPM in your case) should be sufficient.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.