question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Newly created Nextcloud users do not show up in Chat list

See original GitHub issue

This is a copy from https://help.nextcloud.com/t/javascript-xmpp-chat-missing-contacts/14408, so, as suggested there, I post it here.

Nextcloud version: 12.0.0 Operating system and version: Ubuntu 16.04 Apache or nginx version: 2.4.18 PHP version: 7.0.18 Is this the first time you’ve seen this error?: yes

Can you reliably replicate it? (If so, please outline steps):

The issue you are facing:

Other users, which are created afterwards, are not shown in the chat window ( JavaScript XMPP Chat with internal server). So, the first user (admin) sees no other contacts, second user only sees admin and so on.

I tried reinstalling the app, no changes. I tried removing the app, manually dropping the tables oc_ojsxc_presence and oc_ojsxc_stanzas in the database (I thought, they might be some unwanted relict from the app?) and reinstalling, no changes.

Any suggestions? Is it due to the internal server of the app, which is marked as experimental, did I misconfigured something or might there be a bud somewhere?

The output of your Nextcloud log in Admin > Logging: no relevant log messages

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

  'instanceid' => 
  'passwordsalt' =>
  'secret' => 
  'trusted_domains' =>· 
  array (
    0 => 'www.*domain*',
    1 => '*domain*',
    2 => '*fixedip*',
  ),  
  'datadirectory' => '/var/www/nextcloud/data',
  'overwrite.cli.url' => ,
  'dbtype' => 'mysql',
  'version' => '12.0.0.29',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '', 
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => '************',
  'installed' => true,
  'memcache.local' => '\OC\Memcache\APCu',
  'mail_smtpmode' => 'sendmail',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'nextcloud',
  'mail_domain' => '************',
  'default_language' => 'de',
  'htaccess.RewriteBase' => '/',
  'logtimezone' => 'Europe/Berlin',
  'maintenance' => false,

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Nils160988commented, Jul 10, 2017

On executing the command, it gives the error “There are no commands defined in the “ojsxc” namespace.” Am I doing something wrong? I also do not find the folder lib/Command in the ojsxc-version you provided here…

Additionally, it might be nice, if this command is done automatically on installation of the app, because some people might run nextcloud without command line access.

1reaction
LEDfancommented, Jun 30, 2017

This is probably because JSXC caches the roster in the localStorage and doesn’t asks for it every time you open a Nextcloud page.

@sualko is there a way in XMPP to inform a change of the roster, or to invalidate the cache? I think there are some ways in Nextcloud to be notified of new, changed and deleted users so then the server can send the new roster.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Talk not list all contacts after upgrade cancel
I have just tried on a demo server and i think it's the normal working … I have create more than 9 users...
Read more >
Nextcloud User Manual
Welcome to Nextcloud: A safe home for all your data. Nextcloud is open source file sync and share software for everyone from individuals...
Read more >
Basics of Nextcloud Talk
Nextcloud Talk lets you chat and have video calls on your own server. Chats and calls take place in conversations. You can create...
Read more >
[OJSXC] Online status of users not visible
It lists all the users of my server and I can perfectly chat with everyone. Unfortunately the online status of the users is...
Read more >
5 features in Nextcloud Talk you didn't know about
You can create a poll directly in Talk messaging! ... and it will instantly be posted to a Talk chat of your choice...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found