Episode 19: Nextcloud AIO, OpenCloud and Seafile measured with the same test data on the same server

This commit is contained in:
Maximilian Grimm 2026-10-24 20:37:53 +02:00
parent 76a3132a17
commit 145d318452
70 changed files with 3296 additions and 0 deletions

View file

@ -0,0 +1,47 @@
# 28 Nextcloud: Lizenz- und Nutzergrenzen im ausgelieferten Code (2026-10-24T15:24:55Z)
+ docker exec -u www-data nextcloud-aio-nextcloud php occ config:system:get one-click-instance
true
+ docker exec -u www-data nextcloud-aio-nextcloud php occ status
- installed: true
- version: 34.0.5.1
- versionstring: 34.0.5
- edition:
- maintenance: false
- needsDbUpgrade: false
- productname: Nextcloud
- extendedSupport: false
+ docker exec nextcloud-aio-nextcloud sh -c 'grep -rn "one-click-instance.user-limit" /var/www/html/lib/private/Support/Subscription/Registry.php; grep -rnE "isFairUseOfFreePushService|5000|500 " /var/www/html/apps/notifications/lib/Push.php | head -5; grep -rn "function isFairUse" -A 12 /var/www/html/lib/private/Notification/Manager.php | head -16'
144: $hardUserLimit = $this->config->getSystemValueInt('one-click-instance.user-limit', 50);
696: if (!$this->notificationManager->isFairUseOfFreePushService()) {
283: public function isFairUseOfFreePushService(): bool {
284- $pushAllowed = $this->cache->get('push_fair_use');
285- if ($pushAllowed === null) {
286- /**
287- * We want to keep offering our push notification service for free, but large
288- * users overload our infrastructure. For this reason we have to rate-limit the
289- * use of push notifications. If you need this feature, consider using Nextcloud Enterprise.
290- */
291- $isFairUse = $this->subscription->delegateHasValidSubscription() || $this->userManager->countSeenUsers() < 1000;
292- $pushAllowed = $isFairUse ? 'yes' : 'no';
293- $this->cache->set('push_fair_use', $pushAllowed, 3600);
294- }
295- return $pushAllowed === 'yes';
+ docker exec -u www-data nextcloud-aio-nextcloud php occ config:system:get one-click-instance.user-limit
100
+ docker exec -u www-data nextcloud-aio-nextcloud php occ config:system:get one-click-instance.link
https://nextcloud.com/all-in-one/
+ docker exec nextcloud-aio-nextcloud sh -c 'grep -rn "one-click-instance" /var/www/html/config/*.php | head; grep -rn "one-click-instance" /*.sh 2>/dev/null | head'
/var/www/html/config/aio.config.php:3: 'one-click-instance' => true,
/var/www/html/config/aio.config.php:4: 'one-click-instance.user-limit' => 100,
/var/www/html/config/config.php:19: 'one-click-instance' => true,
/var/www/html/config/config.php:20: 'one-click-instance.user-limit' => 100,
/var/www/html/config/config.php:109: 'one-click-instance.link' => 'https://nextcloud.com/all-in-one/',
/entrypoint.sh:629:# Apply one-click-instance settings
/entrypoint.sh:630:echo "Applying one-click-instance settings..."
/entrypoint.sh:631:php /var/www/html/occ config:system:set one-click-instance --value=true --type=bool
/entrypoint.sh:632:php /var/www/html/occ config:system:set one-click-instance.user-limit --value=100 --type=int
/entrypoint.sh:633:php /var/www/html/occ config:system:set one-click-instance.link --value="https://nextcloud.com/all-in-one/"
/run-exec-commands.sh:16: if ! grep "one-click-instance" /tmp/nextcloud-exec-commands; then
# Befund: AIO setzt bei jedem Start one-click-instance=true und one-click-instance.user-limit=100 (entrypoint.sh Zeile 629-633).
# Registry.php: ohne gültiges Abo werden ab 100 aktiven Konten keine neuen Konten mehr angelegt ("The account limit was reached").
# Mobile Push über den kostenlosen Nextcloud-Push-Dienst: nur "fair use", d. h. ohne Abo unter 1000 gesehenen Nutzern (Manager.php isFairUseOfFreePushService).