All notification and call alerts are missing

Greetings, I’m a new inexperienced user trying to set up a personal chat server with filesharing for my family and friends. I managed to install Nextcloud with the aid of online guides and activated Talk. However, none of the devices get notifications or voice/video call alerts.
Messages are delivered fine, it is just there are no notifications. Also when calling, 2nd user doesn’t get informed about the ongoing calls, unless they are in the chat with the person then they can see the log in chat about the call being made. If at that moment 2nd person calls 1st person they will get connected. Same for Video calls.
Additional info: Place I’m doing this right now is behind heavy censorship, so to access nextcloud website or its services I need to use VPNs, could that be the reason behind the notifications not being sent?

[/details]

Nextcloud version 17.0.0:
Operating system and version: CentOs 8
nginx version: nginx/1.14.1
PHP 7.2.11 (cli) (built: Oct 9 2018 15:09:36) ( NTS )

The issue you are facing:

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

Steps to replicate it:

  1. Install Nextcloud from this guide: https://www.linuxbabe.com/redhat/install-nextcloud-rhel-8-centos-8-nginx-lemp
  2. Manually install spread from the app store
  3. Activate it
  4. Send message
  5. Get no notification about the message received

The output of your Nextcloud log in Admin > Logging:

https://pastebin.com/XX5vjJ9Q

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

<?php
$CONFIG = array (
  'instanceid' => 'redacted',
  'passwordsalt' => 'redacted',
  'secret' => 'redacted',
  'trusted_domains' => 
  array (
    0 => '127.0.0.1',
    1 => '192.168.1.135',
  ),
  'datadirectory' => '/usr/share/nginx/nextcloud/data',
  'dbtype' => 'sqlite3',
  'version' => '17.0.0.9',
  'overwrite.cli.url' => 'http://127.0.0.1',
  'installed' => true,
);
. . .

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

https://pastebin.com/ZS1muJWJ

I think I know what the problem with push notifications might be,
>GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to http://push-notifications.nextcloud.com port 443: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
> Nextcloud servers being blocked in my country probably interferences with push notifications. Is there a way to use your own service or something else to send notifications.

However, that still leaves phone call notification and no way of answering it.

Is there a way to fix this problem with notification in 100% offline setup, meaning it would only work on LAN?

hey @Serenity

welcome to the forum and thanks for your first thread here.
i think it was often asked here why there’s no support for video/audio messaging of talk in standard-setup. and why there are no notifications.

i think i can answer at least first part… as long as you won’t setup your own co/turn-server for a/v-connections there usually won’t be any way to get those working.
for the notification part… i remember there’s are several threads here on the forum about that. too many to mention so i just underlayed the search-request under the link above.

hope that helps for the moment.

if you’d come up with a working solution it would be nice to tell the forum what exactly you did that solved the problem.

good luck and paka :slight_smile:
jimmy

I have browsed for the issues. However, none of them apply, since most of them either deal with NAT workarounds with TURN servers or the push-notifications.nexcloud.com being down. I want to set up completely offline installation without access to the internet so I could send messages between devices on LAN. For that, I shouldn’t need to send some info to the internet. Isn’t the whole point for this project is to be 100% self-reliant and not being tied to corporations?

as a matter of fact i think if you won’t run your own (lan)-co/turn-server it won’t happen.

right now afaik you’re relying (maybe even without being aware of it) on the service of nextcloud gmbh, using talk. take a look at your server setup.

is it? are you sure? the whole project?
i mean of course you can run nc caged to your own lan. but some applications would never really get to work then. as there simply wouldn’t be any solution for it.
and so… like talk. nextcloud gmbh is offering this free service for users. but you don’t need to accept this service, that’s for sure. but then… if you wanna make it work you’re off on your own. the app needs some server to connect with. or it won’t work.

1 Like