Hello,
today i upgraded my nextcloud server. Now the following message are shown:
“This community release of nextcloud is unsupported and instant notifications are unavailable.”
How can i disable this warning? This message is really annoying.
Best regards.
bb77
March 8, 2022, 8:06am
2
Hi @fettfoen
Can you be more specific? Where exactley do you get this message? How and where did you install your Nextcloud?
If I had to guess I would say the message is coming from a 3rd party app. I do not get such warnings on my server.
This message is shown on the login page:
https://bahaha.de/s/mnwTyw8Mao4dYe9
and in the user profile:
https://bahaha.de/s/bNsQqpqFYJddtsA
Guess this message occurs cause my server has over 5000 user?
I found this:
https://github.com/nextcloud/server/blob/master/lib/private/Notification/Manager.php
starting at line 313:
...
// TODO Remove time check after 1st March 2022
$isFairUse = $this->timeFactory->getTime() < 1646089200
|| $this->subscription->delegateHasValidSubscription()
|| $this->userManager->countSeenUsers() < 5000;
...
I have increased the “countSeenUsers” value. The message is gone. But this was a little bit insidious.
best regards
2 Likes
tflidd
March 12, 2022, 11:38pm
5
What kind of push notification are these? Why do they go through Nextcloud’s (the company’s) servers?
1 Like
Error in English/German (i10n):
server/core/l10n/de.json at master · nextcloud/server · GitHub
“This community release of Nextcloud is unsupported and instant notifications are unavailable.” : “Diese Community-Version von Nextcloud wird nicht unterstützt und sofortige Benachrichtigungen sind nicht verfügbar.”,
Line 365 in core/Controller/LoginController.php
$loginMessages = $this->session->get('loginMessages');
if (!$this->manager->isFairUseOfFreePushService()) {
if (!is_array($loginMessages)) {
$loginMessages = [[], []];
}
$loginMessages[1][] = $this->l10n->t('This community release of Nextcloud is unsupported and instant notifications are unavailable.');
}
<?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2017, Sandro Lutz <sandro.lutz@temparus.ch>
* @copyright Copyright (c) 2016 Joas Schilling <coding@schilljs.com>
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Daniel Kesselberg <mail@danielkesselberg.de>
* @author Joas Schilling <coding@schilljs.com>
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Julius Härtl <jus@bitgrid.net>
* @author Lukas Reschke <lukas@statuscode.ch>
* @author Michael Weimann <mail@michael-weimann.eu>
* @author Rayn0r <andrew@ilpss8.myfirewall.org>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Kate Döen <kate.doeen@nextcloud.com>
*
This file has been truncated. show original
Perhaps you can change the code or the translation.
@tflidd
What is: isFairUseOfFreePushService ?
Perhaps here is the problem.
tflidd
March 14, 2022, 2:04pm
7
Not sure if these are just update notifications and stuff like that or if that could also be federated shared stuff.
1 Like
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.