Push Notification not working

Nextcloud version (eg, 12.0.2): 13.0.0
Operating system and version (eg, Ubuntu 17.04): Ubuntu 16.04 LTS 64bit
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.18
PHP version (eg, 7.1): 7.1

The issue you are facing:
The push notification for android is not working in my nextcloud instance.
I then tried it with another instances (Same NC Version also Ubuntu) and it also doesn’t work .

When i open the notification (German: Benachrichtigungen) section in the App, it says “no notifcications” and “Push notifications currently not available” (German:Push Benachrichtigung aktuell nicht verfügbar). I never get a error message in the server logfiles.

I’m now searching for a solution since several weeks. All the hints from the web doesn’t help.
Unfortunately the Nextcloud documentation also doesn’t help to get a better understanding how push in Nexcloud works.
I guess there is something wrong with my configuration. Is there something i need to configure to make the notification work?

I hope someone in this group has an idea what is wrong with my instances!

Thanks, regards,

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

Steps to replicate it:

  1. open Android App
  2. op “Push notification”
  3. See the error “Push notifications currently not available”

The output of your Nextcloud log in Admin > Logging:


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

$CONFIG = array (
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => 'mycloud.my.de',
  'datadirectory' => '/var/www/nextcloud/my/data',
  'overwrite.cli.url' => 'https://mycloud.my.de',
  'dbtype' => 'mysql',
  'version' => '',
  'dbname' => 'nextcloud_my',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx',
  'installed' => true,
  'instanceid' => 'ocklj2lohw17',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'mail_from_address' => 'mycloud',
  'mail_smtpmode' => 'php',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => 'my.de',

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


Hi @Christof_Zahn!
Did you found a solution for your problem? Since I am struggling with the same issue, I would be very grateful if you share your solution with me.
Thank you very much in advance!