No Talk conversations after update to Nextcloud 27

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 27.0.0
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.53
PHP version (eg, 7.4): PHP 8.1

The issue you are facing:
After upgrading to Nextcloud 27.0.0 and Talk 17.0.1 existing Talk conversations no longer load. I’m also unable to start new conversations

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Open Talk in the browser or the Android app
  2. Conversations do not load. Android app says “There was a problem loading your chats”

or

  1. Search for a contact in the Talk app
  2. Click on the contact to open a new conversation
  3. Nothing happens

The output of your Nextcloud log in Admin > Logging:

[no app in context] Error: Exception: Class "IntlBreakIterator" not found in file '/var/www/nextcloud/lib/private/EmojiHelper.php' line 45 at <<closure>>

0. /var/www/nextcloud/lib/private/AppFramework/App.php line 183
   OC\AppFramework\Http\Dispatcher->dispatch()
1. /var/www/nextcloud/lib/private/Route/Router.php line 315
   OC\AppFramework\App::main()
2. /var/www/nextcloud/ocs/v1.php line 64
   OC\Route\Router->match()
3. /var/www/nextcloud/ocs/v2.php line 23
   require_once("/var/www/nextcloud/ocs/v1.php")

Caused by:

Error: Class "IntlBreakIterator" not found at <<closure>>

 0. /var/www/nextcloud/apps/spreed/lib/Service/AvatarService.php line 344
    OC\EmojiHelper->isValidSingleEmoji()
 1. /var/www/nextcloud/apps/spreed/lib/Service/RoomFormatter.php line 138
    OCA\Talk\Service\AvatarService->getAvatarVersion()
 2. /var/www/nextcloud/apps/spreed/lib/Service/RoomFormatter.php line 73
    OCA\Talk\Service\RoomFormatter->formatRoomV4()
 3. /var/www/nextcloud/apps/spreed/lib/Controller/RoomController.php line 393
    OCA\Talk\Service\RoomFormatter->formatRoom()
 4. /var/www/nextcloud/apps/spreed/lib/Controller/RoomController.php line 259
    OCA\Talk\Controller\RoomController->formatRoom()
 5. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 230
    OCA\Talk\Controller\RoomController->getRooms()
 6. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 137
    OC\AppFramework\Http\Dispatcher->executeController()
 7. /var/www/nextcloud/lib/private/AppFramework/App.php line 183
    OC\AppFramework\Http\Dispatcher->dispatch()
 8. /var/www/nextcloud/lib/private/Route/Router.php line 315
    OC\AppFramework\App::main()
 9. /var/www/nextcloud/ocs/v1.php line 64
    OC\Route\Router->match()
10. /var/www/nextcloud/ocs/v2.php line 23
    require_once("/var/www/nextcloud/ocs/v1.php")

GET /nextcloud/ocs/v2.php/apps/spreed/api/v4/room?includeStatus=true

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'XXXXX',
  'passwordsalt' => 'XXXXX',
  'secret' => 'XXXXX',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => 'XXXXX',
    2 => 'XXXXX',
    3 => 'XXXXX',
  ),
  'datadirectory' => '/var/www/nextclouddata',
  'dbtype' => 'mysql',
  'version' => '27.0.1.2',
  'overwrite.cli.url' => 'http://localhost/nextcloud',
  'htaccess.RewriteBase' => '/nextcloud',
  'dbname' => 'XXXXX',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'XXXXX',
  'dbpassword' => 'XXXXX',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/run/redis/redis-server.sock',
    'port' => 0,
    'password' => 'XXXXX',
    'timeout' => 1.5,
  ),
  'updater.release.channel' => 'stable',
  'mail_from_address' => 'XXXXX',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => 'XXXXX',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'XXXXX',
  'mail_smtpport' => '465',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpname' => 'XXXXX',
'mail_smtppassword' => 'XXXXX',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'mysql.utf8mb4' => true,
  'default_phone_region' => 'XX',
  'app_install_overwrite' => 
  array (
    0 => 'mail',
    1 => 'spreed',
    2 => 'afterlogic',
    3 => 'twofactor_totp',
    4 => 'imageconverter',
  ),
  'mail_sendmailmode' => 'smtp',
'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' => 
  array (
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
    0 => 'XXXXX',
  ),
);

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

Check if you have installed the intl module of php (php-intl)

I had trouble installing the intl module due to some version mismatch. I decided to upgrade to php 8.2 to see if that might solve the problem and it did: intl module is now installed and Talk is working again. Don’t know why this didn’t cause any issues before, but there you go.

Thanks for your help!