diff --git a/filesync/README.md b/filesync/README.md new file mode 100644 index 0000000..b1aa398 --- /dev/null +++ b/filesync/README.md @@ -0,0 +1,19 @@ +# File sync, measured (episode 19) + +Nextcloud All-in-One 14.4.1 (Nextcloud 34.0.5), OpenCloud 8.1.0 (rolling) and Seafile CE 13.0.28, +installed one after another on the same 2 vCPU / 4 GB cloud server, measured with the same test +data, then removed. A second server played client A and client B as two Linux accounts. + +- `compose/`: what was installed. Nextcloud is the `docker run` command from the AIO README, + OpenCloud the official opencloud-compose with the changed `.env` lines listed separately, + Seafile the official CE compose files. The Seafile env file is the upstream example on purpose: + its admin login `me@example.com` / `asecret` is the published default the episode is about. + Change it before you use it. +- `server/`: install, idle and load sampling scripts. +- `client/`: client setup (nextcloudcmd, opencloudcmd, seaf-cli, rclone) and the measurement + scripts for upload, delta, propagation, conflict, delete, share links and login attempts. +- `gen-testset.py`: the test data, 5000 small files plus one 2 GiB file, random bytes, fixed seed. +- `measurements/`: raw output of every measurement quoted in the video. Addresses are replaced + with documentation ranges and example.com. Comments in the scripts and notes are German. + +All sync numbers come from the vendors' command line clients, not the desktop apps. diff --git a/filesync/client/api.py b/filesync/client/api.py new file mode 100644 index 0000000..26dea90 --- /dev/null +++ b/filesync/client/api.py @@ -0,0 +1,81 @@ +#!/usr/bin/env python3 +"""ep19fs API-Helfer (Clients). Zugang aus /root/ep19fs/env (0600), nie ausgeben. +api.py P cmd [args] P = nc|oc|sf + rmtree PATH Ordner auf dem Server löschen und Papierkorb leeren + count PATH Dateien (rekursiv) und Bytes unter PATH auf dem Server + exists PATH HTTP-Status eines Pfads +""" +import os, sys, json, time, requests, xml.etree.ElementTree as ET +from urllib.parse import quote, unquote +E = {k: v.strip("'") for k, v in (l.strip().split('=', 1) for l in open(os.environ.get('EP19ENV','/root/ep19fs/env')) if '=' in l and not l.startswith('#'))} +P, cmd = sys.argv[1], sys.argv[2] +s = requests.Session() +DAV = 'DAV:' +def nc(): + u = E['NC_URL']; s.auth = (E['NC_USER'], E['NC_PASS']); return u, f"{u}/remote.php/dav/files/{E['NC_USER']}" +def oc(): + u = E['OC_URL']; s.auth = (E['OC_USER'], E['OC_TOKEN']); return u, f"{u}/remote.php/dav/spaces/{E['OC_SPACE']}" +def sfdav(): + u = E['SF_URL']; s.auth = (E['SF_USER'], E['SF_PASS']); return u, f"{u}/seafdav" +def base(): + return {'nc': nc, 'oc': oc, 'sf': sfdav}[P]() +def propfind(url, depth='infinity'): + r = s.request('PROPFIND', url, headers={'Depth': depth}, data='') + return r +def walk(url): + files = 0; size = 0 + r = propfind(url, 'infinity') + if r.status_code == 207 and P != 'sf': + for resp in ET.fromstring(r.content).findall(f'{{{DAV}}}response'): + isdir = resp.find(f'.//{{{DAV}}}collection') is not None + if not isdir: + files += 1; cl = resp.find(f'.//{{{DAV}}}getcontentlength'); size += int(cl.text) if cl is not None and cl.text else 0 + return files, size + # Tiefe 1 rekursiv + stack = [url] + while stack: + cur = stack.pop(); r = propfind(cur, '1') + if r.status_code != 207: return None, r.status_code + for i, resp in enumerate(ET.fromstring(r.content).findall(f'{{{DAV}}}response')): + if i == 0: continue + href = resp.find(f'{{{DAV}}}href').text + if resp.find(f'.//{{{DAV}}}collection') is not None: + stack.append(url.split('/remote.php')[0].split('/seafdav')[0] + href if href.startswith('/') else href) + else: + files += 1; cl = resp.find(f'.//{{{DAV}}}getcontentlength'); size += int(cl.text) if cl is not None and cl.text else 0 + return files, size +if cmd == 'count': + u, d = base(); print(*walk(d + '/' + quote(sys.argv[3].strip('/')))) +elif cmd == 'exists': + u, d = base(); print(propfind(d + '/' + quote(sys.argv[3].strip('/')), '0').status_code) +elif cmd == 'ls': + u, d = base(); r = propfind(d + '/' + quote(sys.argv[3].strip('/')), '1') + names = [unquote(x.find(f'{{{DAV}}}href').text.rstrip('/').split('/')[-1]) for x in ET.fromstring(r.content).findall(f'{{{DAV}}}response')][1:] + print(r.status_code, sorted(names)) +elif cmd == 'restore': # restore NAME ORIGPATH: Element aus dem Papierkorb zurückholen + u, d = base(); name, orig = sys.argv[3], sys.argv[4] + if P == 'nc': + tb = f"{u}/remote.php/dav/trashbin/{E['NC_USER']}/trash" + body = '' + else: + tb = f"{u}/remote.php/dav/spaces/trash-bin/{E['OC_SPACE']}" + body = '' + t0 = time.time(); r = s.request('PROPFIND', tb, headers={'Depth': '1'}, data=body) + items = [] + for x in ET.fromstring(r.content).findall(f'{{{DAV}}}response')[1:]: + loc = [e.text for e in x.iter() if e.tag.endswith('original-location')] + items.append((x.find(f'{{{DAV}}}href').text, loc[0] if loc else '')) + print('Papierkorb:', len(items), 'Einträge', [l for h, l in items]) + href = [h for h, l in items if l and l.strip('/') == orig.strip('/')][0] + host = u.split('/remote.php')[0] + dest = f"{u}/remote.php/dav/trashbin/{E['NC_USER']}/restore/{name}" if P == 'nc' else f"{d}/{quote(orig.strip('/'))}" + r = s.request('MOVE', host + href, headers={'Destination': dest}) + print(f'MOVE {r.status_code}, Wiederherstellung auf dem Server {time.time()-t0:.2f} s') +elif cmd == 'mkcol': + u, d = base(); r = s.request('MKCOL', d + '/' + quote(sys.argv[3].strip('/'))); print('MKCOL', r.status_code) +elif cmd == 'rmtree': + u, d = base(); r = s.delete(d + '/' + quote(sys.argv[3].strip('/'))); print('DELETE', r.status_code) + if P == 'nc': + r = s.delete(f"{u}/remote.php/dav/trashbin/{E['NC_USER']}/trash"); print('empty trash', r.status_code) + elif P == 'oc': + r = s.delete(f"{u}/remote.php/dav/spaces/trash-bin/{E['OC_SPACE']}"); print('empty trash', r.status_code) diff --git a/filesync/client/client-setup.sh b/filesync/client/client-setup.sh new file mode 100644 index 0000000..40c3066 --- /dev/null +++ b/filesync/client/client-setup.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +# Clients A und B (Ubuntu 24.04): offizielle Kommandozeilen-Clients plus rclone. +set -x +date -u +apt-get update -qq +DEBIAN_FRONTEND=noninteractive apt-get install -y -qq squashfs-tools python3-websockets python3-requests unzip fuse3 libfuse2t64 xvfb >/dev/null +# rclone, offizielles Installationsskript +curl -fsSL https://rclone.org/install.sh | bash >/dev/null 2>&1; rclone version | head -1 +# Seafile: offizielles apt-Repo linux-clients.seafile.com war am 24.10.2026 nicht erreichbar (TCP-Timeout zu 3.86.184.216:443, +# vom Server und vom Mac). Ersatz: seafile-cli aus Ubuntu 24.04 universe (Paket der Distribution). +DEBIAN_FRONTEND=noninteractive apt-get install -y -qq seafile-cli >/dev/null; dpkg -l seafile-cli seafile-daemon | grep ^ii +# Nextcloud: offizielles AppImage, nextcloudcmd liegt darin +mkdir -p /opt/nc && cd /opt/nc && wget -q https://github.com/nextcloud-releases/desktop/releases/download/v35.0.0/Nextcloud-35.0.0-x86_64.AppImage && chmod +x Nextcloud-35.0.0-x86_64.AppImage && ./Nextcloud-35.0.0-x86_64.AppImage --appimage-extract >/dev/null && find /opt/nc/squashfs-root -name 'nextcloudcmd*' +# OpenCloud: offizielles AppImage, Suche nach einem Kommandozeilen-Client +mkdir -p /opt/oc && cd /opt/oc && wget -q https://github.com/opencloud-eu/desktop/releases/download/v4.0.0/OpenCloud_Desktop-v4.0.0-linux-gcc-x86_64.AppImage && chmod +x OpenCloud_Desktop-v4.0.0-linux-gcc-x86_64.AppImage && ./OpenCloud_Desktop-v4.0.0-linux-gcc-x86_64.AppImage --appimage-extract >/dev/null && ls /opt/oc/squashfs-root/usr/bin/ diff --git a/filesync/client/m.sh b/filesync/client/m.sh new file mode 100644 index 0000000..bc4bf18 --- /dev/null +++ b/filesync/client/m.sh @@ -0,0 +1,86 @@ +#!/usr/bin/env bash +# m.sh: Messschritte auf ep19fs-cli. Client A = Linux-Nutzer clienta, Client B = clientb. +# Zugang aus /root/ep19fs/env (0640, Gruppe ep19). Keine Geheimnisse im Output. +set -u +source /root/ep19fs/lib.sh +set -a; source /root/ep19fs/env; set +a +SRV=203.0.113.10; H=$(echo "${NC_URL:-https://x}" | sed 's#https://##') +A() { sudo -u clienta -H "$@"; } +B() { sudo -u clientb -H "$@"; } +acct() { for u in clienta clientb; do iptables -C OUTPUT -d $SRV -m owner --uid-owner $u -j ACCEPT 2>/dev/null || iptables -I OUTPUT -d $SRV -m owner --uid-owner $u -j ACCEPT; done; } +tx() { iptables -L OUTPUT -v -x -n | awk -v id="$(id -u $1)" '$0 ~ ("owner UID match " id "$") {print $2; exit}'; } +api() { python3 /root/ep19fs/api.py "$@"; } +gb() { python3 -c "print(f'{$1/1e6:.1f} MB')"; } +acct +# ---------- Werkzeug-Aufrufe je Produkt ---------- +nc_sync() { # nc_sync USER LOCALDIR REMOTEPATH + sudo -u $1 -H nextcloudcmd -n --non-interactive --path "$3" "$2" "$NC_URL" > /tmp/ncc-$1.log 2>&1; echo "nextcloudcmd exit $? ($(grep -ciE 'error|fail' /tmp/ncc-$1.log) Zeilen mit error/fail im Log)"; } +rc_copy() { # rc_copy USER LOCALDIR REMOTE:PATH + sudo -u $1 -H rclone copy "$2" "$3" --stats-one-line --stats 0 > /tmp/rc-$1.log 2>&1; echo "rclone exit $?"; tail -2 /tmp/rc-$1.log | sed 's/^/ /'; } +oc_sync() { # oc_sync USER LOCALDIR REMOTEFOLDER + sudo -u $1 -H OPENCLOUD_TOKEN="$OC_TOKEN" opencloudcmd --non-interactive -u "$OC_USER" --remote-folder "/$3" "$OC_URL" "$OC_SPACE" "$2" > /tmp/occ-$1.log 2>&1; echo "opencloudcmd exit $? ($(grep -ciE 'error|fail' /tmp/occ-$1.log) Zeilen mit error/fail im Log)"; } +osync() { # osync USER DIR REMOTE : offizieller Client je Produkt + case $P in nc) nc_sync $1 $2 /$3;; oc) oc_sync $1 $2 $3;; esac; } +ls_state() { echo " A: $(cd $1 && find . -type f | sort | head -20 | tr '\n' ' ')"; echo " B: $(cd $2 && find . -type f | sort | head -20 | tr '\n' ' ')"; } +case $1 in +setup-creds) # .netrc und rclone.conf je Nutzer (einmalig), ohne Ausgabe der Werte + for u in clienta clientb; do h=$(eval echo ~$u) + [ -n "${NC_PASS:-}" ] && { printf 'machine %s login %s password %s\n' "$H" "$NC_USER" "$NC_PASS" > $h/.netrc; chmod 600 $h/.netrc; chown $u $h/.netrc; } + mkdir -p $h/.config/rclone; : > $h/.config/rclone/rclone.conf + [ -n "${NC_PASS:-}" ] && printf '[nc]\ntype = webdav\nurl = %s/remote.php/dav/files/%s\nvendor = nextcloud\nuser = %s\npass = %s\n\n' "$NC_URL" "$NC_USER" "$NC_USER" "$(rclone obscure "$NC_PASS")" >> $h/.config/rclone/rclone.conf + [ -n "${OC_TOKEN:-}" ] && printf '[oc]\ntype = webdav\nurl = %s/remote.php/dav/spaces/%s\nvendor = infinitescale\nuser = %s\npass = %s\n\n' "$OC_URL" "$OC_SPACE" "$OC_USER" "$(rclone obscure "$OC_TOKEN")" >> $h/.config/rclone/rclone.conf + [ -n "${SF_PASS:-}" ] && printf '[sf]\ntype = webdav\nurl = %s/seafdav\nvendor = other\nuser = %s\npass = %s\n\n' "$SF_URL" "$SF_USER" "$(rclone obscure "$SF_PASS")" >> $h/.config/rclone/rclone.conf + chown -R $u $h/.config; chmod 600 $h/.config/rclone/rclone.conf; done; echo "creds ok";; +prep) # prep P MODE: lokale Kopie, Ziel auf dem Server leeren (nicht gemessen) + P=$2; MODE=$3; d=/home/clienta/up/$P-$MODE; rm -rf $d; mkdir -p $d; cp -r /data/testset/small /data/testset/big $d/; chown -R clienta $d + case $P in nc|oc) api $P rmtree up-$MODE; api $P mkcol up-$MODE;; esac + echo "prep $P $MODE: $(find $d -type f | wc -l) Dateien lokal";; +up) # up P MODE: Hochladen messen + P=$2; MODE=$3; d=/home/clienta/up/$P-$MODE; b0=$(tx clienta); t0=$(now); echo "start $(ts) UTC" + case $P-$MODE in + nc-official) nc_sync clienta $d /up-official;; + nc-rclone) rc_copy clienta $d nc:up-rclone;; + oc-official) oc_sync clienta $d up-official;; + oc-rclone) rc_copy clienta $d oc:up-rclone;; + esac + t1=$(now); b1=$(tx clienta); echo "ende $(ts) UTC, Dauer $(el $t0 $t1) s, gesendet $(gb $((b1-b0)))" + echo "Server: $(api $P count up-$MODE) (Dateien Bytes)";; +delta) # delta P: 2-GiB-Datei synchron, dann 1 MiB in der Mitte ändern, erneut synchronisieren, Bytes messen + P=$2; d=/home/clienta/d/$P; rm -rf $d; mkdir -p $d; cp /data/testset/big/big.bin $d/; chown -R clienta /home/clienta/d + api $P rmtree delta; api $P mkcol delta + echo "Erstabgleich (nicht bewertet):"; b0=$(tx clienta); t0=$(now); osync clienta $d delta; echo " $(el $t0 $(now)) s, gesendet $(gb $(( $(tx clienta)-b0 )))" + echo "Änderung: dd 1 MiB Zufall an Offset 1024 MiB (conv=notrunc), Dateigröße bleibt 2 GiB" + sudo -u clienta dd if=/dev/urandom of=$d/big.bin bs=1M count=1 seek=1024 conv=notrunc status=none; sha256sum $d/big.bin | cut -c1-16 + b0=$(tx clienta); t0=$(now); osync clienta $d delta; t1=$(now); echo "Sync nach Änderung: $(el $t0 $t1) s, gesendet $(gb $(( $(tx clienta)-b0 )))" + echo "rclone zum Vergleich (gleiche Änderung, rclone copy auf denselben Ordner):" + sudo -u clienta dd if=/dev/urandom of=$d/big.bin bs=1M count=1 seek=512 conv=notrunc status=none + b0=$(tx clienta); t0=$(now); rc_copy clienta $d $P:delta; echo " rclone: $(el $t0 $(now)) s, gesendet $(gb $(( $(tx clienta)-b0 )))";; +conflict) # conflict P: dieselbe Datei auf A und B offline geändert + P=$2; da=/home/clienta/c/$P; db=/home/clientb/c/$P; rm -rf $da $db; sudo -u clienta mkdir -p $da; sudo -u clientb mkdir -p $db + api $P rmtree conflict; api $P mkcol conflict + echo "Angebot Version 1" | sudo -u clienta tee $da/angebot.txt >/dev/null; osync clienta $da conflict; osync clientb $db conflict + echo "Ausgangslage nach Erstabgleich:"; ls_state $da $db + echo "Offline: A schreibt 'Version A', B schreibt 'Version B' (kein Sync dazwischen)" + echo "Angebot Version A (Preis 900)" | sudo -u clienta tee $da/angebot.txt >/dev/null; sleep 2 + echo "Angebot Version B (Preis 1200)" | sudo -u clientb tee $db/angebot.txt >/dev/null + echo "A synchronisiert zuerst:"; osync clienta $da conflict + echo "B synchronisiert danach:"; osync clientb $db conflict + echo "A synchronisiert noch einmal:"; osync clienta $da conflict + echo "Ergebnis:"; ls_state $da $db + for f in $da/* ; do echo " A $(basename "$f"): $(cat "$f")"; done; for f in $db/* ; do echo " B $(basename "$f"): $(cat "$f")"; done + echo " Server: $(api $P ls conflict)";; +delete) # delete P: Ordner mit 5000 Dateien auf A gelöscht, propagiert das, wie kommt er zurück + P=$2; da=/home/clienta/x/$P; db=/home/clientb/x/$P + if [ "${3:-}" != again ]; then rm -rf $da $db; sudo -u clienta mkdir -p $da; sudo -u clientb mkdir -p $db + api $P rmtree del; api $P mkcol del; cp -r /data/testset/small $da/projekt; chown -R clienta $da; fi + echo "Abgleich A und B:"; t0=$(now); osync clienta $da del; osync clientb $db del; echo " $(el $t0 $(now)) s" + echo " A: $(find $da -type f | wc -l) Dateien, B: $(find $db -type f | wc -l) Dateien, Server: $(api $P count del)" + echo "$(ts) A löscht den Ordner projekt (rm -rf) und synchronisiert"; rm -rf $da/projekt; t0=$(now); osync clienta $da del; echo " A-Sync $(el $t0 $(now)) s" + echo " Server nach A-Sync: $(api $P count del)" + t0=$(now); osync clientb $db del; echo "$(ts) B synchronisiert ($(el $t0 $(now)) s): B hat noch $(find $db -type f | wc -l) Dateien" + echo "$(ts) Wiederherstellen aus dem Papierkorb des Servers (WebDAV MOVE, wie der Knopf in der Weboberfläche):" + t0=$(now); api $P restore projekt del/projekt; echo " Server: $(api $P count del)" + osync clientb $db del; osync clienta $da del; t1=$(now) + echo "$(ts) nach je einem Sync: A $(find $da -type f | wc -l), B $(find $db -type f | wc -l) Dateien; vom Restore-Start bis beide Clients vollständig $(el $t0 $t1) s";; +*) echo "unbekannt: $1";; +esac diff --git a/filesync/client/prop.py b/filesync/client/prop.py new file mode 100644 index 0000000..79a6f14 --- /dev/null +++ b/filesync/client/prop.py @@ -0,0 +1,59 @@ +#!/usr/bin/env python3 +"""Änderung auf Client A, wie lange bis sie bei Client B liegt. +prop.py nc|oc N : N Läufe. A schreibt eine kleine Datei und startet sofort seinen Sync (wie ein +Desktop-Client nach der lokalen Änderungserkennung). B synchronisiert, sobald der Server ihn +benachrichtigt (nc: notify_push-Websocket, wie der Desktop-Client) bzw. im Dauerlauf (oc: kein +Push-Kanal für den Kommandozeilen-Client, B startet opencloudcmd direkt wieder, sobald der +vorige Lauf endet). Gemessen: Wanduhr von "Datei auf A geschrieben" bis "Datei auf B vorhanden".""" +import os, sys, time, subprocess, threading, json, asyncio, statistics +P, N = sys.argv[1], int(sys.argv[2]) +E = {k: v.strip("'") for k, v in (l.strip().split('=', 1) for l in open('/root/ep19fs/env') if '=' in l and not l.startswith('#'))} +DA, DB = f'/home/clienta/p/{P}', f'/home/clientb/p/{P}' +H = E.get('NC_URL', E.get('OC_URL', '')).replace('https://', '') +def sync(user, d): + if P == 'nc': + cmd = ['nextcloudcmd', '-n', '--non-interactive', '--path', '/prop', d, E['NC_URL']] + else: + cmd = ['opencloudcmd', '--non-interactive', '-u', E['OC_USER'], '--remote-folder', '/prop', E['OC_URL'], E['OC_SPACE'], d] + env = dict(os.environ); env['OPENCLOUD_TOKEN'] = E.get('OC_TOKEN', '') + t = time.time(); r = subprocess.run(['sudo', '-u', user, '-H', '--preserve-env=OPENCLOUD_TOKEN'] + cmd, capture_output=True, env=env) + return time.time() - t, r.returncode +for d, u in ((DA, 'clienta'), (DB, 'clientb')): + subprocess.run(['sudo', '-u', u, 'mkdir', '-p', d]) +print(f'# {time.strftime("%H:%M:%S", time.gmtime())} UTC Erstabgleich A und B', flush=True) +print(' A', sync('clienta', DA), ' B', sync('clientb', DB), flush=True) +trigger = threading.Event(); stop = False; bsyncs = [] +def b_loop(): + while not stop: + if P == 'nc': + if not trigger.wait(1): continue + trigger.clear() + dur, rc = sync('clientb', DB); bsyncs.append(dur) +threading.Thread(target=b_loop, daemon=True).start() +events = [] +if P == 'nc': + import websockets + async def listen(): + async with websockets.connect(f'wss://{H}/push/ws') as ws: + await ws.send(E['NC_USER']); await ws.send(E['NC_PASS']) + while True: + m = await ws.recv(); events.append((time.time(), m[:40])) + if m.startswith('notify_file'): trigger.set() + threading.Thread(target=lambda: asyncio.run(listen()), daemon=True).start(); time.sleep(3) + print(' notify_push:', events[:1], flush=True) +res = [] +for i in range(1, N + 1): + name = f'note-{int(time.time())}-{i}.txt' + t0 = time.time() + subprocess.run(['sudo', '-u', 'clienta', 'sh', '-c', f'echo run {i} > {DA}/{name}']) + da, rc = sync('clienta', DA); ta = time.time() + while not os.path.exists(f'{DB}/{name}'): + if time.time() - t0 > 300: break + time.sleep(0.05) + tb = time.time(); ev = [round(t - ta, 2) for t, m in events if t >= ta and m.startswith('notify_file')][:1] + res.append(tb - t0) + print(f' Lauf {i}: A-Sync {da:.2f} s (rc {rc}), Datei bei B nach {tb - t0:.2f} s' + (f', Push an B {ev[0]} s nach A-Sync-Ende' if ev else ''), flush=True) + time.sleep(5) +stop = True +print(f'Mittel {statistics.mean(res):.2f} s, Median {statistics.median(res):.2f} s, min {min(res):.2f}, max {max(res):.2f} (n={len(res)})') +if bsyncs: print(f'B-Syncläufe: {len(bsyncs)}, Dauer Mittel {statistics.mean(bsyncs):.2f} s') diff --git a/filesync/client/sec.py b/filesync/client/sec.py new file mode 100644 index 0000000..ea960aa --- /dev/null +++ b/filesync/client/sec.py @@ -0,0 +1,82 @@ +#!/usr/bin/env python3 +"""Was geht standardmäßig: Freigabelink ohne Passwort und Ablauf, 10 falsche Anmeldungen. +sec.py P share|brute (P = nc|oc|sf). Anmeldungen über das Web-Anmeldeformular des Produkts.""" +import os, sys, re, time, json, requests +E = {k: v.strip("'") for k, v in (l.strip().split('=', 1) for l in open('/root/ep19fs/env') if '=' in l and not l.startswith('#'))} +P, what = sys.argv[1], sys.argv[2] +T = lambda: time.strftime('%H:%M:%S', time.gmtime()) +def nc_login(pw): + s = requests.Session(); u = E['NC_URL'] + s.get(u + '/login'); tok = s.get(u + '/csrftoken').json()['token'] + t = time.time() + r = s.post(u + '/login', data={'user': E['NC_USER'], 'password': pw, 'requesttoken': tok}, headers={'requesttoken': tok, 'Origin': u}, allow_redirects=False) + ok = r.status_code == 303 and '/login' not in r.headers.get('Location', '/login') + return r.status_code, time.time() - t, ok, r.headers.get('Location', '')[-40:] +def sf_login(pw): + s = requests.Session(); u = E['SF_URL'] + r = s.get(u + '/accounts/login/'); tok = s.cookies.get('sfcsrftoken') or s.cookies.get('csrftoken') + t = time.time() + r = s.post(u + '/accounts/login/', data={'csrfmiddlewaretoken': tok, 'login': E['SF_USER'], 'password': pw, 'next': '/'}, headers={'Referer': u + '/accounts/login/'}, allow_redirects=False) + ok = r.status_code == 302 + captcha = 'captcha' in r.text.lower() + return r.status_code, time.time() - t, ok, ('captcha verlangt' if captcha else '') + re.sub(r'\s+', ' ', ' '.join(re.findall(r'class="error[^"]*"[^>]*>([^<]{0,120})', r.text)))[:120] +def oc_login(pw): + u = E['OC_URL']; s = requests.Session() + body = {'params': [E['OC_USER'], pw, '1'], 'hello': {'scope': 'openid profile email', 'client_id': 'web', 'redirect_uri': u + '/oidc-callback.html', 'flow': 'oidc'}} + t = time.time() + r = s.post(u + '/signin/v1/identifier/_/logon', json=body, headers={'Kopano-Konnect-XSRF': '1', 'Referer': u + '/signin/v1/identifier', 'Origin': u}) + ok = r.status_code == 200 and '"success":true' in r.text.replace(' ', '') + return r.status_code, time.time() - t, ok, r.text[:80].replace('\n', ' ') +login = {'nc': nc_login, 'sf': sf_login, 'oc': oc_login}[P] +if what == 'brute': + real = {'nc': 'NC_PASS', 'sf': 'SF_PASS', 'oc': 'OC_PASS'}[P] + print(f'# {T()} UTC: 10 falsche Passwörter für den Admin über das Anmeldeformular, danach das richtige') + for i in range(1, 11): + c, dt, ok, info = login(f'falsch-{i}-xyz') + print(f' {T()} Versuch {i:2d} falsch : HTTP {c}, Antwort nach {dt:6.2f} s, angemeldet={ok} {info}') + c, dt, ok, info = login(E[real]) + print(f' {T()} Versuch 11 richtig: HTTP {c}, Antwort nach {dt:6.2f} s, angemeldet={ok} {info}') +if what == 'share' and P == 'nc': + u = E['NC_URL']; a = (E['NC_USER'], E['NC_PASS']); dav = f"{u}/remote.php/dav/files/{E['NC_USER']}" + requests.request('MKCOL', dav + '/freigabe', auth=a); requests.put(dav + '/freigabe/vertrag.txt', data=b'Vertrag Entwurf\n', auth=a) + print(f'# {T()} UTC: öffentlicher Link auf /freigabe, ohne Passwort und ohne Ablaufdatum angefordert (OCS-API, wie der Knopf in der Oberfläche)') + r = requests.post(u + '/ocs/v2.php/apps/files_sharing/api/v1/shares', auth=a, headers={'OCS-APIRequest': 'true', 'Accept': 'application/json'}, data={'path': '/freigabe', 'shareType': 3}) + d = r.json()['ocs']; print(' HTTP', r.status_code, 'OCS', d['meta']['statuscode'], d['meta']['message']) + if d['data']: + x = d['data']; print(' expiration =', x.get('expiration'), '| password gesetzt =', bool(x.get('password')), '| permissions =', x.get('permissions')) + link = x['url']; r2 = requests.get(link); print(' anonymer Abruf des Links:', r2.status_code, '| Datei sichtbar:', 'vertrag.txt' in r2.text) + r = requests.get(u + '/ocs/v2.php/cloud/capabilities', auth=a, headers={'OCS-APIRequest': 'true', 'Accept': 'application/json'}) + pub = r.json()['ocs']['data']['capabilities']['files_sharing']['public'] + print(' capabilities public:', json.dumps({k: pub.get(k) for k in ('enabled', 'password', 'expire_date', 'upload')})) +if what == 'wrongonly': # wrongonly N: nur falsche Versuche, kein richtiger am Ende + n = int(sys.argv[3]) + for i in range(1, n + 1): + c, dt, ok, info = login(f'falsch-{i}-xyz') + print(f' {T()} Versuch {i:2d} falsch : HTTP {c}, Antwort nach {dt:6.2f} s {info}', flush=True) +if what == 'share' and P == 'oc': + u = E['OC_URL']; a = (E['OC_USER'], E['OC_TOKEN']); sp = E['OC_SPACE']; dav = f"{u}/remote.php/dav/spaces/{sp}" + requests.request('MKCOL', dav + '/freigabe', auth=a); requests.put(dav + '/freigabe/vertrag.txt', data=b'Vertrag Entwurf\n', auth=a) + r = requests.request('PROPFIND', dav + '/freigabe', auth=a, headers={'Depth': '0'}, data='') + fid = re.search(r'([^<]+)', r.text).group(1) + print(f'# {T()} UTC: öffentlicher Link auf /freigabe, ohne Passwort und ohne Ablaufdatum angefordert (Graph-API createLink, wie der Knopf in der Oberfläche)') + r = requests.post(f"{u}/graph/v1beta1/drives/{sp}/items/{fid}/createLink", auth=a, json={'type': 'view'}) + print(' type=view ohne Passwort: HTTP', r.status_code, r.text[:160].replace('\n', ' ')) + r = requests.post(f"{u}/graph/v1beta1/drives/{sp}/items/{fid}/createLink", auth=a, json={'type': 'edit'}) + print(' type=edit ohne Passwort: HTTP', r.status_code, r.text[:160].replace('\n', ' ')) + r = requests.post(f"{u}/graph/v1beta1/drives/{sp}/items/{fid}/createLink", auth=a, json={'type': 'view', 'password': 'Lab-Passwort-19!x'}) + j = r.json() if r.ok else {} + print(' type=view mit Passwort: HTTP', r.status_code, '| expirationDateTime =', j.get('expirationDateTime'), '| hasPassword =', j.get('hasPassword')) + r = requests.get(u + '/ocs/v1.php/cloud/capabilities?format=json', auth=a) + pub = r.json()['ocs']['data']['capabilities']['files_sharing']['public'] + print(' capabilities public:', json.dumps({k: pub.get(k) for k in ('enabled', 'password', 'expire_date')})) +if what == 'share' and P == 'sf': + u = E['SF_URL']; h = {'Authorization': 'Token ' + E['SF_TOKEN'], 'Accept': 'application/json'}; rid = E['SF_REPO'] + requests.post(f"{u}/api2/repos/{rid}/dir/?p=/freigabe", headers=h, data={'operation': 'mkdir'}) + up = requests.get(f"{u}/api2/repos/{rid}/upload-link/?p=/freigabe", headers=h).json() + requests.post(up, headers=h, files={'file': ('vertrag.txt', b'Vertrag Entwurf\n')}, data={'parent_dir': '/freigabe'}) + print(f'# {T()} UTC: öffentlicher Link auf /freigabe, ohne Passwort und ohne Ablaufdatum angefordert (API v2.1 share-links, wie der Knopf in der Oberfläche)') + r = requests.post(f"{u}/api/v2.1/share-links/", headers=h, json={'repo_id': rid, 'path': '/freigabe/'}) + j = r.json(); print(' HTTP', r.status_code, '| is_expired =', j.get('is_expired'), '| expire_date =', j.get('expire_date'), '| password gesetzt =', bool(j.get('password')), '| permissions =', j.get('permissions')) + link = j.get('link') + if link: + r2 = requests.get(link); print(' anonymer Abruf des Links:', r2.status_code, '| Datei sichtbar:', 'vertrag.txt' in r2.text) diff --git a/filesync/client/sf.sh b/filesync/client/sf.sh new file mode 100644 index 0000000..9837e09 --- /dev/null +++ b/filesync/client/sf.sh @@ -0,0 +1,110 @@ +#!/usr/bin/env bash +# sf.sh: Seafile-Messschritte mit dem offiziellen Kommandozeilen-Client seaf-cli (Daemon je Nutzer). +# Client A = clienta, Client B = clientb. Zugang aus /root/ep19fs/env. Keine Geheimnisse im Output. +set -u +source /root/ep19fs/lib.sh +eval "$(python3 -c " +for l in open('/root/ep19fs/env'): + if '=' in l: k,v=l.strip().split('=',1); print(f'{k}={v}') +")" +SRV=203.0.113.10 +H="Authorization: Token $SF_TOKEN" +tx() { iptables -L OUTPUT -v -x -n | awk -v id="$(id -u $1)" '$0 ~ ("owner UID match " id "$") {print $2; exit}'; } +gb() { python3 -c "print(f'{$1/1e6:.1f} MB')"; } +for u in clienta clientb; do iptables -C OUTPUT -d $SRV -m owner --uid-owner $u -j ACCEPT 2>/dev/null || iptables -I OUTPUT -d $SRV -m owner --uid-owner $u -j ACCEPT; done +sc() { local u=$1; shift; sudo -u $u -H seaf-cli "$@"; } +daemon() { # daemon USER start|stop + local h=$(eval echo ~$1) + if [ "$2" = start ]; then [ -d $h/.ccnet ] || sc $1 init -d $h/seafile-client >/dev/null 2>&1; sc $1 start >/dev/null 2>&1; sleep 2 + else sc $1 stop >/dev/null 2>&1; sleep 1; fi; } +mkrepo() { curl -s -H "$H" -d "name=$1" "$SF_URL/api2/repos/" | python3 -c "import json,sys;print(json.load(sys.stdin)['repo_id'])"; } +delrepo() { curl -s -o /dev/null -w "%{http_code}" -X DELETE -H "$H" "$SF_URL/api2/repos/$1/"; } +repoinfo() { curl -s -H "$H" "$SF_URL/api2/repos/$1/" | python3 -c "import json,sys;d=json.load(sys.stdin);print(d.get('file_count','?'),'Dateien,',d.get('size'),'Bytes')"; } +status() { sc $1 status 2>/dev/null | awk -F'\t' -v n="$2" '{gsub(/ +$/,"",$1); gsub(/ +$/,"",$2)} $1==n {print $2" "$3}'; } +waitsync() { # waitsync USER NAME MAXSEC: bis "synchronized" + local t0=$(date +%s) s=""; while :; do s=$(status $1 $2); case "$s" in synchronized*) return 0;; esac + [ $(( $(date +%s)-t0 )) -ge ${3:-1800} ] && { echo " TIMEOUT Status: $s"; return 1; }; sleep 0.5; done; } +waitchange() { # waitchange USER NAME MAXSEC: bis der Status nicht mehr "synchronized" ist + local t0=$(date +%s); while :; do case "$(status $1 $2)" in synchronized*) ;; *) return 0;; esac; [ $(( $(date +%s)-t0 )) -ge ${3:-60} ] && return 1; sleep 0.2; done; } +case $1 in +up) # up K: Testsatz in eine neue Bibliothek hochladen, Zeit bis "synchronized" + K=$2; name=up-official-$K; d=/home/clienta/sfup/$name; rm -rf $d; mkdir -p $d; cp -r /data/testset/small /data/testset/big $d/; chown -R clienta /home/clienta/sfup + daemon clienta start; rid=$(mkrepo $name); b0=$(tx clienta); t0=$(now); echo "start $(ts) UTC, Bibliothek $name" + sc clienta sync -l $rid -s "$SF_URL" -d $d -u "$SF_USER" -p "$SF_PASS" >/dev/null 2>&1 + waitsync clienta $name 3600; t1=$(now); b1=$(tx clienta) + echo "ende $(ts) UTC, Dauer $(el $t0 $t1) s, gesendet $(gb $((b1-b0)))"; echo "Server: $(repoinfo $rid)" + sc clienta desync -d $d >/dev/null 2>&1; echo "Bibliothek gelöscht: HTTP $(delrepo $rid)";; +uprc) # uprc K: Testsatz per rclone (WebDAV/SeafDAV) in eine neue Bibliothek + K=$2; name=up-rclone-$K; d=/home/clienta/up/sf-rclone; rm -rf $d; mkdir -p $d; cp -r /data/testset/small /data/testset/big $d/; chown -R clienta /home/clienta/up + rid=$(mkrepo $name); b0=$(tx clienta); t0=$(now); echo "start $(ts) UTC, Bibliothek $name" + sudo -u clienta -H rclone copy $d sf:$name --stats-one-line --stats 0 > /tmp/rc-sf.log 2>&1; echo "rclone exit $?"; tail -2 /tmp/rc-sf.log | sed 's/^/ /' + t1=$(now); b1=$(tx clienta); echo "ende $(ts) UTC, Dauer $(el $t0 $t1) s, gesendet $(gb $((b1-b0)))"; echo "Server: $(repoinfo $rid)" + echo "Bibliothek gelöscht: HTTP $(delrepo $rid)";; +pair) # pair NAME: Bibliothek anlegen, auf A und B synchronisieren (leer) + name=$2; rid=$(mkrepo $name); echo "$rid" > /root/ep19fs/sf-$name.rid + for u in clienta clientb; do daemon $u start; d=/home/$u/sf/$name; [ -d $d ] && sc $u desync -d $d >/dev/null 2>&1; rm -rf $d; sudo -u $u mkdir -p $d; sc $u sync -l $rid -s "$SF_URL" -d $d -u "$SF_USER" -p "$SF_PASS" >/dev/null 2>&1; done + waitsync clienta $name 120; waitsync clientb $name 120; echo "Bibliothek $name auf A und B synchronisiert";; +prop) # prop N: Datei auf A schreiben, Zeit bis sie bei B liegt (beide Daemons laufen) + N=$2; bash $0 pair prop >/dev/null; sum=0 + for i in $(seq 1 $N); do f=note-$(date +%s)-$i.txt; t0=$(now); echo "run $i" | sudo -u clienta tee /home/clienta/sf/prop/$f >/dev/null + while [ ! -e /home/clientb/sf/prop/$f ]; do sleep 0.05; [ $(python3 -c "print(int($(now)-$t0))") -ge 300 ] && break; done; t1=$(now) + echo " Lauf $i: Datei bei B nach $(el $t0 $t1) s"; sleep 3; done;; +delta) # delta: 2-GiB-Datei synchron, 1 MiB in der Mitte ändern, Bytes messen + name=delta; rid=$(mkrepo $name); d=/home/clienta/sf/$name; rm -rf $d; mkdir -p $d; cp /data/testset/big/big.bin $d/; chown -R clienta /home/clienta/sf + daemon clienta start; b0=$(tx clienta); t0=$(now); sc clienta sync -l $rid -s "$SF_URL" -d $d -u "$SF_USER" -p "$SF_PASS" >/dev/null 2>&1; waitsync clienta $name 1800 + echo "Erstabgleich (nicht bewertet): $(el $t0 $(now)) s, gesendet $(gb $(( $(tx clienta)-b0 )))"; sleep 5 + echo "Änderung: dd 1 MiB Zufall an Offset 1024 MiB (conv=notrunc), Dateigröße bleibt 2 GiB" + b0=$(tx clienta); t0=$(now); sudo -u clienta dd if=/dev/urandom of=$d/big.bin bs=1M count=1 seek=1024 conv=notrunc status=none + waitchange clienta $name 120 || echo " (kein Statuswechsel gesehen)"; waitsync clienta $name 1800; t1=$(now); sleep 2; echo "Sync nach Änderung: $(el $t0 $t1) s (inkl. Erkennung), gesendet $(gb $(( $(tx clienta)-b0 )))" + echo "Server: $(repoinfo $rid)";; +conflict) # conflict: dieselbe Datei auf A und B offline geändert + bash $0 pair conf >/dev/null; da=/home/clienta/sf/conf; db=/home/clientb/sf/conf + echo "Angebot Version 1" | sudo -u clienta tee $da/angebot.txt >/dev/null; waitchange clienta conf 30; waitsync clienta conf 120 + for i in $(seq 1 120); do [ -e $db/angebot.txt ] && break; sleep 1; done + echo "Ausgangslage: A: $(ls $da | tr '\n' ' ')| B: $(ls $db | tr '\n' ' ')" + echo "$(ts) beide Daemons gestoppt (offline)"; daemon clienta stop; daemon clientb stop + echo "Angebot Version A (Preis 900)" | sudo -u clienta tee $da/angebot.txt >/dev/null; sleep 2 + echo "Angebot Version B (Preis 1200)" | sudo -u clientb tee $db/angebot.txt >/dev/null + echo "$(ts) A wieder online"; daemon clienta start; sleep 5; waitsync clienta conf 120; sleep 5 + echo "$(ts) B wieder online"; daemon clientb start; sleep 5; waitsync clientb conf 120; sleep 40; waitsync clienta conf 120 + echo "Ergebnis $(ts):"; for x in $da/* ; do echo " A $(basename "$x"): $(cat "$x")"; done; for x in $db/* ; do echo " B $(basename "$x"): $(cat "$x")"; done + echo " Server: $(curl -s -H "$H" "$SF_URL/api2/repos/$(cat /root/ep19fs/sf-conf.rid)/dir/?p=/" | python3 -c "import json,sys;print(sorted(x['name'] for x in json.load(sys.stdin)))")";; +delete) # delete: Ordner mit 5000 Dateien auf A gelöscht + bash $0 pair del >/dev/null; rid=$(cat /root/ep19fs/sf-del.rid); da=/home/clienta/sf/del; db=/home/clientb/sf/del + cp -r /data/testset/small $da/projekt; chown -R clienta $da; t0=$(now); waitchange clienta del 60; waitsync clienta del 1800 + for i in $(seq 1 1800); do [ "$(find $db -type f | wc -l)" -ge 5000 ] && break; sleep 1; done + echo "Abgleich A und B: $(el $t0 $(now)) s; A $(find $da -type f | wc -l), B $(find $db -type f | wc -l) Dateien; Server $(repoinfo $rid)" + echo "$(ts) A löscht den Ordner projekt (rm -rf)"; t0=$(now); rm -rf $da/projekt + waitchange clienta del 60; waitsync clienta del 300; echo " A synchronisiert nach $(el $t0 $(now)) s, Status A: $(status clienta del)" + for i in $(seq 1 120); do [ ! -d $db/projekt ] && break; sleep 1; done + echo "$(ts) B: $(find $db -type f | wc -l) Dateien (nach $(el $t0 $(now)) s), Status B: $(status clientb del); Server $(repoinfo $rid)" + echo "$(ts) Papierkorb der Bibliothek:"; curl -s -H "$H" "$SF_URL/api/v2.1/repos/$rid/trash/" | python3 -c " +import json,sys;d=json.load(sys.stdin);print(' ',[(x['obj_name'],x['parent_dir'],x['is_dir'],x['commit_id'][:8]) for x in d.get('data',[])][:5])" + t0=$(now); cid=$(curl -s -H "$H" "$SF_URL/api/v2.1/repos/$rid/trash/" | python3 -c "import json,sys;d=json.load(sys.stdin);print([x['commit_id'] for x in d['data'] if x['obj_name']=='projekt'][0])") + echo " Wiederherstellen (wie der Knopf in der Weboberfläche): HTTP $(curl -s -o /tmp/sfrev -w '%{http_code}' -X POST -H "$H" -d "commit_id=$cid" -d "path=/projekt" "$SF_URL/api/v2.1/repos/$rid/trash/revert-dirents/") $(head -c 80 /tmp/sfrev), Server $(el $t0 $(now)) s" + for i in $(seq 1 1800); do [ "$(find $db -type f 2>/dev/null | wc -l)" -ge 5000 ] && [ "$(find $da -type f 2>/dev/null | wc -l)" -ge 5000 ] && break; sleep 1; done + echo "$(ts) A $(find $da -type f | wc -l), B $(find $db -type f | wc -l) Dateien; vom Restore-Start bis beide Clients vollständig $(el $t0 $(now)) s";; +uilib) # uilib: Bibliothek "ui" mit dem Ordner small (5000 Dateien) für Oberfläche und Freigabe + name=ui; rid=$(mkrepo $name); d=/home/clienta/sf/$name; rm -rf $d; mkdir -p $d; cp -r /data/testset/small $d/; chown -R clienta /home/clienta/sf + sc clienta sync -l $rid -s "$SF_URL" -d $d -u "$SF_USER" -p "$SF_PASS" >/dev/null 2>&1; sleep 3; waitsync clienta $name 600; echo "$rid";; +restore) # restore: nur der Wiederherstellungsteil (Papierkorb -> Server -> A und B) + rid=$(cat /root/ep19fs/sf-del.rid); da=/home/clienta/sf/del; db=/home/clientb/sf/del + t0=$(now); cid=$(curl -s -H "$H" "$SF_URL/api/v2.1/repos/$rid/trash/" | python3 -c "import json,sys;d=json.load(sys.stdin);print([x['commit_id'] for x in d['data'] if x['obj_name']=='projekt'][0])") + echo "$(ts) Wiederherstellen (wie der Knopf im Papierkorb der Weboberfläche): HTTP $(curl -s -o /tmp/sfrev -w '%{http_code}' -X POST -H "$H" -d "commit_id=$cid" -d "path=/projekt" "$SF_URL/api/v2.1/repos/$rid/trash/revert-dirents/") $(head -c 80 /tmp/sfrev), Server nach $(el $t0 $(now)) s: $(repoinfo $rid)" + for i in $(seq 1 1800); do [ "$(find $db -type f 2>/dev/null | wc -l)" -ge 5000 ] && [ "$(find $da -type f 2>/dev/null | wc -l)" -ge 5000 ] && break; sleep 1; done + echo "$(ts) A $(find $da -type f | wc -l), B $(find $db -type f | wc -l) Dateien; vom Restore-Start bis beide Clients vollständig $(el $t0 $(now)) s";; +delete2) # delete2: Löschung freigeben (Schwelle hoch), dann aus dem Papierkorb wiederherstellen + rid=$(cat /root/ep19fs/sf-del.rid); da=/home/clienta/sf/del; db=/home/clientb/sf/del + echo "$(ts) seaf-cli config -k delete_confirm_threshold -v 100000 (entspricht dem Bestätigen der Löschung), Daemon A neu gestartet" + sc clienta config -k delete_confirm_threshold -v 100000 >/dev/null; daemon clienta stop; t0=$(now); daemon clienta start + for i in $(seq 1 600); do [ "$(curl -s -H "$H" "$SF_URL/api2/repos/$rid/" | python3 -c "import json,sys;print(json.load(sys.stdin).get('file_count'))")" = 0 ] && break; sleep 1; done + echo " Server leer nach $(el $t0 $(now)) s: $(repoinfo $rid)" + for i in $(seq 1 300); do [ ! -d $db/projekt ] && break; sleep 1; done; echo "$(ts) B: $(find $db -type f | wc -l) Dateien (nach $(el $t0 $(now)) s)" + echo "$(ts) Papierkorb der Bibliothek:"; curl -s -H "$H" "$SF_URL/api/v2.1/repos/$rid/trash/" | python3 -c " +import json,sys;d=json.load(sys.stdin);print(' ',[(x['obj_name'],x['parent_dir'],x['is_dir']) for x in d.get('data',[])][:5])" + t0=$(now); cid=$(curl -s -H "$H" "$SF_URL/api/v2.1/repos/$rid/trash/" | python3 -c "import json,sys;d=json.load(sys.stdin);print([x['commit_id'] for x in d['data'] if x['obj_name']=='projekt'][0])") + echo " Wiederherstellen (wie der Knopf im Papierkorb der Weboberfläche): HTTP $(curl -s -o /tmp/sfrev -w '%{http_code}' -X POST -H "$H" -d "commit_id=$cid" -d "path=/projekt" "$SF_URL/api/v2.1/repos/$rid/trash/revert-dirents/") $(head -c 80 /tmp/sfrev), Server $(el $t0 $(now)) s, $(repoinfo $rid)" + for i in $(seq 1 1800); do [ "$(find $db -type f 2>/dev/null | wc -l)" -ge 5000 ] && [ "$(find $da -type f 2>/dev/null | wc -l)" -ge 5000 ] && break; sleep 1; done + echo "$(ts) A $(find $da -type f | wc -l), B $(find $db -type f | wc -l) Dateien; vom Restore-Start bis beide Clients vollständig $(el $t0 $(now)) s";; +*) echo "unbekannt $1";; +esac diff --git a/filesync/client/ui-time.mjs b/filesync/client/ui-time.mjs new file mode 100644 index 0000000..9ae4814 --- /dev/null +++ b/filesync/client/ui-time.mjs @@ -0,0 +1,29 @@ +// ui-time.mjs P N : Ladezeit der Dateiliste mit 5000 Dateien im Browser (Chromium headless auf ep19fs-cli). +// Gemessen ab page.goto(Ordner-URL) bis die erste Dateizeile sichtbar ist und bis der Ordnerinhalt +// "fertig" ist (Netzwerk ruhig). Je Lauf neuer Browser-Kontext mit frischer Anmeldung (kalter Cache). +import { chromium } from 'playwright'; +import { readFileSync } from 'fs'; +const E = Object.fromEntries(readFileSync('/root/ep19fs/env', 'utf8').split('\n').filter(l => l.includes('=')).map(l => [l.slice(0, l.indexOf('=')), l.slice(l.indexOf('=') + 1).replace(/^'|'$/g, '')])); +const [P, N] = [process.argv[2], +process.argv[3] || 3]; +const cfg = { + nc: { login: async p => { await p.goto(E.NC_URL + '/login'); await p.fill('#user', E.NC_USER); await p.fill('#password', E.NC_PASS); await p.click('button[type=submit]'); await p.waitForURL(/apps/, { timeout: 60000 }); await p.waitForTimeout(1500); await p.keyboard.press('Escape'); }, + url: () => E.NC_URL + '/apps/files/files?dir=/up-official/small', row: '[data-cy-files-list-row-name]' }, + oc: { login: async p => { await p.goto(E.OC_URL + '/'); await p.waitForSelector('#oc-login-username', { timeout: 60000 }); await p.fill('#oc-login-username', E.OC_USER); await p.fill('#oc-login-password', E.OC_PASS); await p.click('button[type=submit]'); await p.waitForURL(/files/, { timeout: 60000 }); }, + url: () => E.OC_URL + '/files/spaces/personal/admin/up-official/small', row: '[data-item-id]:not(.oc-breadcrumb-list-item)' }, + sf: { login: async p => { await p.goto(E.SF_URL + '/accounts/login/'); await p.fill('input[name=login]', E.SF_USER); await p.fill('input[name=password]', E.SF_PASS); await p.click('button[type=submit], input[type=submit]'); await p.waitForTimeout(3000); }, + url: () => E.SF_URL + E.SF_SMALL_PATH, row: 'tr[draggable="true"]' }, +}[P]; +const b = await chromium.launch(); +const res = []; +for (let i = 1; i <= N; i++) { + const ctx = await b.newContext({ viewport: { width: 1600, height: 900 }, ignoreHTTPSErrors: false }); const p = await ctx.newPage(); + await cfg.login(p); + const t0 = Date.now(); await p.goto(cfg.url(), { waitUntil: 'commit' }); + await p.waitForSelector(cfg.row, { timeout: 120000 }); const tFirst = (Date.now() - t0) / 1000; + await p.waitForLoadState('networkidle', { timeout: 120000 }).catch(() => {}); const tIdle = (Date.now() - t0) / 1000; + const rows = await p.locator(cfg.row).count(); + console.log(` Lauf ${i}: erste Dateizeile nach ${tFirst.toFixed(2)} s, Netzwerk ruhig nach ${tIdle.toFixed(2)} s, Zeilen im DOM: ${rows}`); + res.push(tFirst); if (i === N) await p.screenshot({ path: `/root/ep19fs/ui-${P}.png` }); await ctx.close(); +} +console.log(` Mittel erste Zeile ${(res.reduce((a, b) => a + b, 0) / res.length).toFixed(2)} s (n=${res.length})`); +await b.close(); diff --git a/filesync/compose/nextcloud/aio-docker-run.sh b/filesync/compose/nextcloud/aio-docker-run.sh new file mode 100644 index 0000000..5235544 --- /dev/null +++ b/filesync/compose/nextcloud/aio-docker-run.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +# Nextcloud All-in-One, Befehl aus github.com/nextcloud/all-in-one readme.md (Schritt 3), im Lab mit -d gestartet. +# Danach https://:8080 im Browser öffnen: der ERSTE Besucher sieht die Passphrase. +# Empfehlung aus dem Lab: Port 8080 per Firewall auf die eigene IP beschränken, bis die Einrichtung durch ist. +sudo docker run -d \ + --init \ + --sig-proxy=false \ + --name nextcloud-aio-mastercontainer \ + --restart always \ + --publish 80:80 \ + --publish 8080:8080 \ + --publish 8443:8443 \ + --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \ + --volume /var/run/docker.sock:/var/run/docker.sock:ro \ + ghcr.io/nextcloud-releases/all-in-one:latest diff --git a/filesync/compose/opencloud/docker-compose.yml b/filesync/compose/opencloud/docker-compose.yml new file mode 100644 index 0000000..997bcdf --- /dev/null +++ b/filesync/compose/opencloud/docker-compose.yml @@ -0,0 +1,76 @@ +--- +services: + opencloud: + # renovate: depName=opencloudeu/opencloud-rolling + image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-8.1.0} + # changelog: https://github.com/opencloud-eu/opencloud/tree/main/changelog + # release notes: https://docs.opencloud.eu/opencloud_release_notes.html + user: ${OC_CONTAINER_UID_GID:-1000:1000} + networks: + opencloud-net: + entrypoint: + - /bin/sh + # run opencloud init to initialize a configuration file with random secrets + # it will fail on subsequent runs, because the config file already exists + # therefore we ignore the error and then start the opencloud server + command: ["-c", "opencloud init || true; opencloud server"] + environment: + # enable services that are not started automatically + OC_ADD_RUN_SERVICES: ${START_ADDITIONAL_SERVICES} + OC_URL: https://${OC_DOMAIN:-cloud.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-} + OC_LOG_LEVEL: ${LOG_LEVEL:-info} + OC_LOG_COLOR: "${LOG_PRETTY:-false}" + OC_LOG_PRETTY: "${LOG_PRETTY:-false}" + # do not use SSL between the reverse proxy and OpenCloud + PROXY_TLS: "false" + # INSECURE: needed if OpenCloud / reverse proxy is using self generated certificates + OC_INSECURE: "${INSECURE:-false}" + # basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect) + PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}" + # demo users + IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}" + # admin password + IDM_ADMIN_PASSWORD: "${INITIAL_ADMIN_PASSWORD}" + # email server (if configured) + NOTIFICATIONS_SMTP_HOST: "${SMTP_HOST}" + NOTIFICATIONS_SMTP_PORT: "${SMTP_PORT}" + NOTIFICATIONS_SMTP_SENDER: "${SMTP_SENDER:-OpenCloud Notifications }" + NOTIFICATIONS_SMTP_USERNAME: "${SMTP_USERNAME}" + NOTIFICATIONS_SMTP_PASSWORD: "${SMTP_PASSWORD}" + NOTIFICATIONS_SMTP_INSECURE: "${SMTP_INSECURE:-false}" + NOTIFICATIONS_SMTP_AUTHENTICATION: "${SMTP_AUTHENTICATION}" + NOTIFICATIONS_SMTP_ENCRYPTION: "${SMTP_TRANSPORT_ENCRYPTION:-none}" + FRONTEND_ARCHIVER_MAX_SIZE: "10000000000" + FRONTEND_CHECK_FOR_UPDATES: "${CHECK_FOR_UPDATES:-true}" + PROXY_CSP_CONFIG_FILE_LOCATION: /etc/opencloud/csp.yaml + # enable to allow using the banned passwords list + OC_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: banned-password-list.txt + # control the password enforcement and policy for public shares + OC_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD: "${OC_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD:-true}" + OC_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD: "${OC_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD:-false}" + OC_PASSWORD_POLICY_DISABLED: "${OC_PASSWORD_POLICY_DISABLED:-false}" + OC_PASSWORD_POLICY_MIN_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_CHARACTERS:-8}" + OC_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS:-1}" + OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS:-1}" + OC_PASSWORD_POLICY_MIN_DIGITS: "${OC_PASSWORD_POLICY_MIN_DIGITS:-1}" + OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS:-1}" + # default language for services/WebUI; defaults to English, language code (ISO 639-1, e.g. de, en, fr) + OC_DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE} + volumes: + - ./config/opencloud/csp.yaml:/etc/opencloud/csp.yaml + - ./config/opencloud/apps.yaml:/etc/opencloud/apps.yaml + - ./config/opencloud/banned-password-list.txt:/etc/opencloud/banned-password-list.txt + # configure the .env file to use own paths instead of docker internal volumes + - ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud + - ${OC_DATA_DIR:-opencloud-data}:/var/lib/opencloud + - ${OC_APPS_DIR:-./config/opencloud/apps}:/var/lib/opencloud/web/assets/apps + logging: + driver: ${LOG_DRIVER:-local} + restart: always + +volumes: + opencloud-config: + opencloud-data: + +networks: + opencloud-net: diff --git a/filesync/compose/opencloud/env-aenderungen.txt b/filesync/compose/opencloud/env-aenderungen.txt new file mode 100644 index 0000000..e0e801e --- /dev/null +++ b/filesync/compose/opencloud/env-aenderungen.txt @@ -0,0 +1,8 @@ +# OpenCloud: .env aus opencloud-compose (.env.example, Commit c957c36 vom 2026-10-12), nur diese 5 Zeilen geändert +# INSECURE=true -> auskommentiert +OC_DOMAIN=cloud.example.com +TRAEFIK_ACME_MAIL=you@your-real-domain.tld # NICHT example.com/example.org: Let's Encrypt lehnt das ab (invalidContact) +INITIAL_ADMIN_PASSWORD= # Pflicht, leer = Neustart-Schleife +COMPOSE_FILE=docker-compose.yml:traefik/opencloud.yml +# Achtung: .env.example setzt OC_DOCKER_IMAGE=opencloudeu/opencloud-rolling (Rolling-Release, im Lab 8.1.0), +# die Produktionslinie heißt opencloudeu/opencloud (7.2.x). diff --git a/filesync/compose/opencloud/traefik-opencloud.yml b/filesync/compose/opencloud/traefik-opencloud.yml new file mode 100644 index 0000000..ed28386 --- /dev/null +++ b/filesync/compose/opencloud/traefik-opencloud.yml @@ -0,0 +1,54 @@ +--- +services: + opencloud: + labels: + - "traefik.enable=true" + # define middleware here, to make sure its loaded with the first defined container (opencloud) + # if defined in the traefik container with a disabled dashboard it won't be loaded fast enough + - "traefik.http.middlewares.hsts-header.headers.stsSeconds=31536000" + - "traefik.http.middlewares.hsts-header.headers.stsIncludeSubdomains=true" + - "traefik.http.middlewares.hsts-header.headers.stsPreload=true" + - "traefik.http.middlewares.hsts-header.headers.forceSTSHeader=true" + - "traefik.http.routers.opencloud.entrypoints=https" + - "traefik.http.routers.opencloud.rule=Host(`${OC_DOMAIN:-cloud.opencloud.test}`)" + - "traefik.http.routers.opencloud.service=opencloud" + - "traefik.http.routers.opencloud.middlewares=hsts-header" + - "traefik.http.services.opencloud.loadbalancer.server.port=9200" + - "traefik.http.routers.opencloud.${TRAEFIK_SERVICES_TLS_CONFIG}" + traefik: + image: traefik:v3.7.14 + # release notes: https://github.com/traefik/traefik/releases + user: ${TRAEFIK_CONTAINER_UID_GID:-0:0} + networks: + opencloud-net: + aliases: + - ${OC_DOMAIN:-cloud.opencloud.test} + entrypoint: [ "/bin/sh", "/opt/traefik/bin/docker-entrypoint-override.sh"] + environment: + - "TRAEFIK_SERVICES_TLS_CONFIG=${TRAEFIK_SERVICES_TLS_CONFIG:-tls.certresolver=letsencrypt}" + - "TRAEFIK_ACME_MAIL=${TRAEFIK_ACME_MAIL:-example@example.org}" + - "TRAEFIK_ACME_CASERVER=${TRAEFIK_ACME_CASERVER:-https://acme-v02.api.letsencrypt.org/directory}" + - "TRAEFIK_LOG_LEVEL=${TRAEFIK_LOG_LEVEL:-ERROR}" + - "TRAEFIK_ACCESS_LOG=${TRAEFIK_ACCESS_LOG:-false}" + - "TRAEFIK_PORT_HTTP=${TRAEFIK_PORT_HTTP:-80}" + - "TRAEFIK_PORT_HTTPS=${TRAEFIK_PORT_HTTPS:-443}" + ports: + - "${TRAEFIK_PORT_HTTP:-80}:${TRAEFIK_PORT_HTTP:-80}" + - "${TRAEFIK_PORT_HTTPS:-443}:${TRAEFIK_PORT_HTTPS:-443}" + volumes: + - "${DOCKER_SOCKET_PATH:-/var/run/docker.sock}:/var/run/docker.sock:ro" + - "./config/traefik/docker-entrypoint-override.sh:/opt/traefik/bin/docker-entrypoint-override.sh" + - "${TRAEFIK_CERTS_DIR:-./certs}:/certs" + - "./config/traefik/dynamic:/etc/traefik/dynamic" + labels: + - "traefik.enable=${TRAEFIK_DASHBOARD:-false}" + # defaults to admin:admin + - "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$$apr1$$4vqie50r$$YQAmQdtmz5n9rEALhxJ4l.}" + - "traefik.http.routers.traefik.entrypoints=https" + - "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.opencloud.test}`)" + - "traefik.http.routers.traefik.middlewares=traefik-auth" + - "traefik.http.routers.traefik.${TRAEFIK_SERVICES_TLS_CONFIG}" + - "traefik.http.routers.traefik.service=api@internal" + logging: + driver: ${LOG_DRIVER:-local} + restart: always diff --git a/filesync/compose/seafile/caddy.yml b/filesync/compose/seafile/caddy.yml new file mode 100644 index 0000000..f6cb88a --- /dev/null +++ b/filesync/compose/seafile/caddy.yml @@ -0,0 +1,26 @@ +services: + + caddy: + image: ${SEAFILE_CADDY_IMAGE:-lucaslorentz/caddy-docker-proxy:2.12-alpine} + restart: unless-stopped + container_name: seafile-caddy + ports: + - 80:80 + - 443:443 + environment: + - CADDY_INGRESS_NETWORKS=seafile-net + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - ${SEAFILE_CADDY_VOLUME:-/opt/seafile-caddy}:/data/caddy + networks: + - seafile-net + healthcheck: + test: ["CMD-SHELL", "curl --fail http://localhost:2019/metrics || exit 1"] + start_period: 20s + interval: 20s + timeout: 5s + retries: 3 + +networks: + seafile-net: + name: seafile-net diff --git a/filesync/compose/seafile/env.official b/filesync/compose/seafile/env.official new file mode 100644 index 0000000..7fb314d --- /dev/null +++ b/filesync/compose/seafile/env.official @@ -0,0 +1,87 @@ +################################# +# Docker compose configurations # +################################# +COMPOSE_FILE='seafile-server.yml,caddy.yml,seadoc.yml' +COMPOSE_PATH_SEPARATOR=',' + +## Images +SEAFILE_IMAGE=seafileltd/seafile-mc:13.0-latest +SEAFILE_DB_IMAGE=mariadb:10.11 +SEAFILE_REDIS_IMAGE=redis +SEAFILE_CADDY_IMAGE=lucaslorentz/caddy-docker-proxy:2.12-alpine +SEADOC_IMAGE=seafileltd/sdoc-server:2.0-latest +NOTIFICATION_SERVER_IMAGE=seafileltd/notification-server:13.0-latest +MD_IMAGE=seafileltd/seafile-md-server:13.0-latest + +## Persistent Storage +BASIC_STORAGE_PATH=/opt +SEAFILE_VOLUME=$BASIC_STORAGE_PATH/seafile-data +SEAFILE_MYSQL_VOLUME=$BASIC_STORAGE_PATH/seafile-mysql/db +SEAFILE_CADDY_VOLUME=$BASIC_STORAGE_PATH/seafile-caddy +SEADOC_VOLUME=$BASIC_STORAGE_PATH/seadoc-data + +################################# +# Startup parameters # +################################# +SEAFILE_SERVER_HOSTNAME=seafile.example.com +SEAFILE_SERVER_PROTOCOL=http +TIME_ZONE=Etc/UTC +JWT_PRIVATE_KEY= + +##################################### +# Third-party service configuration # +##################################### + +## Database +SEAFILE_MYSQL_DB_HOST=db +SEAFILE_MYSQL_DB_USER=seafile +SEAFILE_MYSQL_DB_PASSWORD=PASSWORD +SEAFILE_MYSQL_DB_CCNET_DB_NAME=ccnet_db +SEAFILE_MYSQL_DB_SEAFILE_DB_NAME=seafile_db +SEAFILE_MYSQL_DB_SEAHUB_DB_NAME=seahub_db + +## Cache +CACHE_PROVIDER=redis # or memcached + +### Redis +REDIS_HOST=redis +REDIS_PORT=6379 +REDIS_PASSWORD= + +### Memcached +MEMCACHED_HOST=memcached +MEMCACHED_PORT=11211 + +###################################### +# Initial variables # +# (Only valid in first-time startup) # +###################################### + +## Database root password, Used to create Seafile users +INIT_SEAFILE_MYSQL_ROOT_PASSWORD=ROOT_PASSWORD + +## Seafile admin user +INIT_SEAFILE_ADMIN_EMAIL=me@example.com +INIT_SEAFILE_ADMIN_PASSWORD=asecret + +############################################ +# Additional configurations for extensions # +############################################ + +## SeaDoc service +ENABLE_SEADOC=true + +## Notification +ENABLE_NOTIFICATION_SERVER=false +NOTIFICATION_SERVER_URL= + +## Seafile AI +ENABLE_SEAFILE_AI=false +ENABLE_FACE_RECOGNITION=false +SEAFILE_AI_LLM_TYPE=openai +SEAFILE_AI_LLM_URL= +SEAFILE_AI_LLM_KEY= # your llm key +SEAFILE_AI_LLM_MODEL=gpt-4o-mini + +## Metadata server +MD_FILE_COUNT_LIMIT=100000 diff --git a/filesync/compose/seafile/notification-server.yml b/filesync/compose/seafile/notification-server.yml new file mode 100644 index 0000000..2336ad0 --- /dev/null +++ b/filesync/compose/seafile/notification-server.yml @@ -0,0 +1,36 @@ +services: + + notification-server: + image: ${NOTIFICATION_SERVER_IMAGE:-seafileltd/notification-server:13.0-latest} + container_name: notification-server + restart: always + volumes: + - ${SEAFILE_VOLUME:-/opt/seafile-data}/seafile/logs:/shared/seafile/logs + # ports: + # - "8083:8083" + environment: + - SEAFILE_MYSQL_DB_HOST=${SEAFILE_MYSQL_DB_HOST:-db} + - SEAFILE_MYSQL_DB_PORT=${SEAFILE_MYSQL_DB_PORT:-3306} + - SEAFILE_MYSQL_DB_USER=${SEAFILE_MYSQL_DB_USER:-seafile} + - SEAFILE_MYSQL_DB_PASSWORD=${SEAFILE_MYSQL_DB_PASSWORD:?Variable is not set or empty} + - SEAFILE_MYSQL_DB_CCNET_DB_NAME=${SEAFILE_MYSQL_DB_CCNET_DB_NAME:-ccnet_db} + - SEAFILE_MYSQL_DB_SEAFILE_DB_NAME=${SEAFILE_MYSQL_DB_SEAFILE_DB_NAME:-seafile_db} + - JWT_PRIVATE_KEY=${JWT_PRIVATE_KEY:?Variable is not set or empty} + - SEAFILE_LOG_TO_STDOUT=${SEAFILE_LOG_TO_STDOUT:-false} + - NOTIFICATION_SERVER_LOG_LEVEL=${NOTIFICATION_SERVER_LOG_LEVEL:-info} + labels: + caddy: ${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty} + caddy.1_handle_path: "/notification*" + caddy.1_handle_path.0_rewrite: "* {uri}" + caddy.1_handle_path.1_reverse_proxy: "{{upstreams 8083}}" + depends_on: + db: + condition: service_healthy + seafile: + condition: service_healthy + networks: + - seafile-net + +networks: + seafile-net: + name: seafile-net diff --git a/filesync/compose/seafile/seadoc.yml b/filesync/compose/seafile/seadoc.yml new file mode 100644 index 0000000..25bcd4b --- /dev/null +++ b/filesync/compose/seafile/seadoc.yml @@ -0,0 +1,37 @@ +services: + + seadoc: + image: ${SEADOC_IMAGE:-seafileltd/sdoc-server:2.0-latest} + container_name: seadoc + restart: unless-stopped + volumes: + - ${SEADOC_VOLUME:-/opt/seadoc-data/}:/shared + # ports: + # - "80:80" + environment: + - DB_HOST=${SEAFILE_MYSQL_DB_HOST:-db} + - DB_PORT=${SEAFILE_MYSQL_DB_PORT:-3306} + - DB_USER=${SEAFILE_MYSQL_DB_USER:-seafile} + - DB_PASSWORD=${SEAFILE_MYSQL_DB_PASSWORD:?Variable is not set or empty} + - DB_NAME=${SEADOC_MYSQL_DB_NAME:-${SEAFILE_MYSQL_DB_SEAHUB_DB_NAME:-seahub_db}} + - TIME_ZONE=${TIME_ZONE:-Etc/UTC} + - JWT_PRIVATE_KEY=${JWT_PRIVATE_KEY:?Variable is not set or empty} + - NON_ROOT=${NON_ROOT:-false} + - SEAHUB_SERVICE_URL=${SEAHUB_SERVICE_URL:-http://seafile} + labels: + caddy: ${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty} + caddy.1_handle_path: "/socket.io/*" + caddy.1_handle_path.0_rewrite: "* /socket.io{uri}" + caddy.1_handle_path.1_reverse_proxy: "{{upstreams 80}}" + caddy.2_handle_path: "/sdoc-server/*" + caddy.2_handle_path.0_rewrite: "* {uri}" + caddy.2_handle_path.1_reverse_proxy: "{{upstreams 80}}" + depends_on: + db: + condition: service_healthy + networks: + - seafile-net + +networks: + seafile-net: + name: seafile-net diff --git a/filesync/compose/seafile/seafile-server.yml b/filesync/compose/seafile/seafile-server.yml new file mode 100644 index 0000000..56ce01c --- /dev/null +++ b/filesync/compose/seafile/seafile-server.yml @@ -0,0 +1,103 @@ +services: + db: + image: ${SEAFILE_DB_IMAGE:-mariadb:10.11} + container_name: seafile-mysql + restart: unless-stopped + environment: + - MYSQL_ROOT_PASSWORD=${INIT_SEAFILE_MYSQL_ROOT_PASSWORD:-} + - MYSQL_LOG_CONSOLE=true + - MARIADB_AUTO_UPGRADE=1 + volumes: + - "${SEAFILE_MYSQL_VOLUME:-/opt/seafile-mysql/db}:/var/lib/mysql" + networks: + - seafile-net + healthcheck: + test: + [ + "CMD", + "/usr/local/bin/healthcheck.sh", + "--connect", + "--mariadbupgrade", + "--innodb_initialized", + ] + interval: 20s + start_period: 30s + timeout: 5s + retries: 10 + + redis: + image: ${SEAFILE_REDIS_IMAGE:-redis} + container_name: seafile-redis + restart: unless-stopped + command: + - /bin/sh + - -c + - exec redis-server --requirepass "$$REDIS_PASSWORD" --save "" --appendonly no + environment: + - REDIS_PASSWORD=${REDIS_PASSWORD:-} + networks: + - seafile-net + + seafile: + image: ${SEAFILE_IMAGE:-seafileltd/seafile-mc:13.0-latest} + container_name: seafile + restart: unless-stopped + # ports: + # - "80:80" + volumes: + - ${SEAFILE_VOLUME:-/opt/seafile-data}:/shared + environment: + - SEAFILE_MYSQL_DB_HOST=${SEAFILE_MYSQL_DB_HOST:-db} + - SEAFILE_MYSQL_DB_PORT=${SEAFILE_MYSQL_DB_PORT:-3306} + - SEAFILE_MYSQL_DB_USER=${SEAFILE_MYSQL_DB_USER:-seafile} + - SEAFILE_MYSQL_DB_PASSWORD=${SEAFILE_MYSQL_DB_PASSWORD:?Variable is not set or empty} + - INIT_SEAFILE_MYSQL_ROOT_PASSWORD=${INIT_SEAFILE_MYSQL_ROOT_PASSWORD:-} + - SEAFILE_MYSQL_DB_CCNET_DB_NAME=${SEAFILE_MYSQL_DB_CCNET_DB_NAME:-ccnet_db} + - SEAFILE_MYSQL_DB_SEAFILE_DB_NAME=${SEAFILE_MYSQL_DB_SEAFILE_DB_NAME:-seafile_db} + - SEAFILE_MYSQL_DB_SEAHUB_DB_NAME=${SEAFILE_MYSQL_DB_SEAHUB_DB_NAME:-seahub_db} + - TIME_ZONE=${TIME_ZONE:-Etc/UTC} + - INIT_SEAFILE_ADMIN_EMAIL=${INIT_SEAFILE_ADMIN_EMAIL:-me@example.com} + - INIT_SEAFILE_ADMIN_PASSWORD=${INIT_SEAFILE_ADMIN_PASSWORD:-asecret} + - SEAFILE_SERVER_HOSTNAME=${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty} + - SEAFILE_SERVER_PROTOCOL=${SEAFILE_SERVER_PROTOCOL:-http} + - SITE_ROOT=${SITE_ROOT:-/} + - NON_ROOT=${NON_ROOT:-false} + - JWT_PRIVATE_KEY=${JWT_PRIVATE_KEY:?Variable is not set or empty} + - SEAFILE_LOG_TO_STDOUT=${SEAFILE_LOG_TO_STDOUT:-false} + - ENABLE_GO_FILESERVER=${ENABLE_GO_FILESERVER:-true} + - ENABLE_SEADOC=${ENABLE_SEADOC:-true} + - SEADOC_SERVER_URL=${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}/sdoc-server + - CACHE_PROVIDER=${CACHE_PROVIDER:-redis} + - REDIS_HOST=${REDIS_HOST:-redis} + - REDIS_PORT=${REDIS_PORT:-6379} + - REDIS_PASSWORD=${REDIS_PASSWORD:-} + - MEMCACHED_HOST=${MEMCACHED_HOST:-memcached} + - MEMCACHED_PORT=${MEMCACHED_PORT:-11211} + - ENABLE_NOTIFICATION_SERVER=${ENABLE_NOTIFICATION_SERVER:-false} + - INNER_NOTIFICATION_SERVER_URL=${INNER_NOTIFICATION_SERVER_URL:-http://notification-server:8083} + - NOTIFICATION_SERVER_URL=${NOTIFICATION_SERVER_URL:-${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}/notification} + - ENABLE_SEAFILE_AI=${ENABLE_SEAFILE_AI:-false} + - ENABLE_FACE_RECOGNITION=${ENABLE_FACE_RECOGNITION:-false} + - SEAFILE_AI_SERVER_URL=${SEAFILE_AI_SERVER_URL:-http://seafile-ai:8888} + - SEAFILE_AI_SECRET_KEY=${JWT_PRIVATE_KEY:?Variable is not set or empty} + - MD_FILE_COUNT_LIMIT=${MD_FILE_COUNT_LIMIT:-100000} + labels: + caddy: ${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty} + caddy.reverse_proxy: "{{upstreams 80}}" + healthcheck: + test: ["CMD-SHELL", "curl -f http://localhost:80 || exit 1"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 10s + depends_on: + db: + condition: service_healthy + redis: + condition: service_started + networks: + - seafile-net + +networks: + seafile-net: + name: seafile-net diff --git a/filesync/gen-testset.py b/filesync/gen-testset.py new file mode 100644 index 0000000..6d8d0bd --- /dev/null +++ b/filesync/gen-testset.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python3 +"""Einheitlicher Testsatz Folge 19: 5000 kleine Dateien (zufaellige Bytes, 1 KiB bis 79 KiB, +Seed fest) in einem flachen Ordner plus eine 2-GiB-Datei. Zufallsbytes, damit keine +Kompression oder Deduplizierung einem Produkt hilft. +Aufruf: gen-testset.py ZIELORDNER""" +import os, random, sys +root = sys.argv[1] +small = os.path.join(root, 'small'); big = os.path.join(root, 'big') +os.makedirs(small, exist_ok=True); os.makedirs(big, exist_ok=True) +rnd = random.Random(19) +total = 0 +for i in range(1, 5001): + n = rnd.randint(1024, 80895) + with open(os.path.join(small, f'doc-{i:05d}.bin'), 'wb') as f: + f.write(os.urandom(n)) + total += n +with open(os.path.join(big, 'big.bin'), 'wb') as f: + chunk = 64 * 1024 * 1024 + for _ in range(32): # 32 x 64 MiB = 2 GiB + f.write(os.urandom(chunk)) +print(f'small: 5000 files, {total} bytes ({total/2**20:.1f} MiB); big: 2147483648 bytes (2.00 GiB)') diff --git a/filesync/lib.sh b/filesync/lib.sh new file mode 100644 index 0000000..43af313 --- /dev/null +++ b/filesync/lib.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +# ep19fs Lab-Helfer (Server und Clients). Keine Geheimnisse im Output. +now() { date +%s.%N; } +ts() { date -u +%H:%M:%S; } +el() { python3 -c "print(f'{float(\"$2\")-float(\"$1\"):.2f}')"; } +# hostsample SECONDS OUTFILE: Host-CPU% und RAM (MemTotal-MemAvailable) im 1-s-Takt +hostsample() { python3 - "$1" "$2" <<'PY' +import sys,time +dur=float(sys.argv[1]); out=open(sys.argv[2],'w') +def cpu(): + v=list(map(int,open('/proc/stat').readline().split()[1:])); idle=v[3]+v[4]; return sum(v),idle +def mem(): + d={l.split(':')[0]:int(l.split()[1]) for l in open('/proc/meminfo')} + return (d['MemTotal']-d['MemAvailable'])/1024 +t0=time.time(); a=cpu() +while time.time()-t0 AIO-Oberfläche auf Port 8080 bereit 5 s nach T0 (inkl. Pull 340 MB Image, 92,6 MB Inhalt). +# Die Warteschleife im Skript (curl ohne Browser-Header) bekam dauerhaft HTTP 403 "Forbidden": +# AIO 14.x weist jede Anfrage ohne Sec-Fetch-Site: none/same-origin ab (php/public/index.php, "Check Sec-Fetch headers"). +# Mit Browser-Header: GET / -> 302 /setup -> 200 (siehe 11). diff --git a/filesync/measurements/11-nextcloud-erstzugang.txt b/filesync/measurements/11-nextcloud-erstzugang.txt new file mode 100644 index 0000000..c4da1c5 --- /dev/null +++ b/filesync/measurements/11-nextcloud-erstzugang.txt @@ -0,0 +1,32 @@ +# 11 Nextcloud AIO: Wer zuerst kommt, sieht die Passphrase (2026-10-24, UTC) +# Server frisch, mastercontainer seit 12:22:33 bereit, noch niemand hat Port 8080 geöffnet. +# Erster Aufruf ohne Anmeldung, wie ein Browser (Sec-Fetch-Site: none), von außen (Lab-Mac): + +$ curl -sk -H "Sec-Fetch-Site: none" https://203.0.113.10:8080/ -> 302 https://203.0.113.10:8080/setup +$ curl -sk -H "Sec-Fetch-Site: none" https://203.0.113.10:8080/setup -> 200 + Seitentext (Passphrase geschwärzt): + All-in-One setup + Please note down the passphrase to access the AIO interface and don't lose it! + Passphrase + [8 Wörter, REDACTED] + Open Nextcloud AIO login + +# Zweiter und dritter Aufruf derselben URL: +$ curl -sk -H "Sec-Fetch-Site: none" https://203.0.113.10:8080/setup -> 200, Text "note down the passphrase" 0-mal enthalten +$ curl -sk -H "Sec-Fetch-Site: none" https://203.0.113.10:8080/setup -> 200, 0-mal +$ curl -sk -H "Sec-Fetch-Site: none" https://203.0.113.10:8080/ -> 302 https://203.0.113.10:8080/login + +# Befund: Die Passphrase (8 Wörter, 57 Zeichen) wird genau einmal angezeigt, dem ersten anonymen +# Besucher von Port 8080. Kein Token aus dem Log, keine Anmeldung nötig. Wer die Passphrase hat, +# meldet sich an der AIO-Oberfläche an, legt die Domain fest und startet die Container; das +# Nextcloud-Admin-Passwort zeigt AIO danach in derselben Oberfläche an. +# Der README-Befehl veröffentlicht 8080 auf allen Schnittstellen (--publish 8080:8080). +# Im Lab war 8080 per Hetzner-Firewall auf die Lab-IP beschränkt; erster Besucher war das Lab. +# Ohne Browser-Header antwortet AIO 14.4.1 auf alles mit 403 (Sec-Fetch-Prüfung), ein naiver +# Scanner mit curl sieht die Seite also nicht, jeder Browser schon. +# Nach dem Start der Container ist die direkte Passphrase-Anmeldung gesperrt (README Zeile 848ff), +# vorher (Einrichtungsfenster) nicht. + +# AIO-Konfiguration im Ausgangszustand (configuration.json, ohne Geheimnisse): +officeSuite=eurooffice isTalkEnabled=True isWhiteboardEnabled=True isImaginaryEnabled=True +isClamavEnabled=False isFulltextsearchEnabled=False isTalkRecordingEnabled=False diff --git a/filesync/measurements/12-nextcloud-einrichtung.txt b/filesync/measurements/12-nextcloud-einrichtung.txt new file mode 100644 index 0000000..6a83526 --- /dev/null +++ b/filesync/measurements/12-nextcloud-einrichtung.txt @@ -0,0 +1,26 @@ +# 12 Nextcloud AIO: Einrichtung bis zur ersten Anmeldung (2026-10-24, UTC) +# Quellen: docker inspect (Created/StartedAt), docker logs -t, Playwright-Protokoll der Einrichtung (Take N0) + +12:22:28 T0 docker run mastercontainer (Image noch nicht lokal) +12:22:33 AIO-Oberfläche bereit (php-fpm ready) +5 s +-- Bedienung in der AIO-Oberfläche: Passphrase, Domain, Startknopf (im Lab unterbrochen durch +-- Fehlersuche an der Domain-Eingabe; diese Wartezeit ist kein Produktwert und wird nicht gezählt) +12:34:44 Domainprüfung (Container nextcloud-aio-domaincheck) +12:40:04 Klick "Download and start containers" S +12:41:06 eurooffice angelegt, 12:41:10 talk, 12:41:12 notify-push, 12:41:34 whiteboard, + 12:41:40 database, 12:41:44 redis, 12:41:48 imaginary +12:42:11 nextcloud angelegt, "Initializing Nextcloud 34.0.5.1" +12:42:36 "Nextcloud was successfully installed" S +2 min 31 s +12:43:36 apache/caddy gestartet (Zertifikat Let's Encrypt für die Server-Domain) S +3 min 32 s +12:43:50 nextcloud: Verbindung zu apache steht S +3 min 46 s +12:50:58 Kontrolle: OCS-Anmeldung admin mit dem von AIO erzeugten Passwort -> HTTP 200 0.414556 s, + Zertifikat gültig (ssl_verify_result=0), status.php version 34.0.5.1 + +# Maschinenzeit: 5 s bis zur AIO-Oberfläche + 3 min 46 s vom Startknopf bis Nextcloud antwortet +# = rund 3 min 51 s plus die Klicks (Passphrase, Domain, Start; im Take N0 rund 1 min). +# Container nach der Einrichtung: 10 laufend (mastercontainer, apache, nextcloud, database, +# redis, notify-push, imaginary, talk, whiteboard, eurooffice) + 1 beendet (domaincheck). +# Konfiguration: 1 Befehl (12 Zeilen docker run), 0 Konfigurationsdateien, 3 Eingaben im Browser. +# Admin: Benutzer "admin", Passwort zufällig von AIO erzeugt (48 Zeichen), Anzeige in der AIO-Oberfläche. +# Version: AIO v14.4.1 (mastercontainer :latest, sha256:85ba3d4ff8d8), Nextcloud 34.0.5.1. +# Hinweis: Nextcloud 35.0.2 ist seit 15.10. erschienen, AIO liefert noch 34. diff --git a/filesync/measurements/13-nextcloud-leerlauf.txt b/filesync/measurements/13-nextcloud-leerlauf.txt new file mode 100644 index 0000000..972d2d2 --- /dev/null +++ b/filesync/measurements/13-nextcloud-leerlauf.txt @@ -0,0 +1,654 @@ +# 2026-10-24T12:51:11Z Leerlauf, kein Client verbunden, kein Browser offen +## free -m vorher + total used free shared buff/cache available +Mem: 3814 1759 147 167 2370 2055 +# docker stats --no-stream every 5 s for 300 s, containers matching /^nextcloud-aio/, start 12:51:11 UTC +12:51:12 nextcloud-aio-apache 0.01% 88.22MiB / 3.725GiB +12:51:12 nextcloud-aio-nextcloud 1.89% 439.2MiB / 3.725GiB +12:51:12 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:51:12 nextcloud-aio-redis 0.36% 8.035MiB / 3.725GiB +12:51:12 nextcloud-aio-database 0.30% 52.73MiB / 3.725GiB +12:51:12 nextcloud-aio-whiteboard 0.00% 69.7MiB / 3.725GiB +12:51:12 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:51:12 nextcloud-aio-talk 9.37% 99.68MiB / 3.725GiB +12:51:12 nextcloud-aio-eurooffice 0.38% 547.2MiB / 3.725GiB +12:51:12 nextcloud-aio-mastercontainer 0.60% 58.65MiB / 3.725GiB +12:51:17 nextcloud-aio-apache 0.01% 88.23MiB / 3.725GiB +12:51:17 nextcloud-aio-nextcloud 0.03% 439.2MiB / 3.725GiB +12:51:17 nextcloud-aio-imaginary 0.25% 165.9MiB / 3.725GiB +12:51:17 nextcloud-aio-redis 0.34% 8.035MiB / 3.725GiB +12:51:17 nextcloud-aio-database 0.03% 52.73MiB / 3.725GiB +12:51:17 nextcloud-aio-whiteboard 0.00% 69.88MiB / 3.725GiB +12:51:17 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:51:17 nextcloud-aio-talk 0.46% 99.69MiB / 3.725GiB +12:51:17 nextcloud-aio-eurooffice 0.74% 547.2MiB / 3.725GiB +12:51:17 nextcloud-aio-mastercontainer 0.02% 58.66MiB / 3.725GiB +12:51:22 nextcloud-aio-apache 0.26% 88.25MiB / 3.725GiB +12:51:22 nextcloud-aio-nextcloud 0.03% 439.2MiB / 3.725GiB +12:51:22 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:51:22 nextcloud-aio-redis 0.47% 8.035MiB / 3.725GiB +12:51:22 nextcloud-aio-database 0.01% 52.73MiB / 3.725GiB +12:51:22 nextcloud-aio-whiteboard 0.01% 69.89MiB / 3.725GiB +12:51:22 nextcloud-aio-notify-push 0.04% 2.664MiB / 3.725GiB +12:51:22 nextcloud-aio-talk 0.46% 99.7MiB / 3.725GiB +12:51:22 nextcloud-aio-eurooffice 3.90% 547.2MiB / 3.725GiB +12:51:22 nextcloud-aio-mastercontainer 0.59% 58.65MiB / 3.725GiB +12:51:27 nextcloud-aio-apache 0.01% 88.36MiB / 3.725GiB +12:51:27 nextcloud-aio-nextcloud 0.03% 442.5MiB / 3.725GiB +12:51:27 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:51:27 nextcloud-aio-redis 0.37% 8.043MiB / 3.725GiB +12:51:27 nextcloud-aio-database 0.01% 52.73MiB / 3.725GiB +12:51:27 nextcloud-aio-whiteboard 0.00% 69.23MiB / 3.725GiB +12:51:27 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:51:27 nextcloud-aio-talk 0.49% 99.7MiB / 3.725GiB +12:51:27 nextcloud-aio-eurooffice 0.84% 547.2MiB / 3.725GiB +12:51:27 nextcloud-aio-mastercontainer 0.02% 58.66MiB / 3.725GiB +12:51:32 nextcloud-aio-apache 0.01% 88.36MiB / 3.725GiB +12:51:32 nextcloud-aio-nextcloud 0.02% 442.5MiB / 3.725GiB +12:51:32 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:51:32 nextcloud-aio-redis 0.38% 8.043MiB / 3.725GiB +12:51:32 nextcloud-aio-database 0.00% 52.73MiB / 3.725GiB +12:51:32 nextcloud-aio-whiteboard 0.00% 69.38MiB / 3.725GiB +12:51:32 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:51:32 nextcloud-aio-talk 0.42% 99.71MiB / 3.725GiB +12:51:32 nextcloud-aio-eurooffice 0.66% 547.2MiB / 3.725GiB +12:51:32 nextcloud-aio-mastercontainer 0.55% 58.64MiB / 3.725GiB +12:51:37 nextcloud-aio-apache 0.01% 88.36MiB / 3.725GiB +12:51:37 nextcloud-aio-nextcloud 0.03% 442.5MiB / 3.725GiB +12:51:37 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:51:37 nextcloud-aio-redis 0.42% 8.043MiB / 3.725GiB +12:51:37 nextcloud-aio-database 0.00% 52.73MiB / 3.725GiB +12:51:37 nextcloud-aio-whiteboard 0.00% 69.39MiB / 3.725GiB +12:51:37 nextcloud-aio-notify-push 0.03% 2.664MiB / 3.725GiB +12:51:37 nextcloud-aio-talk 0.47% 99.74MiB / 3.725GiB +12:51:37 nextcloud-aio-eurooffice 0.78% 547.2MiB / 3.725GiB +12:51:37 nextcloud-aio-mastercontainer 0.58% 58.65MiB / 3.725GiB +12:51:42 nextcloud-aio-apache 0.01% 88.36MiB / 3.725GiB +12:51:42 nextcloud-aio-nextcloud 0.02% 442.5MiB / 3.725GiB +12:51:42 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:51:42 nextcloud-aio-redis 0.38% 8.043MiB / 3.725GiB +12:51:42 nextcloud-aio-database 0.13% 52.73MiB / 3.725GiB +12:51:42 nextcloud-aio-whiteboard 0.00% 69.54MiB / 3.725GiB +12:51:42 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:51:42 nextcloud-aio-talk 11.65% 99.79MiB / 3.725GiB +12:51:42 nextcloud-aio-eurooffice 0.43% 547.2MiB / 3.725GiB +12:51:42 nextcloud-aio-mastercontainer 0.62% 58.66MiB / 3.725GiB +12:51:47 nextcloud-aio-apache 0.02% 88.37MiB / 3.725GiB +12:51:47 nextcloud-aio-nextcloud 0.02% 442.5MiB / 3.725GiB +12:51:47 nextcloud-aio-imaginary 0.01% 165.8MiB / 3.725GiB +12:51:47 nextcloud-aio-redis 0.43% 8.043MiB / 3.725GiB +12:51:47 nextcloud-aio-database 0.14% 52.74MiB / 3.725GiB +12:51:47 nextcloud-aio-whiteboard 0.01% 69.68MiB / 3.725GiB +12:51:47 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:51:47 nextcloud-aio-talk 0.50% 98.02MiB / 3.725GiB +12:51:47 nextcloud-aio-eurooffice 0.69% 547.2MiB / 3.725GiB +12:51:47 nextcloud-aio-mastercontainer 0.65% 58.66MiB / 3.725GiB +12:51:52 nextcloud-aio-apache 0.01% 88.36MiB / 3.725GiB +12:51:52 nextcloud-aio-nextcloud 0.02% 442.5MiB / 3.725GiB +12:51:52 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:51:52 nextcloud-aio-redis 0.40% 8.043MiB / 3.725GiB +12:51:52 nextcloud-aio-database 0.03% 52.74MiB / 3.725GiB +12:51:52 nextcloud-aio-whiteboard 0.01% 69.69MiB / 3.725GiB +12:51:52 nextcloud-aio-notify-push 0.03% 2.664MiB / 3.725GiB +12:51:52 nextcloud-aio-talk 0.45% 98.02MiB / 3.725GiB +12:51:52 nextcloud-aio-eurooffice 5.35% 547.2MiB / 3.725GiB +12:51:52 nextcloud-aio-mastercontainer 0.02% 58.65MiB / 3.725GiB +12:51:57 nextcloud-aio-apache 0.01% 88.36MiB / 3.725GiB +12:51:57 nextcloud-aio-nextcloud 0.03% 442.5MiB / 3.725GiB +12:51:57 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:51:57 nextcloud-aio-redis 0.39% 8.039MiB / 3.725GiB +12:51:57 nextcloud-aio-database 0.02% 52.74MiB / 3.725GiB +12:51:57 nextcloud-aio-whiteboard 0.00% 69.87MiB / 3.725GiB +12:51:57 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:51:57 nextcloud-aio-talk 0.47% 98.02MiB / 3.725GiB +12:51:57 nextcloud-aio-eurooffice 0.41% 547.2MiB / 3.725GiB +12:51:57 nextcloud-aio-mastercontainer 0.60% 58.66MiB / 3.725GiB +12:52:02 nextcloud-aio-apache 0.01% 88.36MiB / 3.725GiB +12:52:02 nextcloud-aio-nextcloud 0.02% 442.5MiB / 3.725GiB +12:52:02 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:52:02 nextcloud-aio-redis 0.41% 8.039MiB / 3.725GiB +12:52:02 nextcloud-aio-database 0.01% 52.73MiB / 3.725GiB +12:52:02 nextcloud-aio-whiteboard 0.00% 69.18MiB / 3.725GiB +12:52:02 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:52:02 nextcloud-aio-talk 0.49% 98.03MiB / 3.725GiB +12:52:02 nextcloud-aio-eurooffice 1.33% 547.5MiB / 3.725GiB +12:52:02 nextcloud-aio-mastercontainer 0.80% 58.66MiB / 3.725GiB +12:52:07 nextcloud-aio-apache 0.01% 88.36MiB / 3.725GiB +12:52:07 nextcloud-aio-nextcloud 0.02% 442.5MiB / 3.725GiB +12:52:07 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:52:07 nextcloud-aio-redis 0.37% 8.039MiB / 3.725GiB +12:52:07 nextcloud-aio-database 0.00% 52.73MiB / 3.725GiB +12:52:07 nextcloud-aio-whiteboard 0.12% 69.2MiB / 3.725GiB +12:52:07 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:52:07 nextcloud-aio-talk 0.53% 98.03MiB / 3.725GiB +12:52:07 nextcloud-aio-eurooffice 0.44% 547.5MiB / 3.725GiB +12:52:07 nextcloud-aio-mastercontainer 0.62% 58.67MiB / 3.725GiB +12:52:12 nextcloud-aio-apache 0.01% 88.36MiB / 3.725GiB +12:52:12 nextcloud-aio-nextcloud 0.02% 442.5MiB / 3.725GiB +12:52:12 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:52:12 nextcloud-aio-redis 0.36% 8.039MiB / 3.725GiB +12:52:12 nextcloud-aio-database 2.20% 52.73MiB / 3.725GiB +12:52:12 nextcloud-aio-whiteboard 0.00% 69.34MiB / 3.725GiB +12:52:12 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:52:12 nextcloud-aio-talk 11.42% 98.61MiB / 3.725GiB +12:52:12 nextcloud-aio-eurooffice 0.34% 547.5MiB / 3.725GiB +12:52:12 nextcloud-aio-mastercontainer 0.01% 58.66MiB / 3.725GiB +12:52:17 nextcloud-aio-apache 0.01% 88.37MiB / 3.725GiB +12:52:17 nextcloud-aio-nextcloud 0.04% 442.5MiB / 3.725GiB +12:52:17 nextcloud-aio-imaginary 0.01% 165.8MiB / 3.725GiB +12:52:17 nextcloud-aio-redis 0.43% 8.039MiB / 3.725GiB +12:52:17 nextcloud-aio-database 0.03% 52.73MiB / 3.725GiB +12:52:17 nextcloud-aio-whiteboard 0.01% 69.49MiB / 3.725GiB +12:52:17 nextcloud-aio-notify-push 5.37% 2.664MiB / 3.725GiB +12:52:17 nextcloud-aio-talk 0.49% 98.62MiB / 3.725GiB +12:52:17 nextcloud-aio-eurooffice 0.69% 547.5MiB / 3.725GiB +12:52:17 nextcloud-aio-mastercontainer 0.63% 58.66MiB / 3.725GiB +12:52:22 nextcloud-aio-apache 0.01% 88.37MiB / 3.725GiB +12:52:22 nextcloud-aio-nextcloud 0.02% 442.5MiB / 3.725GiB +12:52:22 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:52:22 nextcloud-aio-redis 0.43% 8.039MiB / 3.725GiB +12:52:22 nextcloud-aio-database 0.01% 52.73MiB / 3.725GiB +12:52:22 nextcloud-aio-whiteboard 0.01% 69.5MiB / 3.725GiB +12:52:22 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:52:22 nextcloud-aio-talk 0.48% 98.63MiB / 3.725GiB +12:52:22 nextcloud-aio-eurooffice 4.98% 547.5MiB / 3.725GiB +12:52:22 nextcloud-aio-mastercontainer 0.59% 58.66MiB / 3.725GiB +12:52:27 nextcloud-aio-apache 0.01% 88.37MiB / 3.725GiB +12:52:27 nextcloud-aio-nextcloud 0.02% 442.4MiB / 3.725GiB +12:52:27 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:52:27 nextcloud-aio-redis 0.40% 8.039MiB / 3.725GiB +12:52:27 nextcloud-aio-database 0.00% 52.73MiB / 3.725GiB +12:52:27 nextcloud-aio-whiteboard 0.01% 69.64MiB / 3.725GiB +12:52:27 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:52:27 nextcloud-aio-talk 0.49% 98.63MiB / 3.725GiB +12:52:27 nextcloud-aio-eurooffice 0.40% 547.5MiB / 3.725GiB +12:52:27 nextcloud-aio-mastercontainer 0.02% 58.65MiB / 3.725GiB +12:52:32 nextcloud-aio-apache 0.01% 88.37MiB / 3.725GiB +12:52:32 nextcloud-aio-nextcloud 0.02% 442.4MiB / 3.725GiB +12:52:32 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:52:32 nextcloud-aio-redis 0.39% 8.039MiB / 3.725GiB +12:52:32 nextcloud-aio-database 0.00% 52.73MiB / 3.725GiB +12:52:32 nextcloud-aio-whiteboard 0.01% 69.79MiB / 3.725GiB +12:52:32 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:52:32 nextcloud-aio-talk 0.57% 98.63MiB / 3.725GiB +12:52:32 nextcloud-aio-eurooffice 0.66% 547.5MiB / 3.725GiB +12:52:32 nextcloud-aio-mastercontainer 9.31% 69.83MiB / 3.725GiB +12:52:37 nextcloud-aio-apache 0.01% 88.37MiB / 3.725GiB +12:52:37 nextcloud-aio-nextcloud 0.02% 442.4MiB / 3.725GiB +12:52:37 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:52:37 nextcloud-aio-redis 0.42% 8.039MiB / 3.725GiB +12:52:37 nextcloud-aio-database 0.00% 52.73MiB / 3.725GiB +12:52:37 nextcloud-aio-whiteboard 0.01% 69.82MiB / 3.725GiB +12:52:37 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:52:37 nextcloud-aio-talk 0.47% 98.63MiB / 3.725GiB +12:52:37 nextcloud-aio-eurooffice 0.72% 547.5MiB / 3.725GiB +12:52:37 nextcloud-aio-mastercontainer 0.19% 69.83MiB / 3.725GiB +12:52:42 nextcloud-aio-apache 0.01% 88.37MiB / 3.725GiB +12:52:42 nextcloud-aio-nextcloud 0.02% 442.4MiB / 3.725GiB +12:52:42 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:52:42 nextcloud-aio-redis 0.39% 8.039MiB / 3.725GiB +12:52:42 nextcloud-aio-database 0.03% 52.73MiB / 3.725GiB +12:52:42 nextcloud-aio-whiteboard 0.04% 69.17MiB / 3.725GiB +12:52:42 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:52:42 nextcloud-aio-talk 7.86% 98.63MiB / 3.725GiB +12:52:42 nextcloud-aio-eurooffice 0.40% 547.5MiB / 3.725GiB +12:52:42 nextcloud-aio-mastercontainer 0.39% 69.82MiB / 3.725GiB +12:52:47 nextcloud-aio-apache 5.55% 88.37MiB / 3.725GiB +12:52:47 nextcloud-aio-nextcloud 0.03% 442.4MiB / 3.725GiB +12:52:47 nextcloud-aio-imaginary 5.24% 165.9MiB / 3.725GiB +12:52:47 nextcloud-aio-redis 0.39% 8.039MiB / 3.725GiB +12:52:47 nextcloud-aio-database 0.03% 52.73MiB / 3.725GiB +12:52:47 nextcloud-aio-whiteboard 0.04% 69.31MiB / 3.725GiB +12:52:47 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:52:47 nextcloud-aio-talk 0.44% 98.64MiB / 3.725GiB +12:52:47 nextcloud-aio-eurooffice 0.80% 547.5MiB / 3.725GiB +12:52:47 nextcloud-aio-mastercontainer 0.17% 69.83MiB / 3.725GiB +12:52:52 nextcloud-aio-apache 0.01% 88.37MiB / 3.725GiB +12:52:52 nextcloud-aio-nextcloud 0.02% 442.4MiB / 3.725GiB +12:52:52 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:52:52 nextcloud-aio-redis 0.39% 8.039MiB / 3.725GiB +12:52:52 nextcloud-aio-database 0.01% 52.73MiB / 3.725GiB +12:52:52 nextcloud-aio-whiteboard 0.01% 69.32MiB / 3.725GiB +12:52:52 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:52:52 nextcloud-aio-talk 0.50% 98.64MiB / 3.725GiB +12:52:52 nextcloud-aio-eurooffice 0.40% 547.5MiB / 3.725GiB +12:52:52 nextcloud-aio-mastercontainer 0.28% 69.82MiB / 3.725GiB +12:52:57 nextcloud-aio-apache 0.01% 88.37MiB / 3.725GiB +12:52:57 nextcloud-aio-nextcloud 0.02% 442.4MiB / 3.725GiB +12:52:57 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:52:57 nextcloud-aio-redis 0.41% 8.039MiB / 3.725GiB +12:52:57 nextcloud-aio-database 0.00% 52.73MiB / 3.725GiB +12:52:57 nextcloud-aio-whiteboard 0.00% 69.46MiB / 3.725GiB +12:52:57 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:52:57 nextcloud-aio-talk 0.48% 98.64MiB / 3.725GiB +12:52:57 nextcloud-aio-eurooffice 0.39% 547.5MiB / 3.725GiB +12:52:57 nextcloud-aio-mastercontainer 0.33% 69.83MiB / 3.725GiB +12:53:02 nextcloud-aio-apache 0.01% 88.37MiB / 3.725GiB +12:53:02 nextcloud-aio-nextcloud 0.02% 442.4MiB / 3.725GiB +12:53:02 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:53:02 nextcloud-aio-redis 0.45% 8.039MiB / 3.725GiB +12:53:02 nextcloud-aio-database 0.00% 52.73MiB / 3.725GiB +12:53:02 nextcloud-aio-whiteboard 0.01% 69.61MiB / 3.725GiB +12:53:02 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:53:02 nextcloud-aio-talk 0.52% 98.66MiB / 3.725GiB +12:53:02 nextcloud-aio-eurooffice 0.76% 547.6MiB / 3.725GiB +12:53:02 nextcloud-aio-mastercontainer 0.63% 69.83MiB / 3.725GiB +12:53:07 nextcloud-aio-apache 0.01% 88.4MiB / 3.725GiB +12:53:07 nextcloud-aio-nextcloud 0.02% 442.4MiB / 3.725GiB +12:53:07 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:53:07 nextcloud-aio-redis 0.44% 8.039MiB / 3.725GiB +12:53:07 nextcloud-aio-database 0.01% 52.73MiB / 3.725GiB +12:53:07 nextcloud-aio-whiteboard 0.04% 69.63MiB / 3.725GiB +12:53:07 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:53:07 nextcloud-aio-talk 0.50% 98.67MiB / 3.725GiB +12:53:07 nextcloud-aio-eurooffice 0.45% 547.6MiB / 3.725GiB +12:53:07 nextcloud-aio-mastercontainer 0.02% 69.84MiB / 3.725GiB +12:53:12 nextcloud-aio-apache 0.01% 88.4MiB / 3.725GiB +12:53:12 nextcloud-aio-nextcloud 0.02% 442.5MiB / 3.725GiB +12:53:12 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:53:12 nextcloud-aio-redis 0.41% 8.039MiB / 3.725GiB +12:53:12 nextcloud-aio-database 0.26% 52.73MiB / 3.725GiB +12:53:12 nextcloud-aio-whiteboard 0.00% 69.78MiB / 3.725GiB +12:53:12 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:53:12 nextcloud-aio-talk 0.49% 99MiB / 3.725GiB +12:53:12 nextcloud-aio-eurooffice 0.41% 547.6MiB / 3.725GiB +12:53:12 nextcloud-aio-mastercontainer 0.68% 69.84MiB / 3.725GiB +12:53:17 nextcloud-aio-apache 0.01% 83.8MiB / 3.725GiB +12:53:17 nextcloud-aio-nextcloud 0.03% 442.4MiB / 3.725GiB +12:53:17 nextcloud-aio-imaginary 4.46% 165.9MiB / 3.725GiB +12:53:17 nextcloud-aio-redis 0.45% 8.039MiB / 3.725GiB +12:53:17 nextcloud-aio-database 0.00% 52.73MiB / 3.725GiB +12:53:17 nextcloud-aio-whiteboard 0.01% 69.94MiB / 3.725GiB +12:53:17 nextcloud-aio-notify-push 5.55% 2.664MiB / 3.725GiB +12:53:17 nextcloud-aio-talk 0.51% 99.01MiB / 3.725GiB +12:53:17 nextcloud-aio-eurooffice 0.50% 547.6MiB / 3.725GiB +12:53:17 nextcloud-aio-mastercontainer 0.68% 69.82MiB / 3.725GiB +12:53:22 nextcloud-aio-apache 0.01% 83.8MiB / 3.725GiB +12:53:22 nextcloud-aio-nextcloud 0.02% 442.4MiB / 3.725GiB +12:53:22 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:53:22 nextcloud-aio-redis 0.36% 8.039MiB / 3.725GiB +12:53:22 nextcloud-aio-database 0.01% 52.73MiB / 3.725GiB +12:53:22 nextcloud-aio-whiteboard 0.01% 69.95MiB / 3.725GiB +12:53:22 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:53:22 nextcloud-aio-talk 0.48% 99.02MiB / 3.725GiB +12:53:22 nextcloud-aio-eurooffice 6.06% 547.6MiB / 3.725GiB +12:53:22 nextcloud-aio-mastercontainer 0.14% 69.84MiB / 3.725GiB +12:53:28 nextcloud-aio-apache 0.02% 83.8MiB / 3.725GiB +12:53:28 nextcloud-aio-nextcloud 0.02% 442.4MiB / 3.725GiB +12:53:28 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:53:28 nextcloud-aio-redis 0.41% 8.039MiB / 3.725GiB +12:53:28 nextcloud-aio-database 0.00% 52.73MiB / 3.725GiB +12:53:28 nextcloud-aio-whiteboard 0.01% 69.47MiB / 3.725GiB +12:53:28 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:53:28 nextcloud-aio-talk 0.53% 99.02MiB / 3.725GiB +12:53:28 nextcloud-aio-eurooffice 0.44% 547.6MiB / 3.725GiB +12:53:28 nextcloud-aio-mastercontainer 0.58% 69.83MiB / 3.725GiB +12:53:33 nextcloud-aio-apache 0.01% 83.8MiB / 3.725GiB +12:53:33 nextcloud-aio-nextcloud 0.03% 442.4MiB / 3.725GiB +12:53:33 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:53:33 nextcloud-aio-redis 0.37% 8.039MiB / 3.725GiB +12:53:33 nextcloud-aio-database 0.00% 52.73MiB / 3.725GiB +12:53:33 nextcloud-aio-whiteboard 0.01% 69.54MiB / 3.725GiB +12:53:33 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:53:33 nextcloud-aio-talk 0.51% 99.03MiB / 3.725GiB +12:53:33 nextcloud-aio-eurooffice 0.47% 547.6MiB / 3.725GiB +12:53:33 nextcloud-aio-mastercontainer 0.48% 69.83MiB / 3.725GiB +12:53:38 nextcloud-aio-apache 0.01% 83.8MiB / 3.725GiB +12:53:38 nextcloud-aio-nextcloud 0.02% 442.5MiB / 3.725GiB +12:53:38 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:53:38 nextcloud-aio-redis 0.37% 8.039MiB / 3.725GiB +12:53:38 nextcloud-aio-database 0.03% 52.81MiB / 3.725GiB +12:53:38 nextcloud-aio-whiteboard 0.00% 69.48MiB / 3.725GiB +12:53:38 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:53:38 nextcloud-aio-talk 0.46% 99.04MiB / 3.725GiB +12:53:38 nextcloud-aio-eurooffice 0.75% 547.6MiB / 3.725GiB +12:53:38 nextcloud-aio-mastercontainer 0.02% 69.85MiB / 3.725GiB +12:53:43 nextcloud-aio-apache 0.01% 83.8MiB / 3.725GiB +12:53:43 nextcloud-aio-nextcloud 0.02% 442.5MiB / 3.725GiB +12:53:43 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:53:43 nextcloud-aio-redis 0.34% 8.039MiB / 3.725GiB +12:53:43 nextcloud-aio-database 0.03% 52.81MiB / 3.725GiB +12:53:43 nextcloud-aio-whiteboard 0.01% 69.59MiB / 3.725GiB +12:53:43 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:53:43 nextcloud-aio-talk 0.47% 99.09MiB / 3.725GiB +12:53:43 nextcloud-aio-eurooffice 0.42% 547.6MiB / 3.725GiB +12:53:43 nextcloud-aio-mastercontainer 0.25% 69.84MiB / 3.725GiB +12:53:48 nextcloud-aio-apache 0.01% 84.21MiB / 3.725GiB +12:53:48 nextcloud-aio-nextcloud 0.04% 444.9MiB / 3.725GiB +12:53:48 nextcloud-aio-imaginary 5.13% 165.9MiB / 3.725GiB +12:53:48 nextcloud-aio-redis 0.38% 8.289MiB / 3.725GiB +12:53:48 nextcloud-aio-database 0.02% 52.81MiB / 3.725GiB +12:53:48 nextcloud-aio-whiteboard 0.01% 69.73MiB / 3.725GiB +12:53:48 nextcloud-aio-notify-push 5.48% 2.664MiB / 3.725GiB +12:53:48 nextcloud-aio-talk 0.43% 99.14MiB / 3.725GiB +12:53:48 nextcloud-aio-eurooffice 0.41% 547.6MiB / 3.725GiB +12:53:48 nextcloud-aio-mastercontainer 0.62% 69.88MiB / 3.725GiB +12:53:53 nextcloud-aio-apache 0.02% 84.62MiB / 3.725GiB +12:53:53 nextcloud-aio-nextcloud 0.02% 445.6MiB / 3.725GiB +12:53:53 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:53:53 nextcloud-aio-redis 0.63% 8.039MiB / 3.725GiB +12:53:53 nextcloud-aio-database 0.01% 52.81MiB / 3.725GiB +12:53:53 nextcloud-aio-whiteboard 0.51% 69.9MiB / 3.725GiB +12:53:53 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:53:53 nextcloud-aio-talk 0.43% 99.14MiB / 3.725GiB +12:53:53 nextcloud-aio-eurooffice 0.36% 547.6MiB / 3.725GiB +12:53:53 nextcloud-aio-mastercontainer 0.06% 70.07MiB / 3.725GiB +12:53:58 nextcloud-aio-apache 0.24% 84.68MiB / 3.725GiB +12:53:58 nextcloud-aio-nextcloud 1.40% 445.6MiB / 3.725GiB +12:53:58 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:53:58 nextcloud-aio-redis 0.44% 8.039MiB / 3.725GiB +12:53:58 nextcloud-aio-database 0.38% 53.72MiB / 3.725GiB +12:53:58 nextcloud-aio-whiteboard 0.00% 69.91MiB / 3.725GiB +12:53:58 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:53:58 nextcloud-aio-talk 0.63% 99.15MiB / 3.725GiB +12:53:58 nextcloud-aio-eurooffice 0.39% 547.6MiB / 3.725GiB +12:53:58 nextcloud-aio-mastercontainer 0.67% 70.06MiB / 3.725GiB +12:54:03 nextcloud-aio-apache 0.12% 84.89MiB / 3.725GiB +12:54:03 nextcloud-aio-nextcloud 1.70% 445.8MiB / 3.725GiB +12:54:03 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:54:03 nextcloud-aio-redis 1.46% 8.043MiB / 3.725GiB +12:54:03 nextcloud-aio-database 0.83% 52.82MiB / 3.725GiB +12:54:03 nextcloud-aio-whiteboard 0.00% 69.46MiB / 3.725GiB +12:54:03 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:54:03 nextcloud-aio-talk 0.41% 99.16MiB / 3.725GiB +12:54:03 nextcloud-aio-eurooffice 0.35% 546.6MiB / 3.725GiB +12:54:03 nextcloud-aio-mastercontainer 0.60% 70.08MiB / 3.725GiB +12:54:08 nextcloud-aio-apache 0.33% 84.96MiB / 3.725GiB +12:54:08 nextcloud-aio-nextcloud 6.26% 445.8MiB / 3.725GiB +12:54:08 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:54:08 nextcloud-aio-redis 0.93% 8.043MiB / 3.725GiB +12:54:08 nextcloud-aio-database 2.63% 52.82MiB / 3.725GiB +12:54:08 nextcloud-aio-whiteboard 0.38% 69.48MiB / 3.725GiB +12:54:08 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:54:08 nextcloud-aio-talk 0.47% 99.16MiB / 3.725GiB +12:54:08 nextcloud-aio-eurooffice 0.80% 546.6MiB / 3.725GiB +12:54:08 nextcloud-aio-mastercontainer 0.07% 70.09MiB / 3.725GiB +12:54:13 nextcloud-aio-apache 0.01% 85.18MiB / 3.725GiB +12:54:13 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:54:13 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:54:13 nextcloud-aio-redis 0.41% 8.043MiB / 3.725GiB +12:54:13 nextcloud-aio-database 0.00% 52.82MiB / 3.725GiB +12:54:13 nextcloud-aio-whiteboard 0.00% 69.48MiB / 3.725GiB +12:54:13 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:54:13 nextcloud-aio-talk 0.51% 99.17MiB / 3.725GiB +12:54:13 nextcloud-aio-eurooffice 0.39% 546.6MiB / 3.725GiB +12:54:13 nextcloud-aio-mastercontainer 0.01% 70.08MiB / 3.725GiB +12:54:18 nextcloud-aio-apache 0.02% 85.25MiB / 3.725GiB +12:54:18 nextcloud-aio-nextcloud 0.03% 445.8MiB / 3.725GiB +12:54:18 nextcloud-aio-imaginary 0.00% 165.8MiB / 3.725GiB +12:54:18 nextcloud-aio-redis 0.38% 8.043MiB / 3.725GiB +12:54:18 nextcloud-aio-database 0.01% 52.82MiB / 3.725GiB +12:54:18 nextcloud-aio-whiteboard 0.00% 69.6MiB / 3.725GiB +12:54:18 nextcloud-aio-notify-push 5.21% 2.664MiB / 3.725GiB +12:54:18 nextcloud-aio-talk 0.44% 99.17MiB / 3.725GiB +12:54:18 nextcloud-aio-eurooffice 10.99% 562.2MiB / 3.725GiB +12:54:18 nextcloud-aio-mastercontainer 0.64% 70.09MiB / 3.725GiB +12:54:23 nextcloud-aio-apache 0.01% 85.28MiB / 3.725GiB +12:54:23 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:54:23 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:54:23 nextcloud-aio-redis 0.60% 8.035MiB / 3.725GiB +12:54:23 nextcloud-aio-database 0.03% 52.82MiB / 3.725GiB +12:54:23 nextcloud-aio-whiteboard 0.42% 69.76MiB / 3.725GiB +12:54:23 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:54:23 nextcloud-aio-talk 0.47% 99.18MiB / 3.725GiB +12:54:23 nextcloud-aio-eurooffice 0.40% 546.6MiB / 3.725GiB +12:54:23 nextcloud-aio-mastercontainer 0.13% 70.09MiB / 3.725GiB +12:54:28 nextcloud-aio-apache 0.01% 85.3MiB / 3.725GiB +12:54:28 nextcloud-aio-nextcloud 0.03% 445.8MiB / 3.725GiB +12:54:28 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:54:28 nextcloud-aio-redis 0.36% 8.285MiB / 3.725GiB +12:54:28 nextcloud-aio-database 0.03% 52.82MiB / 3.725GiB +12:54:28 nextcloud-aio-whiteboard 0.01% 69.77MiB / 3.725GiB +12:54:28 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:54:28 nextcloud-aio-talk 0.45% 99.19MiB / 3.725GiB +12:54:28 nextcloud-aio-eurooffice 0.36% 546.6MiB / 3.725GiB +12:54:28 nextcloud-aio-mastercontainer 0.47% 70.36MiB / 3.725GiB +12:54:33 nextcloud-aio-apache 0.01% 85.3MiB / 3.725GiB +12:54:33 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:54:33 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:54:33 nextcloud-aio-redis 0.36% 8.035MiB / 3.725GiB +12:54:33 nextcloud-aio-database 0.00% 52.82MiB / 3.725GiB +12:54:33 nextcloud-aio-whiteboard 0.00% 69.95MiB / 3.725GiB +12:54:33 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:54:33 nextcloud-aio-talk 0.43% 99.2MiB / 3.725GiB +12:54:33 nextcloud-aio-eurooffice 0.39% 546.7MiB / 3.725GiB +12:54:33 nextcloud-aio-mastercontainer 0.64% 70.38MiB / 3.725GiB +12:54:38 nextcloud-aio-apache 0.01% 85.31MiB / 3.725GiB +12:54:38 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:54:38 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:54:38 nextcloud-aio-redis 0.55% 8.035MiB / 3.725GiB +12:54:38 nextcloud-aio-database 0.00% 52.82MiB / 3.725GiB +12:54:38 nextcloud-aio-whiteboard 0.38% 70.06MiB / 3.725GiB +12:54:38 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:54:38 nextcloud-aio-talk 0.42% 99.21MiB / 3.725GiB +12:54:38 nextcloud-aio-eurooffice 0.40% 546.8MiB / 3.725GiB +12:54:38 nextcloud-aio-mastercontainer 0.78% 70.38MiB / 3.725GiB +12:54:43 nextcloud-aio-apache 0.01% 85.31MiB / 3.725GiB +12:54:43 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:54:43 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:54:43 nextcloud-aio-redis 0.40% 8.035MiB / 3.725GiB +12:54:43 nextcloud-aio-database 0.38% 52.82MiB / 3.725GiB +12:54:43 nextcloud-aio-whiteboard 0.00% 69.48MiB / 3.725GiB +12:54:43 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:54:43 nextcloud-aio-talk 0.56% 99.27MiB / 3.725GiB +12:54:43 nextcloud-aio-eurooffice 0.41% 546.8MiB / 3.725GiB +12:54:43 nextcloud-aio-mastercontainer 0.62% 70.38MiB / 3.725GiB +12:54:48 nextcloud-aio-apache 0.01% 85.31MiB / 3.725GiB +12:54:48 nextcloud-aio-nextcloud 0.04% 445.8MiB / 3.725GiB +12:54:48 nextcloud-aio-imaginary 4.99% 165.9MiB / 3.725GiB +12:54:48 nextcloud-aio-redis 0.42% 8.035MiB / 3.725GiB +12:54:48 nextcloud-aio-database 0.03% 52.82MiB / 3.725GiB +12:54:48 nextcloud-aio-whiteboard 0.01% 69.5MiB / 3.725GiB +12:54:48 nextcloud-aio-notify-push 5.45% 2.664MiB / 3.725GiB +12:54:48 nextcloud-aio-talk 0.41% 99.29MiB / 3.725GiB +12:54:48 nextcloud-aio-eurooffice 0.42% 546.8MiB / 3.725GiB +12:54:48 nextcloud-aio-mastercontainer 0.46% 70.38MiB / 3.725GiB +12:54:53 nextcloud-aio-apache 0.01% 85.31MiB / 3.725GiB +12:54:53 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:54:53 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:54:53 nextcloud-aio-redis 0.58% 8.035MiB / 3.725GiB +12:54:53 nextcloud-aio-database 0.01% 52.82MiB / 3.725GiB +12:54:53 nextcloud-aio-whiteboard 0.41% 69.65MiB / 3.725GiB +12:54:53 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:54:53 nextcloud-aio-talk 0.51% 99.29MiB / 3.725GiB +12:54:53 nextcloud-aio-eurooffice 0.42% 546.8MiB / 3.725GiB +12:54:53 nextcloud-aio-mastercontainer 0.01% 70.37MiB / 3.725GiB +12:54:58 nextcloud-aio-apache 0.01% 85.32MiB / 3.725GiB +12:54:58 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:54:58 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:54:58 nextcloud-aio-redis 0.43% 8.035MiB / 3.725GiB +12:54:58 nextcloud-aio-database 0.00% 52.82MiB / 3.725GiB +12:54:58 nextcloud-aio-whiteboard 0.01% 69.66MiB / 3.725GiB +12:54:58 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:54:58 nextcloud-aio-talk 0.44% 99.3MiB / 3.725GiB +12:54:58 nextcloud-aio-eurooffice 0.44% 546.8MiB / 3.725GiB +12:54:58 nextcloud-aio-mastercontainer 0.02% 70.38MiB / 3.725GiB +12:55:03 nextcloud-aio-apache 0.01% 85.32MiB / 3.725GiB +12:55:03 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:55:03 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:55:03 nextcloud-aio-redis 0.40% 8.035MiB / 3.725GiB +12:55:03 nextcloud-aio-database 0.01% 52.82MiB / 3.725GiB +12:55:03 nextcloud-aio-whiteboard 0.01% 69.85MiB / 3.725GiB +12:55:03 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:55:03 nextcloud-aio-talk 0.57% 99.3MiB / 3.725GiB +12:55:03 nextcloud-aio-eurooffice 0.46% 546.8MiB / 3.725GiB +12:55:03 nextcloud-aio-mastercontainer 0.02% 70.38MiB / 3.725GiB +12:55:08 nextcloud-aio-apache 0.01% 85.32MiB / 3.725GiB +12:55:08 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:55:08 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:55:08 nextcloud-aio-redis 0.61% 8.035MiB / 3.725GiB +12:55:08 nextcloud-aio-database 0.01% 52.82MiB / 3.725GiB +12:55:08 nextcloud-aio-whiteboard 0.42% 69.21MiB / 3.725GiB +12:55:08 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:55:08 nextcloud-aio-talk 0.49% 99.32MiB / 3.725GiB +12:55:08 nextcloud-aio-eurooffice 0.40% 546.8MiB / 3.725GiB +12:55:08 nextcloud-aio-mastercontainer 0.02% 70.38MiB / 3.725GiB +12:55:13 nextcloud-aio-apache 0.06% 85.33MiB / 3.725GiB +12:55:13 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:55:13 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:55:13 nextcloud-aio-redis 0.41% 8.035MiB / 3.725GiB +12:55:13 nextcloud-aio-database 0.01% 52.82MiB / 3.725GiB +12:55:13 nextcloud-aio-whiteboard 0.01% 69.22MiB / 3.725GiB +12:55:13 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:55:13 nextcloud-aio-talk 0.60% 99.34MiB / 3.725GiB +12:55:13 nextcloud-aio-eurooffice 0.43% 546.8MiB / 3.725GiB +12:55:13 nextcloud-aio-mastercontainer 0.38% 70.38MiB / 3.725GiB +12:55:18 nextcloud-aio-apache 0.01% 85.33MiB / 3.725GiB +12:55:18 nextcloud-aio-nextcloud 0.03% 445.8MiB / 3.725GiB +12:55:18 nextcloud-aio-imaginary 4.83% 165.9MiB / 3.725GiB +12:55:18 nextcloud-aio-redis 0.34% 8.035MiB / 3.725GiB +12:55:18 nextcloud-aio-database 0.00% 52.82MiB / 3.725GiB +12:55:18 nextcloud-aio-whiteboard 0.01% 69.38MiB / 3.725GiB +12:55:18 nextcloud-aio-notify-push 4.87% 2.664MiB / 3.725GiB +12:55:18 nextcloud-aio-talk 0.31% 99.34MiB / 3.725GiB +12:55:18 nextcloud-aio-eurooffice 25.06% 546.8MiB / 3.725GiB +12:55:18 nextcloud-aio-mastercontainer 0.67% 70.38MiB / 3.725GiB +12:55:23 nextcloud-aio-apache 0.01% 85.33MiB / 3.725GiB +12:55:23 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:55:23 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:55:23 nextcloud-aio-redis 0.48% 8.035MiB / 3.725GiB +12:55:23 nextcloud-aio-database 0.02% 52.82MiB / 3.725GiB +12:55:23 nextcloud-aio-whiteboard 0.33% 69.55MiB / 3.725GiB +12:55:23 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:55:23 nextcloud-aio-talk 0.50% 99.36MiB / 3.725GiB +12:55:23 nextcloud-aio-eurooffice 0.45% 546.8MiB / 3.725GiB +12:55:23 nextcloud-aio-mastercontainer 0.01% 70.38MiB / 3.725GiB +12:55:28 nextcloud-aio-apache 0.02% 85.33MiB / 3.725GiB +12:55:28 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:55:28 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:55:28 nextcloud-aio-redis 0.41% 8.035MiB / 3.725GiB +12:55:28 nextcloud-aio-database 0.00% 52.82MiB / 3.725GiB +12:55:28 nextcloud-aio-whiteboard 0.01% 69.55MiB / 3.725GiB +12:55:28 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:55:28 nextcloud-aio-talk 0.46% 99.36MiB / 3.725GiB +12:55:28 nextcloud-aio-eurooffice 0.42% 546.8MiB / 3.725GiB +12:55:28 nextcloud-aio-mastercontainer 0.54% 70.38MiB / 3.725GiB +12:55:33 nextcloud-aio-apache 0.01% 85.33MiB / 3.725GiB +12:55:33 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:55:33 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:55:33 nextcloud-aio-redis 0.39% 8.035MiB / 3.725GiB +12:55:33 nextcloud-aio-database 0.01% 52.82MiB / 3.725GiB +12:55:33 nextcloud-aio-whiteboard 0.01% 69.71MiB / 3.725GiB +12:55:33 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:55:33 nextcloud-aio-talk 0.44% 99.36MiB / 3.725GiB +12:55:33 nextcloud-aio-eurooffice 0.42% 546.8MiB / 3.725GiB +12:55:33 nextcloud-aio-mastercontainer 0.02% 70.38MiB / 3.725GiB +12:55:38 nextcloud-aio-apache 0.01% 85.33MiB / 3.725GiB +12:55:38 nextcloud-aio-nextcloud 0.11% 445.8MiB / 3.725GiB +12:55:38 nextcloud-aio-imaginary 0.01% 165.9MiB / 3.725GiB +12:55:38 nextcloud-aio-redis 0.52% 8.035MiB / 3.725GiB +12:55:38 nextcloud-aio-database 0.11% 52.82MiB / 3.725GiB +12:55:38 nextcloud-aio-whiteboard 0.38% 69.91MiB / 3.725GiB +12:55:38 nextcloud-aio-notify-push 0.01% 2.664MiB / 3.725GiB +12:55:38 nextcloud-aio-talk 0.44% 99.36MiB / 3.725GiB +12:55:38 nextcloud-aio-eurooffice 1.31% 546.8MiB / 3.725GiB +12:55:38 nextcloud-aio-mastercontainer 0.31% 70.38MiB / 3.725GiB +12:55:43 nextcloud-aio-apache 0.02% 85.33MiB / 3.725GiB +12:55:43 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:55:43 nextcloud-aio-imaginary 0.00% 165.9MiB / 3.725GiB +12:55:43 nextcloud-aio-redis 0.36% 8.035MiB / 3.725GiB +12:55:43 nextcloud-aio-database 0.03% 52.82MiB / 3.725GiB +12:55:43 nextcloud-aio-whiteboard 0.00% 69.92MiB / 3.725GiB +12:55:43 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:55:43 nextcloud-aio-talk 0.41% 99.45MiB / 3.725GiB +12:55:43 nextcloud-aio-eurooffice 0.41% 546.8MiB / 3.725GiB +12:55:43 nextcloud-aio-mastercontainer 0.62% 70.38MiB / 3.725GiB +12:55:49 nextcloud-aio-apache 0.01% 85.33MiB / 3.725GiB +12:55:49 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:55:49 nextcloud-aio-imaginary 3.86% 165.8MiB / 3.725GiB +12:55:49 nextcloud-aio-redis 0.38% 8.035MiB / 3.725GiB +12:55:49 nextcloud-aio-database 0.03% 52.82MiB / 3.725GiB +12:55:49 nextcloud-aio-whiteboard 0.00% 69.48MiB / 3.725GiB +12:55:49 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:55:49 nextcloud-aio-talk 0.45% 99.26MiB / 3.725GiB +12:55:49 nextcloud-aio-eurooffice 0.38% 546.8MiB / 3.725GiB +12:55:49 nextcloud-aio-mastercontainer 0.01% 70.39MiB / 3.725GiB +12:55:54 nextcloud-aio-apache 0.01% 85.38MiB / 3.725GiB +12:55:54 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:55:54 nextcloud-aio-imaginary 0.01% 165.8MiB / 3.725GiB +12:55:54 nextcloud-aio-redis 0.75% 8.039MiB / 3.725GiB +12:55:54 nextcloud-aio-database 0.02% 52.82MiB / 3.725GiB +12:55:54 nextcloud-aio-whiteboard 0.43% 69.48MiB / 3.725GiB +12:55:54 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:55:54 nextcloud-aio-talk 0.46% 99.27MiB / 3.725GiB +12:55:54 nextcloud-aio-eurooffice 0.52% 546.8MiB / 3.725GiB +12:55:54 nextcloud-aio-mastercontainer 0.60% 70.38MiB / 3.725GiB +12:55:59 nextcloud-aio-apache 0.01% 85.38MiB / 3.725GiB +12:55:59 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:55:59 nextcloud-aio-imaginary 0.01% 165.8MiB / 3.725GiB +12:55:59 nextcloud-aio-redis 0.27% 8.039MiB / 3.725GiB +12:55:59 nextcloud-aio-database 0.00% 52.82MiB / 3.725GiB +12:55:59 nextcloud-aio-whiteboard 0.04% 69.48MiB / 3.725GiB +12:55:59 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:55:59 nextcloud-aio-talk 0.33% 99.27MiB / 3.725GiB +12:55:59 nextcloud-aio-eurooffice 0.36% 546.8MiB / 3.725GiB +12:55:59 nextcloud-aio-mastercontainer 0.43% 70.38MiB / 3.725GiB +12:56:04 nextcloud-aio-apache 0.01% 85.38MiB / 3.725GiB +12:56:04 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:56:04 nextcloud-aio-imaginary 0.00% 165.8MiB / 3.725GiB +12:56:04 nextcloud-aio-redis 0.39% 8.039MiB / 3.725GiB +12:56:04 nextcloud-aio-database 0.02% 52.82MiB / 3.725GiB +12:56:04 nextcloud-aio-whiteboard 0.01% 69.61MiB / 3.725GiB +12:56:04 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:56:04 nextcloud-aio-talk 0.43% 99.27MiB / 3.725GiB +12:56:04 nextcloud-aio-eurooffice 0.44% 546.8MiB / 3.725GiB +12:56:04 nextcloud-aio-mastercontainer 0.58% 70.38MiB / 3.725GiB +12:56:09 nextcloud-aio-apache 0.01% 85.37MiB / 3.725GiB +12:56:09 nextcloud-aio-nextcloud 0.02% 445.8MiB / 3.725GiB +12:56:09 nextcloud-aio-imaginary 0.01% 165.8MiB / 3.725GiB +12:56:09 nextcloud-aio-redis 0.57% 8.039MiB / 3.725GiB +12:56:09 nextcloud-aio-database 0.00% 52.82MiB / 3.725GiB +12:56:09 nextcloud-aio-whiteboard 0.41% 69.8MiB / 3.725GiB +12:56:09 nextcloud-aio-notify-push 0.00% 2.664MiB / 3.725GiB +12:56:09 nextcloud-aio-talk 0.48% 99.27MiB / 3.725GiB +12:56:09 nextcloud-aio-eurooffice 1.44% 546.8MiB / 3.725GiB +12:56:09 nextcloud-aio-mastercontainer 0.02% 70.37MiB / 3.725GiB + +container samples CPU% mean CPU% max RAM MiB mean RAM MiB max +nextcloud-aio-apache 60 0.12 5.55 86.4 88.4 +nextcloud-aio-database 60 0.13 2.63 52.8 53.7 +nextcloud-aio-eurooffice 60 1.42 25.06 547.4 562.2 +nextcloud-aio-imaginary 60 0.48 5.24 165.9 165.9 +nextcloud-aio-mastercontainer 60 0.52 9.31 67.1 70.4 +nextcloud-aio-nextcloud 60 0.21 6.26 443.9 445.8 +nextcloud-aio-notify-push 60 0.54 5.55 2.7 2.7 +nextcloud-aio-redis 60 0.45 1.46 8.0 8.3 +nextcloud-aio-talk 60 1.11 11.65 99.1 99.8 +nextcloud-aio-whiteboard 60 0.08 0.51 69.6 70.1 +TOTAL (sum per sample) 60 5.06 36.13 1542.8 1561.4 +## free -m nachher + total used free shared buff/cache available +Mem: 3814 1762 160 167 2352 2051 +## Container +nextcloud-aio-apache ghcr.io/nextcloud-releases/aio-apache:latest Up 13 minutes (healthy) +nextcloud-aio-nextcloud ghcr.io/nextcloud-releases/aio-nextcloud:latest Up 14 minutes (healthy) +nextcloud-aio-imaginary ghcr.io/nextcloud-releases/aio-imaginary:latest Up 14 minutes (healthy) +nextcloud-aio-redis ghcr.io/nextcloud-releases/aio-redis:latest Up 14 minutes (healthy) +nextcloud-aio-database ghcr.io/nextcloud-releases/aio-postgresql:latest Up 14 minutes (healthy) +nextcloud-aio-whiteboard ghcr.io/nextcloud-releases/aio-whiteboard:latest Up 14 minutes (healthy) +nextcloud-aio-notify-push ghcr.io/nextcloud-releases/aio-notify-push:latest Up 15 minutes (healthy) +nextcloud-aio-talk ghcr.io/nextcloud-releases/aio-talk:latest Up 15 minutes (healthy) +nextcloud-aio-eurooffice ghcr.io/nextcloud-releases/aio-eurooffice:latest Up 15 minutes (healthy) +nextcloud-aio-domaincheck ghcr.io/nextcloud-releases/aio-domaincheck:latest Exited (0) 16 minutes ago +nextcloud-aio-mastercontainer ghcr.io/nextcloud-releases/all-in-one:latest Up 33 minutes (healthy) +## Images +ghcr.io/nextcloud-releases/aio-nextcloud:latest 958c85d34416 1.74GB +ghcr.io/nextcloud-releases/aio-imaginary:latest 68016096082e 180MB +ghcr.io/nextcloud-releases/aio-talk:latest def1e3eea4eb 197MB +ghcr.io/nextcloud-releases/aio-eurooffice:latest 45f66cd1300c 7.01GB +ghcr.io/nextcloud-releases/aio-whiteboard:latest c3b918e701da 2.1GB +ghcr.io/nextcloud-releases/all-in-one:latest 85ba3d4ff8d8 340MB +ghcr.io/nextcloud-releases/aio-redis:latest 08a22b3c557c 174MB +ghcr.io/nextcloud-releases/aio-postgresql:latest 5455879aba7d 447MB +ghcr.io/nextcloud-releases/aio-apache:latest fe93a828c647 210MB +ghcr.io/nextcloud-releases/aio-notify-push:latest aca8a616bb52 28.4MB +ghcr.io/nextcloud-releases/aio-domaincheck:latest e686284ac5a1 31.9MB +## docker system df +TYPE TOTAL ACTIVE SIZE RECLAIMABLE +Images 11 11 12.34GB 0B (0%) +Containers 11 10 617.5MB 8.192kB (0%) +Local Volumes 9 9 1.614GB 0B (0%) +Build Cache 0 0 0B 0B +## Platte +/dev/sda1 75G 17G 56G 23% / +8.5G /var/lib/docker diff --git a/filesync/measurements/20-nextcloud-hochladen.txt b/filesync/measurements/20-nextcloud-hochladen.txt new file mode 100644 index 0000000..a83814e --- /dev/null +++ b/filesync/measurements/20-nextcloud-hochladen.txt @@ -0,0 +1,51 @@ +# 20 Nextcloud: Hochladen des Testsatzes (5000 Dateien 194,5 MiB + 1 Datei 2,00 GiB), 2026-10-24 +# official = nextcloudcmd 35.0.0 (PPA nextcloud-devs), rclone = rclone v1.75.2 webdav vendor=nextcloud, Standardwerte +# Serverlast: Host-CPU (2 vCPU = 100 %) und RAM (MemTotal-MemAvailable) im 1-s-Takt + +=== nc official Lauf 1 === +DELETE 404 +empty trash 204 +MKCOL 201 +prep nc official: 5001 Dateien lokal +start 12:56:44 UTC +nextcloudcmd exit 0 (16 Zeilen mit error/fail im Log) +ende 13:04:59 UTC, Dauer 494.94 s, gesendet 2363.7 MB +Server: 5001 2351380818 (Dateien Bytes) +server load: 498 samples, CPU mean 99.2 %, CPU max 100.0 % (2 vCPU = 100 %), RAM used mean 1821 MiB, max 2150 MiB + +=== nc official Lauf 2 === +DELETE 204 +empty trash 204 +MKCOL 201 +prep nc official: 5001 Dateien lokal +start 13:05:25 UTC +nextcloudcmd exit 0 (16 Zeilen mit error/fail im Log) +ende 13:13:41 UTC, Dauer 496.25 s, gesendet 2363.7 MB +Server: 5001 2351380818 (Dateien Bytes) +server load: 499 samples, CPU mean 99.2 %, CPU max 100.0 % (2 vCPU = 100 %), RAM used mean 1833 MiB, max 2096 MiB + +=== nc official Lauf 3 === +DELETE 204 +empty trash 204 +MKCOL 201 +prep nc official: 5001 Dateien lokal +start 13:13:53 UTC +nextcloudcmd exit 0 (16 Zeilen mit error/fail im Log) +ende 13:22:17 UTC, Dauer 504.60 s, gesendet 2363.8 MB +Server: 5001 2351380818 (Dateien Bytes) +server load: 507 samples, CPU mean 98.9 %, CPU max 100.0 % (2 vCPU = 100 %), RAM used mean 1883 MiB, max 2270 MiB + +=== nc rclone Lauf 1 === +DELETE 404 +empty trash 204 +MKCOL 201 +prep nc rclone: 5001 Dateien lokal +start 13:22:27 UTC +rclone exit 0 +ende 14:33:25 UTC, Dauer 4258.09 s, gesendet 2365.0 MB +Server: 5001 2351380818 (Dateien Bytes) +server load: 4277 samples, CPU mean 99.5 %, CPU max 100.0 % (2 vCPU = 100 %), RAM used mean 2124 MiB, max 2241 MiB (Sampler nachträglich gestoppt um 14:34 UTC, Probe deckt den Lauf ab) + + +# rclone Lauf 2 und 3 nicht gefahren: Lauf 1 dauerte 71 min (Einzel-PUT je Datei, Server-CPU durchgehend am Anschlag). +# Zum Vergleich der Größenordnung reicht ein Lauf; die drei nextcloudcmd-Läufe streuen nur um 2 %. diff --git a/filesync/measurements/21-nextcloud-aenderung.txt b/filesync/measurements/21-nextcloud-aenderung.txt new file mode 100644 index 0000000..7eea3c8 --- /dev/null +++ b/filesync/measurements/21-nextcloud-aenderung.txt @@ -0,0 +1,12 @@ +# 21 Nextcloud: Änderung auf Client A, Zeit bis sie auf Client B liegt (2026-10-24) +# A: nextcloudcmd direkt nach dem Schreiben; B: lauscht am notify_push-Websocket (AIO aktiviert notify_push standardmäßig) und startet bei notify_file nextcloudcmd +# 14:34:02 UTC Erstabgleich A und B + A (2.348508596420288, 0) B (2.4212734699249268, 0) + notify_push: [(1792852447.893114, 'authenticated')] + Lauf 1: A-Sync 2.52 s (rc 0), Datei bei B nach 5.35 s, Push an B 0.41 s nach A-Sync-Ende + Lauf 2: A-Sync 2.45 s (rc 0), Datei bei B nach 5.22 s, Push an B 0.42 s nach A-Sync-Ende + Lauf 3: A-Sync 2.43 s (rc 0), Datei bei B nach 5.27 s, Push an B 0.43 s nach A-Sync-Ende + Lauf 4: A-Sync 2.44 s (rc 0), Datei bei B nach 5.32 s, Push an B 0.41 s nach A-Sync-Ende + Lauf 5: A-Sync 2.49 s (rc 0), Datei bei B nach 5.28 s, Push an B 0.41 s nach A-Sync-Ende +Mittel 5.29 s, Median 5.28 s, min 5.22, max 5.35 (n=5) +B-Syncläufe: 5, Dauer Mittel 2.37 s diff --git a/filesync/measurements/22-nextcloud-delta.txt b/filesync/measurements/22-nextcloud-delta.txt new file mode 100644 index 0000000..6eeb2d5 --- /dev/null +++ b/filesync/measurements/22-nextcloud-delta.txt @@ -0,0 +1,15 @@ +# 22 Nextcloud: 1 MiB in einer 2-GiB-Datei geändert, was geht über die Leitung (2026-10-24T14:35:07Z) +# Bytes = iptables-Zähler OUTPUT, Ziel Server-IP, nur Prozesse des Nutzers clienta (inkl. TLS/HTTP-Overhead) +DELETE 404 +empty trash 204 +MKCOL 201 +Erstabgleich (nicht bewertet): +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) + 24.25 s, gesendet 2153.4 MB +Änderung: dd 1 MiB Zufall an Offset 1024 MiB (conv=notrunc), Dateigröße bleibt 2 GiB +724dc7d109779b11 +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) +Sync nach Änderung: 28.56 s, gesendet 2153.0 MB +rclone zum Vergleich (gleiche Änderung, rclone copy auf denselben Ordner): +rclone exit 0 + rclone: 149.23 s, gesendet 2155.0 MB diff --git a/filesync/measurements/23-nextcloud-konflikt.txt b/filesync/measurements/23-nextcloud-konflikt.txt new file mode 100644 index 0000000..ecebd1a --- /dev/null +++ b/filesync/measurements/23-nextcloud-konflikt.txt @@ -0,0 +1,23 @@ +# 23 Nextcloud: Konflikt, dieselbe Datei auf A und B offline geändert (2026-10-24T14:38:42Z), offizieller Client nextcloudcmd +DELETE 404 +empty trash 204 +MKCOL 201 +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) +Ausgangslage nach Erstabgleich: + A: ./angebot.txt ./.sync_bb6bb3432d1b.db + B: ./angebot.txt ./.sync_bb6bb3432d1b.db +Offline: A schreibt 'Version A', B schreibt 'Version B' (kein Sync dazwischen) +A synchronisiert zuerst: +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) +B synchronisiert danach: +nextcloudcmd exit 0 (9 Zeilen mit error/fail im Log) +A synchronisiert noch einmal: +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) +Ergebnis: + A: ./angebot.txt ./.sync_bb6bb3432d1b.db + B: ./angebot (conflicted copy 2026-10-24 143852).txt ./angebot.txt ./.sync_bb6bb3432d1b.db + A angebot.txt: Angebot Version A (Preis 900) + B angebot (conflicted copy 2026-10-24 143852).txt: Angebot Version B (Preis 1200) + B angebot.txt: Angebot Version A (Preis 900) + Server: 207 ['angebot.txt'] diff --git a/filesync/measurements/24-nextcloud-geloescht.txt b/filesync/measurements/24-nextcloud-geloescht.txt new file mode 100644 index 0000000..16acb8b --- /dev/null +++ b/filesync/measurements/24-nextcloud-geloescht.txt @@ -0,0 +1,50 @@ +# 24 Nextcloud: Ordner mit 5000 Dateien auf Client A gelöscht (2026-10-24T14:39:07Z), offizieller Client nextcloudcmd +DELETE 404 +empty trash 204 +MKCOL 201 +Erstabgleich A hoch, B runter: +nextcloudcmd exit 0 (12 Zeilen mit error/fail im Log) +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) + A: 5001 Dateien, B: 5001 Dateien, Server: 5000 203897170 +14:50:34 A löscht den Ordner projekt (rm -rf) und synchronisiert +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) + A-Sync 4.26 s + Server nach A-Sync: 0 0 +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) +14:50:42 B synchronisiert (2.93 s): B hat noch 1 Dateien +14:50:42 Wiederherstellen aus dem Papierkorb des Servers (WebDAV MOVE, wie der Knopf in der Weboberfläche): +Papierkorb: 1 Einträge ['del/projekt'] +MOVE 412, Wiederherstellung auf dem Server 1.57 s + Server: 0 0 +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) +14:50:50 nach je einem Sync: A 1, B 1 Dateien; vom Restore-Start bis beide Clients vollständig 7.71 s + +# Fehler im Messskript: MOVE mit Header 'Overwrite: F' liefert bei Nextcloud 412. Ohne den Header 201. +# Um 14:5x von Hand wiederhergestellt (MOVE ohne Overwrite-Header -> 201, nicht gezeitet). Zweiter, sauberer Durchgang: +# 14:51:19 UTC zweiter Durchgang +Abgleich A und B: +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) + 356.94 s + A: 5001 Dateien, B: 5001 Dateien, Server: 5000 203897170 +14:57:18 A löscht den Ordner projekt (rm -rf) und synchronisiert +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) + A-Sync 3.19 s + Server nach A-Sync: 0 0 +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) +14:57:25 B synchronisiert (2.93 s): B hat noch 1 Dateien +14:57:25 Wiederherstellen aus dem Papierkorb des Servers (WebDAV MOVE, wie der Knopf in der Weboberfläche): +Papierkorb: 1 Einträge ['del/projekt'] +MOVE 201, Wiederherstellung auf dem Server 2.20 s + Server: 5000 203897170 +nextcloudcmd exit 0 (8 Zeilen mit error/fail im Log) +# Die ssh-Sitzung des Messlaufs brach hier ab (lokaler Abbruch, Exit 144); die letzten Zeilen sind aus den +# Protokollen von nextcloudcmd rekonstruiert (/tmp/ncc-clientb.log, /tmp/ncc-clienta.log, Zeitstempel UTC): +# B-Sync nach Restore: 14:57:28.9 bis 15:00:26.3 (177 s, lädt 5000 Dateien neu herunter) +# A-Sync nach Restore: 15:00:26.5 bis 15:03:25.6 (179 s, lädt 5000 Dateien neu herunter) +# Kontrolle 15:11 UTC: A 5001 Dateien, B 5001 Dateien (5000 + Sync-Journal) +# => Vom Restore-Start (14:57:25) bis B vollständig: rund 3 min 1 s; bis beide vollständig: rund 6 min (nacheinander synchronisiert). +# Befund: Löschen auf A war nach 3,2 s auf dem Server und nach einem B-Sync (2,9 s) auch auf B weg. Keine Rückfrage, +# keine Sperre bei 5000 gelöschten Dateien (nextcloudcmd --non-interactive). Der Papierkorb hält den Ordner als +# einen Eintrag, ein MOVE (= Knopf "Wiederherstellen") holt alle 5000 Dateien in 2,2 s zurück. diff --git a/filesync/measurements/25-nextcloud-oberflaeche.txt b/filesync/measurements/25-nextcloud-oberflaeche.txt new file mode 100644 index 0000000..83ef0f4 --- /dev/null +++ b/filesync/measurements/25-nextcloud-oberflaeche.txt @@ -0,0 +1,7 @@ +# 25 Nextcloud: Ladezeit der Dateiliste, Ordner mit 5000 Dateien (2026-10-24T15:22:15Z) +# Chromium headless (Playwright 1.56.1, Node 18) auf ep19fs-cli, 1600x900, je Lauf neuer Kontext + frische Anmeldung. +# Zeit ab page.goto(Ordner-URL) bis erste Dateizeile sichtbar. Nextcloud rendert virtuell (nur sichtbare Zeilen im DOM). + Lauf 1: erste Dateizeile nach 5.55 s, Netzwerk ruhig nach 5.55 s, Zeilen im DOM: 48 + Lauf 2: erste Dateizeile nach 5.46 s, Netzwerk ruhig nach 5.46 s, Zeilen im DOM: 48 + Lauf 3: erste Dateizeile nach 5.48 s, Netzwerk ruhig nach 5.48 s, Zeilen im DOM: 48 + Mittel erste Zeile 5.50 s (n=3) diff --git a/filesync/measurements/26-nextcloud-freigabe.txt b/filesync/measurements/26-nextcloud-freigabe.txt new file mode 100644 index 0000000..0c8bcd1 --- /dev/null +++ b/filesync/measurements/26-nextcloud-freigabe.txt @@ -0,0 +1,10 @@ +# 26 Nextcloud: Freigabelink ohne Passwort und ohne Ablauf (2026-10-24T15:11:58Z) +# 15:12:00 UTC: öffentlicher Link auf /freigabe, ohne Passwort und ohne Ablaufdatum angefordert (OCS-API, wie der Knopf in der Oberfläche) + HTTP 200 OCS 200 OK + expiration = None | password gesetzt = False | permissions = 17 + anonymer Abruf des Links: 200 | Datei sichtbar: False + capabilities public: {"enabled": true, "password": {"enforced": false, "askForOptionalPassword": false}, "expire_date": {"enabled": false}, "upload": true} + anonymer Download /public.php/dav/files//vertrag.txt ohne Anmeldung: 200 'Vertrag Entwurf' +# Hinweis: "Datei sichtbar: False" beim HTML-Abruf, weil die Freigabeseite die Liste per JavaScript lädt; +# der anonyme Download über den Link funktioniert (200, Inhalt der Datei). +# Befund: Standard erlaubt öffentliche Links ohne Passwort (enforced=false) und ohne Ablauf (expire_date.enabled=false). diff --git a/filesync/measurements/27-nextcloud-bruteforce.txt b/filesync/measurements/27-nextcloud-bruteforce.txt new file mode 100644 index 0000000..bfc5b49 --- /dev/null +++ b/filesync/measurements/27-nextcloud-bruteforce.txt @@ -0,0 +1,45 @@ +# 27 Nextcloud: 10 falsche Anmeldungen (2026-10-24T15:23:26Z), vom Client-Server aus, Web-Anmeldeformular /login (POST mit requesttoken aus /csrftoken, wie der Browser) +# Ein erster Lauf um 15:23 schickte kein gültiges requesttoken (alle Antworten Umleitung auf /login, auch mit richtigem Passwort, 0 Bruteforce-Einträge) und zählt nicht. +# 15:23:26 UTC: 10 falsche Passwörter für den Admin über das Anmeldeformular, danach das richtige + 15:23:27 Versuch 1 falsch : HTTP 303, Antwort nach 0.48 s, angemeldet=False /login?direct=1&user=admin + 15:23:28 Versuch 2 falsch : HTTP 303, Antwort nach 0.44 s, angemeldet=False /login?direct=1&user=admin + 15:23:28 Versuch 3 falsch : HTTP 303, Antwort nach 0.45 s, angemeldet=False /login?direct=1&user=admin + 15:23:29 Versuch 4 falsch : HTTP 303, Antwort nach 0.45 s, angemeldet=False /login?direct=1&user=admin + 15:23:30 Versuch 5 falsch : HTTP 303, Antwort nach 0.50 s, angemeldet=False /login?direct=1&user=admin + 15:23:30 Versuch 6 falsch : HTTP 303, Antwort nach 0.47 s, angemeldet=False /login?direct=1&user=admin + 15:23:31 Versuch 7 falsch : HTTP 303, Antwort nach 0.46 s, angemeldet=False /login?direct=1&user=admin + 15:23:32 Versuch 8 falsch : HTTP 303, Antwort nach 0.46 s, angemeldet=False /login?direct=1&user=admin + 15:23:33 Versuch 9 falsch : HTTP 303, Antwort nach 0.45 s, angemeldet=False /login?direct=1&user=admin + 15:23:33 Versuch 10 falsch : HTTP 303, Antwort nach 0.52 s, angemeldet=False /login?direct=1&user=admin + 15:23:35 Versuch 11 richtig: HTTP 303, Antwort nach 1.19 s, angemeldet=True ://cloud.example.com/apps/dashboard/ +## danach: occ security:bruteforce:attempts + - bypass-listed: false + - attempts: 0 + - delay: 0 + + +## Gegenprobe 15:24:20 UTC: 15 falsche Versuche, Zähler abfragen, erst dann das richtige Passwort (ein erfolgreicher Login setzt den Zähler zurück) + 15:24:21 Versuch 1 falsch : HTTP 303, Antwort nach 0.49 s /login?direct=1&user=admin + 15:24:22 Versuch 2 falsch : HTTP 303, Antwort nach 0.44 s /login?direct=1&user=admin + 15:24:23 Versuch 3 falsch : HTTP 303, Antwort nach 0.46 s /login?direct=1&user=admin + 15:24:23 Versuch 4 falsch : HTTP 303, Antwort nach 0.48 s /login?direct=1&user=admin + 15:24:24 Versuch 5 falsch : HTTP 303, Antwort nach 0.45 s /login?direct=1&user=admin + 15:24:25 Versuch 6 falsch : HTTP 303, Antwort nach 0.45 s /login?direct=1&user=admin + 15:24:25 Versuch 7 falsch : HTTP 303, Antwort nach 0.49 s /login?direct=1&user=admin + 15:24:26 Versuch 8 falsch : HTTP 303, Antwort nach 0.48 s /login?direct=1&user=admin + 15:24:27 Versuch 9 falsch : HTTP 303, Antwort nach 0.47 s /login?direct=1&user=admin + 15:24:27 Versuch 10 falsch : HTTP 303, Antwort nach 0.45 s /login?direct=1&user=admin + 15:24:28 Versuch 11 falsch : HTTP 429, Antwort nach 0.45 s + 15:24:28 Versuch 12 falsch : HTTP 429, Antwort nach 0.04 s + 15:24:28 Versuch 13 falsch : HTTP 429, Antwort nach 0.05 s + 15:24:29 Versuch 14 falsch : HTTP 429, Antwort nach 0.04 s + 15:24:29 Versuch 15 falsch : HTTP 429, Antwort nach 0.04 s + - bypass-listed: false + - attempts: 11 + - delay: 25000 + richtiges Passwort danach: HTTP 429 nach 0.07 s, angemeldet= False + 15:24:46 richtiges Passwort von einer anderen IP (Lab-Mac): HTTP 303 angemeldet= True +# Befund: Nextcloud bremst nicht stufenweise sichtbar (alle 10 falschen Antworten ~0,45 s), sperrt aber ab dem +# 11. Versuch innerhalb des Zeitfensters die IP mit HTTP 429 (occ: attempts 11, delay 25000 ms), auch das +# richtige Passwort kommt von dieser IP nicht mehr durch. Andere IPs sind nicht betroffen. +# Im ersten Lauf (10 falsch, dann richtig) ging das richtige Passwort als 11. Anfrage noch durch und setzte den Zähler zurück. diff --git a/filesync/measurements/28-nextcloud-grenzen.txt b/filesync/measurements/28-nextcloud-grenzen.txt new file mode 100644 index 0000000..119cf01 --- /dev/null +++ b/filesync/measurements/28-nextcloud-grenzen.txt @@ -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). diff --git a/filesync/measurements/29-nextcloud-entfernt.txt b/filesync/measurements/29-nextcloud-entfernt.txt new file mode 100644 index 0000000..ce1960f --- /dev/null +++ b/filesync/measurements/29-nextcloud-entfernt.txt @@ -0,0 +1,26 @@ +# 29 Nextcloud AIO entfernen (2026-10-24T15:25:18Z) ++ df -h / ++ tail -1 +/dev/sda1 75G 25G 47G 35% / +++ docker ps -q ++ docker stop f03da70aadfe f175fe14b702 47a0e8fe4762 c5bc60e00115 e1f851050d84 91a5f8e956f4 b17b79597adc b1e2b66c708e cec0a2aae360 a12da8d7f622 +++ docker ps -aq ++ docker rm -f f03da70aadfe f175fe14b702 47a0e8fe4762 c5bc60e00115 e1f851050d84 91a5f8e956f4 b17b79597adc b1e2b66c708e cec0a2aae360 e68ddcfe6fe2 a12da8d7f622 +++ docker volume ls -q ++ docker volume rm nextcloud_aio_apache nextcloud_aio_database nextcloud_aio_database_dump nextcloud_aio_eurooffice nextcloud_aio_eurooffice_data nextcloud_aio_mastercontainer nextcloud_aio_nextcloud nextcloud_aio_nextcloud_data nextcloud_aio_redis ++ docker network prune -f ++ docker image prune -af ++ tail -1 +Total reclaimed space: 12.34GB ++ docker ps -a +CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ++ docker volume ls +DRIVER VOLUME NAME ++ docker images +IMAGE ID DISK USAGE CONTENT SIZE EXTRA ++ df -h / ++ tail -1 +/dev/sda1 75G 2.4G 70G 4% / ++ sed -n 2p ++ free -m +Mem: 3814 499 3122 4 448 3314 diff --git a/filesync/measurements/30-opencloud-install.txt b/filesync/measurements/30-opencloud-install.txt new file mode 100644 index 0000000..00d82a2 --- /dev/null +++ b/filesync/measurements/30-opencloud-install.txt @@ -0,0 +1,27 @@ +# 30 OpenCloud Installation, Weg: docs.opencloud.eu "Default Setup with Traefik", Variante ohne Collabora +# Erster Versuch 15:25 UTC mit TRAEFIK_ACME_MAIL=lab@example.com: Traefik bekam kein Zertifikat, Let's Encrypt lehnt ab: +# urn:ietf:params:acme:error:invalidContact :: Error validating contact(s) :: contact email has forbidden domain "example.com" +# Falle: bleibt TRAEFIK_ACME_MAIL leer, setzt config/traefik/docker-entrypoint-override.sh Zeile 37 den Ersatzwert +# --certificatesResolvers.letsencrypt.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org} (ebenfalls eine reservierte Beispiel-Domain) +# Der Versuch wurde komplett entfernt (down -v, Images gelöscht), zweiter Lauf von null mit einer echten Kontaktadresse: +# 2026-10-24T15:36:32Z +compose repo commit c957c36 2026-10-12 +geänderte Zeilen gegenüber .env.example: 5 +T0 15:36:33 UTC docker compose up -d + Container opencloud-compose-opencloud-1 Starting + Container opencloud-compose-traefik-1 Started + Container opencloud-compose-opencloud-1 Started +compose up returned after 4.37 s + 15:36:38 +4.46 s logon HTTP 000 + 15:36:49 +15.15 s logon HTTP 200 +# Die Antwort von /logon ist eingerückt ("success": true mit Leerzeichen), die Abbruchbedingung im Skript passte darauf nicht; +# Inhalt der ersten 200-Antwort (geprüft, gekürzt): +{ "success": true, "state": "", "hello": { "state": "", "flow": "oidc", "success": true, "username +# => erste erfolgreiche Admin-Anmeldung 15:36:49 UTC = 15,2 s nach T0 (inkl. Image-Pull, Konfiguration, Let's-Encrypt-Zertifikat; curl ohne -k). +# Container: 2 (opencloud, traefik). Konfiguration: 5 geänderte Zeilen in .env (INSECURE auskommentiert, OC_DOMAIN, TRAEFIK_ACME_MAIL, INITIAL_ADMIN_PASSWORD, COMPOSE_FILE). +# Admin: Benutzer admin, Passwort = INITIAL_ADMIN_PASSWORD aus .env (Pflichtfeld, kein Standardwert, siehe 31). +OC_DOCKER_IMAGE=opencloudeu/opencloud-rolling +OC_DOCKER_TAG= +CONTAINER REPOSITORY TAG PLATFORM IMAGE ID SIZE CREATED +opencloud-compose-opencloud-1 opencloudeu/opencloud-rolling 8.1.0 linux/amd64 8fc64ca86173 304MB 2 weeks ago +opencloud-compose-traefik-1 traefik v3.7.14 linux/amd64 575fa15b1350 252MB 2 weeks ago diff --git a/filesync/measurements/31-opencloud-erstzugang.txt b/filesync/measurements/31-opencloud-erstzugang.txt new file mode 100644 index 0000000..6cf39a9 --- /dev/null +++ b/filesync/measurements/31-opencloud-erstzugang.txt @@ -0,0 +1,22 @@ +# 31 OpenCloud: Erstzugang, gibt es Standardzugänge oder ein offenes Einrichtungsfenster? (2026-10-24T15:53:49Z) +# Anmeldung über denselben Aufruf wie das Anmeldeformular (POST /signin/v1/identifier/_/logon) + admin / admin: HTTP 204 ... + admin / opencloud: HTTP 204 ... + alan / demo: HTTP 204 ... + admin / : HTTP 204 ... +## Traefik-Dashboard (Standard aus): + (Quelle traefik/opencloud.yml: Label traefik.enable=${TRAEFIK_DASHBOARD:-false}; bei Aktivierung ohne eigenen Wert Basic Auth admin:admin laut .env.example) + 204 = kein Inhalt, Anmeldung abgelehnt; erfolgreiche Anmeldung liefert 200 mit "success": true (siehe 30). Keine Demo-Konten (DEMO_USERS Standard false), kein Einrichtungsassistent im Browser. + +## Gegenprobe 2026-10-24T16:44:03Z: Was passiert, wenn INITIAL_ADMIN_PASSWORD leer bleibt? (neue Volumes, Images schon lokal) +1 + Container opencloud-compose-opencloud-1 Started +/opencloud-compose-opencloud-1 Status=restarting RestartCount=10 +opencloud-1 | user : admin +opencloud-1 | password : REDACTED (zufällig erzeugt, im Container-Log im Klartext) +opencloud-1 | The password of service user admin has not been set properly in your config for idm. Make sure your /etc/opencloud config contains the proper values (e.g. by using 'opencloud init --diff' and applying the patch or setting a value manually in the config/corresponding environment variab +opencloud-1 | The password of service user admin has not been set properly in your config for idm. Make sure your /etc/opencloud config contains the proper values (e.g. by using 'opencloud init --diff' and applying the patch or setting a value manually in the config/corresponding environment variab +opencloud-1 | The password of service user admin has not been set properly in your config for idm. Make sure your /etc/opencloud config contains the proper values (e.g. by using 'opencloud init --diff' and applying the patch or setting a value manually in the config/corresponding environment variab +# Befund: Bleibt INITIAL_ADMIN_PASSWORD leer, erzeugt "opencloud init" ein Zufallspasswort und schreibt es im Klartext ins +# Container-Log (docker compose logs), danach startet der Container in Schleife neu (RestartCount 10 nach 75 s), weil die +# IDM-Konfiguration das Passwort nicht übernimmt. Es gibt also kein Standardpasswort und kein offenes Einrichtungsfenster. diff --git a/filesync/measurements/32-opencloud-leerlauf.txt b/filesync/measurements/32-opencloud-leerlauf.txt new file mode 100644 index 0000000..8caf2c7 --- /dev/null +++ b/filesync/measurements/32-opencloud-leerlauf.txt @@ -0,0 +1,148 @@ +# 2026-10-24T15:47:20Z Leerlauf, kein Client verbunden, kein Browser offen +## free -m vorher + total used free shared buff/cache available +Mem: 3814 774 2269 4 1030 3040 +# docker stats --no-stream every 5 s for 300 s, containers matching /^opencloud-compose/, start 15:47:20 UTC +15:47:20 opencloud-compose-traefik-1 0.00% 26.32MiB / 3.725GiB +15:47:20 opencloud-compose-opencloud-1 0.44% 250.9MiB / 3.725GiB +15:47:25 opencloud-compose-traefik-1 0.00% 26.32MiB / 3.725GiB +15:47:25 opencloud-compose-opencloud-1 0.52% 250.9MiB / 3.725GiB +15:47:30 opencloud-compose-traefik-1 0.00% 26.32MiB / 3.725GiB +15:47:30 opencloud-compose-opencloud-1 0.63% 253.9MiB / 3.725GiB +15:47:35 opencloud-compose-traefik-1 0.00% 26.32MiB / 3.725GiB +15:47:35 opencloud-compose-opencloud-1 0.54% 254MiB / 3.725GiB +15:47:40 opencloud-compose-traefik-1 0.00% 26.32MiB / 3.725GiB +15:47:40 opencloud-compose-opencloud-1 0.71% 254.2MiB / 3.725GiB +15:47:45 opencloud-compose-traefik-1 0.00% 26.32MiB / 3.725GiB +15:47:45 opencloud-compose-opencloud-1 0.48% 254.3MiB / 3.725GiB +15:47:50 opencloud-compose-traefik-1 2.12% 26.32MiB / 3.725GiB +15:47:50 opencloud-compose-opencloud-1 0.54% 254.3MiB / 3.725GiB +15:47:55 opencloud-compose-traefik-1 0.03% 26.32MiB / 3.725GiB +15:47:55 opencloud-compose-opencloud-1 0.52% 257.4MiB / 3.725GiB +15:48:00 opencloud-compose-traefik-1 0.00% 26.32MiB / 3.725GiB +15:48:00 opencloud-compose-opencloud-1 0.47% 257.5MiB / 3.725GiB +15:48:05 opencloud-compose-traefik-1 0.00% 26.32MiB / 3.725GiB +15:48:05 opencloud-compose-opencloud-1 0.58% 257.6MiB / 3.725GiB +15:48:10 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:48:10 opencloud-compose-opencloud-1 0.40% 257.7MiB / 3.725GiB +15:48:15 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:48:15 opencloud-compose-opencloud-1 0.49% 257.8MiB / 3.725GiB +15:48:20 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:48:20 opencloud-compose-opencloud-1 0.50% 260.9MiB / 3.725GiB +15:48:25 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:48:25 opencloud-compose-opencloud-1 0.51% 260.9MiB / 3.725GiB +15:48:30 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:48:30 opencloud-compose-opencloud-1 0.48% 261MiB / 3.725GiB +15:48:35 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:48:35 opencloud-compose-opencloud-1 0.48% 261MiB / 3.725GiB +15:48:40 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:48:40 opencloud-compose-opencloud-1 1.39% 262.8MiB / 3.725GiB +15:48:45 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:48:45 opencloud-compose-opencloud-1 0.42% 265.9MiB / 3.725GiB +15:48:50 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:48:50 opencloud-compose-opencloud-1 0.55% 266MiB / 3.725GiB +15:48:55 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:48:55 opencloud-compose-opencloud-1 0.53% 199MiB / 3.725GiB +15:49:01 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:49:01 opencloud-compose-opencloud-1 0.61% 199.1MiB / 3.725GiB +15:49:06 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:49:06 opencloud-compose-opencloud-1 0.43% 199.1MiB / 3.725GiB +15:49:11 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:49:11 opencloud-compose-opencloud-1 0.43% 199.4MiB / 3.725GiB +15:49:16 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:49:16 opencloud-compose-opencloud-1 0.45% 199.4MiB / 3.725GiB +15:49:21 opencloud-compose-traefik-1 0.00% 26.31MiB / 3.725GiB +15:49:21 opencloud-compose-opencloud-1 0.70% 199.4MiB / 3.725GiB +15:49:26 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:49:26 opencloud-compose-opencloud-1 0.48% 199.4MiB / 3.725GiB +15:49:31 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:49:31 opencloud-compose-opencloud-1 0.37% 199.4MiB / 3.725GiB +15:49:36 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:49:36 opencloud-compose-opencloud-1 0.48% 199.4MiB / 3.725GiB +15:49:41 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:49:41 opencloud-compose-opencloud-1 0.53% 199.4MiB / 3.725GiB +15:49:46 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:49:46 opencloud-compose-opencloud-1 0.50% 199.4MiB / 3.725GiB +15:49:51 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:49:51 opencloud-compose-opencloud-1 0.51% 199.4MiB / 3.725GiB +15:49:56 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:49:56 opencloud-compose-opencloud-1 0.48% 199.4MiB / 3.725GiB +15:50:01 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:50:01 opencloud-compose-opencloud-1 0.42% 199.5MiB / 3.725GiB +15:50:06 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:50:06 opencloud-compose-opencloud-1 0.55% 199.5MiB / 3.725GiB +15:50:11 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:50:11 opencloud-compose-opencloud-1 0.56% 199.5MiB / 3.725GiB +15:50:16 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:50:16 opencloud-compose-opencloud-1 0.49% 199.5MiB / 3.725GiB +15:50:21 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:50:21 opencloud-compose-opencloud-1 0.48% 199.5MiB / 3.725GiB +15:50:26 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:50:26 opencloud-compose-opencloud-1 0.60% 199.5MiB / 3.725GiB +15:50:31 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:50:31 opencloud-compose-opencloud-1 0.47% 199.5MiB / 3.725GiB +15:50:36 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:50:36 opencloud-compose-opencloud-1 0.48% 199.5MiB / 3.725GiB +15:50:41 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:50:41 opencloud-compose-opencloud-1 0.42% 199.6MiB / 3.725GiB +15:50:46 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:50:46 opencloud-compose-opencloud-1 0.46% 199.6MiB / 3.725GiB +15:50:51 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:50:51 opencloud-compose-opencloud-1 0.55% 199.8MiB / 3.725GiB +15:50:56 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:50:56 opencloud-compose-opencloud-1 0.77% 76.87MiB / 3.725GiB +15:51:02 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:51:02 opencloud-compose-opencloud-1 0.66% 76.88MiB / 3.725GiB +15:51:07 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:51:07 opencloud-compose-opencloud-1 0.64% 76.88MiB / 3.725GiB +15:51:12 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:51:12 opencloud-compose-opencloud-1 0.65% 76.88MiB / 3.725GiB +15:51:17 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:51:17 opencloud-compose-opencloud-1 0.34% 76.88MiB / 3.725GiB +15:51:22 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:51:22 opencloud-compose-opencloud-1 0.46% 76.88MiB / 3.725GiB +15:51:27 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:51:27 opencloud-compose-opencloud-1 0.51% 76.88MiB / 3.725GiB +15:51:32 opencloud-compose-traefik-1 0.00% 20.18MiB / 3.725GiB +15:51:32 opencloud-compose-opencloud-1 0.71% 76.88MiB / 3.725GiB +15:51:37 opencloud-compose-traefik-1 0.00% 17.53MiB / 3.725GiB +15:51:37 opencloud-compose-opencloud-1 0.49% 76.88MiB / 3.725GiB +15:51:42 opencloud-compose-traefik-1 0.00% 17.53MiB / 3.725GiB +15:51:42 opencloud-compose-opencloud-1 0.75% 76.88MiB / 3.725GiB +15:51:47 opencloud-compose-traefik-1 0.00% 17.53MiB / 3.725GiB +15:51:47 opencloud-compose-opencloud-1 0.53% 76.88MiB / 3.725GiB +15:51:52 opencloud-compose-traefik-1 0.00% 17.53MiB / 3.725GiB +15:51:52 opencloud-compose-opencloud-1 0.40% 76.88MiB / 3.725GiB +15:51:57 opencloud-compose-traefik-1 0.00% 17.53MiB / 3.725GiB +15:51:57 opencloud-compose-opencloud-1 0.52% 76.88MiB / 3.725GiB +15:52:02 opencloud-compose-traefik-1 0.00% 17.53MiB / 3.725GiB +15:52:02 opencloud-compose-opencloud-1 0.51% 76.88MiB / 3.725GiB +15:52:07 opencloud-compose-traefik-1 0.00% 17.53MiB / 3.725GiB +15:52:07 opencloud-compose-opencloud-1 0.54% 76.89MiB / 3.725GiB +15:52:12 opencloud-compose-traefik-1 0.00% 17.53MiB / 3.725GiB +15:52:12 opencloud-compose-opencloud-1 0.52% 76.89MiB / 3.725GiB +15:52:17 opencloud-compose-traefik-1 0.00% 17.53MiB / 3.725GiB +15:52:17 opencloud-compose-opencloud-1 0.56% 76.89MiB / 3.725GiB + +container samples CPU% mean CPU% max RAM MiB mean RAM MiB max +opencloud-compose-opencloud-1 60 0.54 1.39 183.2 266.0 +opencloud-compose-traefik-1 60 0.04 2.12 22.3 26.3 +TOTAL (sum per sample) 60 0.57 2.66 205.5 292.3 +## free -m nachher + total used free shared buff/cache available +Mem: 3814 595 2447 4 1030 3218 +## Container +opencloud-compose-traefik-1 traefik:v3.7.14 Up 15 minutes +opencloud-compose-opencloud-1 opencloudeu/opencloud-rolling:8.1.0 Up 15 minutes +## Images +traefik:v3.7.14 575fa15b1350 253MB +opencloudeu/opencloud-rolling:8.1.0 8fc64ca86173 304MB +## docker system df +TYPE TOTAL ACTIVE SIZE RECLAIMABLE +Images 2 2 543.9MB 0B (0%) +Containers 2 2 53.25kB 0B (0%) +Local Volumes 2 2 151.9kB 0B (0%) +Build Cache 0 0 0B 0B +## Platte +/dev/sda1 75G 2.9G 69G 4% / +405M /var/lib/docker diff --git a/filesync/measurements/40-opencloud-hochladen.txt b/filesync/measurements/40-opencloud-hochladen.txt new file mode 100644 index 0000000..ffa6596 --- /dev/null +++ b/filesync/measurements/40-opencloud-hochladen.txt @@ -0,0 +1,69 @@ +# 40 OpenCloud: Hochladen des Testsatzes (5000 Dateien 194,5 MiB + 1 Datei 2,00 GiB), 2026-10-24 +# official = opencloudcmd 4.0.0 (aus dem offiziellen AppImage, App-Token), rclone = rclone v1.75.2 webdav vendor=infinitescale, Standardwerte +# Serverlast: Host-CPU (2 vCPU = 100 %) und RAM (MemTotal-MemAvailable) im 1-s-Takt + +=== oc official Lauf 1 === +DELETE 404 +empty trash 204 +MKCOL 201 +prep oc official: 5001 Dateien lokal +start 15:54:25 UTC +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +ende 15:56:23 UTC, Dauer 117.92 s, gesendet 2370.0 MB +Server: 5001 2351380818 (Dateien Bytes) +server load: 121 samples, CPU mean 82.3 %, CPU max 94.0 % (2 vCPU = 100 %), RAM used mean 796 MiB, max 987 MiB + +=== oc official Lauf 2 === +DELETE 204 +empty trash 204 +MKCOL 201 +prep oc official: 5001 Dateien lokal +start 15:56:40 UTC +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +ende 15:58:46 UTC, Dauer 125.93 s, gesendet 2369.7 MB +Server: 5001 2351380818 (Dateien Bytes) +server load: 129 samples, CPU mean 83.0 %, CPU max 94.5 % (2 vCPU = 100 %), RAM used mean 852 MiB, max 1053 MiB + +=== oc official Lauf 3 === +DELETE 204 +empty trash 204 +MKCOL 201 +prep oc official: 5001 Dateien lokal +start 15:59:01 UTC +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +ende 16:01:08 UTC, Dauer 127.18 s, gesendet 2369.6 MB +Server: 5001 2351380818 (Dateien Bytes) +server load: 130 samples, CPU mean 82.7 %, CPU max 98.5 % (2 vCPU = 100 %), RAM used mean 889 MiB, max 1257 MiB + +=== oc rclone Lauf 1 === +DELETE 404 +empty trash 204 +MKCOL 201 +prep oc rclone: 5001 Dateien lokal +start 16:01:16 UTC +rclone exit 0 +ende 16:06:00 UTC, Dauer 284.09 s, gesendet 2369.3 MB +Server: 5001 2351380818 (Dateien Bytes) +server load: 287 samples, CPU mean 67.6 %, CPU max 93.4 % (2 vCPU = 100 %), RAM used mean 885 MiB, max 1129 MiB + +=== oc rclone Lauf 2 === +DELETE 204 +empty trash 204 +MKCOL 201 +prep oc rclone: 5001 Dateien lokal +start 16:06:33 UTC +rclone exit 0 +ende 16:11:19 UTC, Dauer 286.03 s, gesendet 2369.2 MB +Server: 5001 2351380818 (Dateien Bytes) +server load: 289 samples, CPU mean 67.4 %, CPU max 93.5 % (2 vCPU = 100 %), RAM used mean 913 MiB, max 1168 MiB + +=== oc rclone Lauf 3 === +DELETE 204 +empty trash 204 +MKCOL 201 +prep oc rclone: 5001 Dateien lokal +start 16:11:36 UTC +rclone exit 0 +ende 16:16:20 UTC, Dauer 284.18 s, gesendet 2369.3 MB +Server: 5001 2351380818 (Dateien Bytes) +server load: 287 samples, CPU mean 69.0 %, CPU max 93.5 % (2 vCPU = 100 %), RAM used mean 935 MiB, max 1287 MiB diff --git a/filesync/measurements/41-opencloud-aenderung.txt b/filesync/measurements/41-opencloud-aenderung.txt new file mode 100644 index 0000000..2cdb9f4 --- /dev/null +++ b/filesync/measurements/41-opencloud-aenderung.txt @@ -0,0 +1,16 @@ +# 41 OpenCloud: Änderung auf Client A, Zeit bis sie auf Client B liegt (2026-10-24) +# A: opencloudcmd direkt nach dem Schreiben; B: opencloudcmd im Dauerlauf (startet sofort neu, wenn der vorige Lauf endet). +# opencloudcmd hat keinen Push-Kanal; der Desktop-Client fragt den Server periodisch ab (siehe FACTS). +# 16:16:33 UTC Erstabgleich A und B + A (0.5890746116638184, 0) B (0.21195268630981445, 0) + Lauf 1: A-Sync 0.31 s (rc 0), Datei bei B nach 0.53 s + Lauf 2: A-Sync 0.65 s (rc 0), Datei bei B nach 0.82 s + Lauf 3: A-Sync 0.30 s (rc 0), Datei bei B nach 0.37 s + Lauf 4: A-Sync 0.28 s (rc 0), Datei bei B nach 0.55 s + Lauf 5: A-Sync 0.31 s (rc 0), Datei bei B nach 0.38 s +Mittel 0.53 s, Median 0.53 s, min 0.37, max 0.82 (n=5) +B-Syncläufe: 113, Dauer Mittel 0.24 s +# Einordnung: B fragte hier im Dauerlauf ab (113 Läufe in rund 30 s), das ist die untere Grenze, kein Alltagswert. +# Der Desktop-Client von OpenCloud fragt standardmäßig alle 30 s ab (opencloud-eu/desktop v4.0.0, src/libsync/configfile.cpp: +# "const std::chrono::seconds DefaultRemotePollInterval { 30 };"). Im Alltag also bis zu ~30 s plus Sync-Dauer. +# Zum Vergleich Nextcloud Desktop v35.0.0 configfile.cpp: "#define DEFAULT_REMOTE_POLL_INTERVAL 30000", zusätzlich notify_push (siehe 21). diff --git a/filesync/measurements/42-opencloud-delta.txt b/filesync/measurements/42-opencloud-delta.txt new file mode 100644 index 0000000..b19edfa --- /dev/null +++ b/filesync/measurements/42-opencloud-delta.txt @@ -0,0 +1,15 @@ +# 42 OpenCloud: 1 MiB in einer 2-GiB-Datei geändert, was geht über die Leitung (2026-10-24T16:17:27Z) +# Bytes = iptables-Zähler OUTPUT, Ziel Server-IP, nur Prozesse des Nutzers clienta (inkl. TLS/HTTP-Overhead) +DELETE 404 +empty trash 204 +MKCOL 201 +Erstabgleich (nicht bewertet): +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) + 21.32 s, gesendet 2161.9 MB +Änderung: dd 1 MiB Zufall an Offset 1024 MiB (conv=notrunc), Dateigröße bleibt 2 GiB +09e1433f3b37dabd +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +Sync nach Änderung: 25.80 s, gesendet 2161.9 MB +rclone zum Vergleich (gleiche Änderung, rclone copy auf denselben Ordner): +rclone exit 0 + rclone: 33.17 s, gesendet 2155.3 MB diff --git a/filesync/measurements/43-opencloud-konflikt.txt b/filesync/measurements/43-opencloud-konflikt.txt new file mode 100644 index 0000000..cfdbc8c --- /dev/null +++ b/filesync/measurements/43-opencloud-konflikt.txt @@ -0,0 +1,23 @@ +# 43 OpenCloud: Konflikt, dieselbe Datei auf A und B offline geändert (2026-10-24T16:18:59Z), offizieller Client opencloudcmd +DELETE 404 +empty trash 204 +MKCOL 201 +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +Ausgangslage nach Erstabgleich: + A: ./angebot.txt ./.sync_journal.db + B: ./angebot.txt ./.sync_journal.db +Offline: A schreibt 'Version A', B schreibt 'Version B' (kein Sync dazwischen) +A synchronisiert zuerst: +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +B synchronisiert danach: +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +A synchronisiert noch einmal: +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +Ergebnis: + A: ./angebot.txt ./.sync_journal.db + B: ./angebot (conflicted copy 2026-10-24 161904).txt ./angebot.txt ./.sync_journal.db + A angebot.txt: Angebot Version A (Preis 900) + B angebot (conflicted copy 2026-10-24 161904).txt: Angebot Version B (Preis 1200) + B angebot.txt: Angebot Version A (Preis 900) + Server: 207 ['angebot.txt'] diff --git a/filesync/measurements/44-opencloud-geloescht.txt b/filesync/measurements/44-opencloud-geloescht.txt new file mode 100644 index 0000000..4388fbb --- /dev/null +++ b/filesync/measurements/44-opencloud-geloescht.txt @@ -0,0 +1,22 @@ +# 44 OpenCloud: Ordner mit 5000 Dateien auf Client A gelöscht (2026-10-24T16:19:11Z), offizieller Client opencloudcmd +DELETE 404 +empty trash 204 +MKCOL 201 +Abgleich A und B: +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) + 156.68 s + A: 5001 Dateien, B: 5001 Dateien, Server: 5000 203897170 +16:21:52 A löscht den Ordner projekt (rm -rf) und synchronisiert +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) + A-Sync 4.68 s + Server nach A-Sync: 0 0 +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +16:21:58 B synchronisiert (1.63 s): B hat noch 1 Dateien +16:21:58 Wiederherstellen aus dem Papierkorb des Servers (WebDAV MOVE, wie der Knopf in der Weboberfläche): +Papierkorb: 1 Einträge ['del/projekt'] +MOVE 201, Wiederherstellung auf dem Server 16.89 s + Server: 5000 203897170 +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +opencloudcmd exit 0 (0 Zeilen mit error/fail im Log) +16:23:42 nach je einem Sync: A 5001, B 5001 Dateien; vom Restore-Start bis beide Clients vollständig 103.32 s diff --git a/filesync/measurements/45-opencloud-oberflaeche.txt b/filesync/measurements/45-opencloud-oberflaeche.txt new file mode 100644 index 0000000..3eef3c8 --- /dev/null +++ b/filesync/measurements/45-opencloud-oberflaeche.txt @@ -0,0 +1,8 @@ +# 45 OpenCloud: Ladezeit der Dateiliste, Ordner mit 5000 Dateien (2026-10-24T16:28:14Z) +# Chromium headless (Playwright 1.56.1) auf ep19fs-cli, 1600x900, je Lauf neuer Kontext + frische Anmeldung. +# Zeit ab page.goto(Ordner-URL) bis erste Datei-Kachel sichtbar. OpenCloud zeigt standardmäßig Kacheln, 100 je Seite (50 Seiten). + Lauf 1: erste Dateizeile nach 2.31 s, Netzwerk ruhig nach 122.31 s, Zeilen im DOM: 100 + Lauf 2: erste Dateizeile nach 2.35 s, Netzwerk ruhig nach 122.35 s, Zeilen im DOM: 100 + Lauf 3: erste Dateizeile nach 2.36 s, Netzwerk ruhig nach 122.36 s, Zeilen im DOM: 100 + Mittel erste Zeile 2.34 s (n=3) +# 'Netzwerk ruhig' wird nie erreicht (offene Server-Sent-Events-Verbindung der Weboberfläche), Wert = Zeitlimit 120 s, nicht verwenden. diff --git a/filesync/measurements/46-opencloud-freigabe.txt b/filesync/measurements/46-opencloud-freigabe.txt new file mode 100644 index 0000000..3f6a908 --- /dev/null +++ b/filesync/measurements/46-opencloud-freigabe.txt @@ -0,0 +1,7 @@ +# 46 OpenCloud: Freigabelink ohne Passwort und ohne Ablauf (2026-10-24T16:34:37Z) +# 16:34:39 UTC: öffentlicher Link auf /freigabe, ohne Passwort und ohne Ablaufdatum angefordert (Graph-API createLink, wie der Knopf in der Oberfläche) + type=view ohne Passwort: HTTP 400 {"error":{"code":"invalidRequest","innererror":{"date":"2026-10-24T16:34:39Z","request-id":"fa326e0978bd/qZBIpfR3sd-189416"},"message":"password protection is e + type=edit ohne Passwort: HTTP 400 {"error":{"code":"invalidRequest","innererror":{"date":"2026-10-24T16:34:39Z","request-id":"fa326e0978bd/qZBIpfR3sd-189418"},"message":"password protection is e + type=view mit Passwort: HTTP 200 | expirationDateTime = None | hasPassword = True + capabilities public: {"enabled": true, "password": {"enforced_for": {"read_only": true, "read_write": true, "read_write_delete": true, "upload_only": true}, "enforced": false}, "expire_date": {"enabled": false}} + (Fehlermeldung vollständig: "password protection is enforced") diff --git a/filesync/measurements/47-opencloud-bruteforce.txt b/filesync/measurements/47-opencloud-bruteforce.txt new file mode 100644 index 0000000..cf824fd --- /dev/null +++ b/filesync/measurements/47-opencloud-bruteforce.txt @@ -0,0 +1,24 @@ +# 47 OpenCloud: falsche Anmeldungen (2026-10-24T16:34:47Z), vom Client-Server aus, Anmeldeformular des eingebauten IdP (POST /signin/v1/identifier/_/logon) +# 16:34:47 UTC: 10 falsche Passwörter für den Admin über das Anmeldeformular, danach das richtige + 16:34:48 Versuch 1 falsch : HTTP 204, Antwort nach 0.16 s, angemeldet=False + 16:34:48 Versuch 2 falsch : HTTP 204, Antwort nach 0.22 s, angemeldet=False + 16:34:48 Versuch 3 falsch : HTTP 204, Antwort nach 0.12 s, angemeldet=False + 16:34:48 Versuch 4 falsch : HTTP 204, Antwort nach 0.09 s, angemeldet=False + 16:34:48 Versuch 5 falsch : HTTP 204, Antwort nach 0.24 s, angemeldet=False + 16:34:48 Versuch 6 falsch : HTTP 204, Antwort nach 0.12 s, angemeldet=False + 16:34:49 Versuch 7 falsch : HTTP 204, Antwort nach 0.13 s, angemeldet=False + 16:34:49 Versuch 8 falsch : HTTP 204, Antwort nach 0.10 s, angemeldet=False + 16:34:49 Versuch 9 falsch : HTTP 204, Antwort nach 0.14 s, angemeldet=False + 16:34:49 Versuch 10 falsch : HTTP 204, Antwort nach 0.15 s, angemeldet=False + 16:34:49 Versuch 11 richtig: HTTP 200, Antwort nach 0.40 s, angemeldet=True { "success": true, "state": "", "hello": { "state": "", "flow": "o +## Gegenprobe: 30 weitere falsche Versuche, dann das richtige Passwort + 16:34:54 Versuch 27 falsch : HTTP 204, Antwort nach 0.10 s + 16:34:54 Versuch 28 falsch : HTTP 204, Antwort nach 0.15 s + 16:34:54 Versuch 29 falsch : HTTP 204, Antwort nach 0.10 s + 16:34:54 Versuch 30 falsch : HTTP 204, Antwort nach 0.14 s + richtiges Passwort danach: HTTP 200 nach 0.53 s, angemeldet= True +# (Gegenprobe: von den 30 Zeilen sind nur die letzten 4 gezeigt; alle 30 lieferten 204, keine Verzögerung über 0,25 s.) +# Befund: 40 falsche Passwörter in rund 7 s, jede Antwort 0,1 bis 0,25 s, keine Verzögerung, keine Sperre, danach klappt das +# richtige Passwort sofort. Eine Suche im Quelltext v8.1.0 (services/idp, services/proxy, services/auth-basic; brute|ratelimit|lockout) +# fand keine Anmeldebremse; einziger Treffer für "rate limit" ist PROXY_OIDC_JWKS_REFRESH_RATE_LIMIT (Schlüsselabruf, nicht Login). +# Schutz muss davor kommen (Reverse Proxy, fail2ban, CrowdSec) oder über einen externen IdP (Keycloak-Variante im Compose). diff --git a/filesync/measurements/48-opencloud-grenzen.txt b/filesync/measurements/48-opencloud-grenzen.txt new file mode 100644 index 0000000..a2d7f55 --- /dev/null +++ b/filesync/measurements/48-opencloud-grenzen.txt @@ -0,0 +1,22 @@ +# 48 OpenCloud: Lizenz und Grenzen (2026-10-24T16:35:28Z) ++ head -3 /root/opencloud-compose/LICENSE + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + ++ cd /root/opencloud-compose ++ docker compose exec -T opencloud opencloud version ++ head -12 +Version: 8.1.0 +Edition: rolling +Compiled: 2026-10-05 00:00:00 +0000 UTC + +┌─────────┬────────────────┬────────────────────────────────────────────────────────────────────┐ +│ Version │ Address │ Id │ +├─────────┼────────────────┼────────────────────────────────────────────────────────────────────┤ +│ 8.1.0 │ 127.0.0.1:9164 │ eu.opencloud.api.app-provider-abae6958-7e96-471f-919f-cb31cb81e5fb │ +└─────────┴────────────────┴────────────────────────────────────────────────────────────────────┘ +## Quelltext v8.1.0: LICENSE + + Apache License + Version 2.0, January 2004 +(keine Treffer für user limit / max users / license key in den Dienst-Konfigurationen = keine eingebaute Nutzergrenze gefunden) diff --git a/filesync/measurements/49-opencloud-entfernt.txt b/filesync/measurements/49-opencloud-entfernt.txt new file mode 100644 index 0000000..8878a84 --- /dev/null +++ b/filesync/measurements/49-opencloud-entfernt.txt @@ -0,0 +1,20 @@ +# 49 OpenCloud entfernen (2026-10-24T16:45:37Z) ++ cd /root/opencloud-compose ++ docker compose down -v ++ tail -2 + Volume opencloud-compose_opencloud-config Removed + Network opencloud-compose_opencloud-net Removed ++ cd /root ++ rm -rf opencloud-compose ++ docker image prune -af ++ tail -1 +Total reclaimed space: 543.9MB +0 +0 +/dev/sda1 75G 2.4G 70G 4% / ++ docker volume ls -q ++ wc -l ++ docker ps -aq ++ wc -l ++ tail -1 ++ df -h / diff --git a/filesync/measurements/50-seafile-install.txt b/filesync/measurements/50-seafile-install.txt new file mode 100644 index 0000000..333b5c8 --- /dev/null +++ b/filesync/measurements/50-seafile-install.txt @@ -0,0 +1,38 @@ +# 50 Seafile CE Installation (2026-10-24T16:46:53Z), Weg: manual.seafile.com/latest (= 13.0) setup_ce_by_docker, Dateien .env, seafile-server.yml, seadoc.yml, caddy.yml +# Gesetzt wurden nur die als Pflicht markierten Felder: SEAFILE_SERVER_HOSTNAME, SEAFILE_SERVER_PROTOCOL=https, JWT_PRIVATE_KEY +geänderte Zeilen gegenüber der offiziellen .env: 3 +SEAFILE_IMAGE=seafileltd/seafile-mc:13.0-latest +SEAFILE_MYSQL_DB_PASSWORD=PASSWORD +INIT_SEAFILE_MYSQL_ROOT_PASSWORD=ROOT_PASSWORD +INIT_SEAFILE_ADMIN_EMAIL=me@example.com +INIT_SEAFILE_ADMIN_PASSWORD=asecret +ENABLE_SEADOC=true +ENABLE_NOTIFICATION_SERVER=false +T0 16:45:52 UTC docker compose up -d + Container seafile-mysql Healthy + Container seadoc Starting + Container seadoc Started +compose up returned after 36.63 s + 16:46:29 +37.12 s POST /api2/auth-token/ HTTP 000 + 16:46:34 +41.76 s POST /api2/auth-token/ HTTP 502 + 16:46:37 +45.10 s POST /api2/auth-token/ HTTP 200 +Erste erfolgreiche Admin-Anmeldung mit me@example.com / asecret nach 45.12 s (16:46:37 UTC) +Zertifikat gültig: ssl_verify_result=0 +seadoc seafileltd/sdoc-server:2.0-latest Up 9 seconds +seafile seafileltd/seafile-mc:13.0-latest Up 9 seconds (health: starting) +seafile-caddy lucaslorentz/caddy-docker-proxy:2.12-alpine Up 15 seconds (healthy) +seafile-mysql mariadb:10.11 Up 14 seconds (healthy) +seafile-redis redis Up 14 seconds +## Version +seafile-server-13.0.28 +seafile-server-latest +seafileltd/sdoc-server:2.0-latest c97025a731ee 1.71GB +redis:latest 97ec88159e6d 213MB +mariadb:10.11 0d0945c57f75 459MB +seafileltd/seafile-mc:13.0-latest b0c90832126b 2.37GB +lucaslorentz/caddy-docker-proxy:2.12-alpine c0a1707abe58 86.8MB + 26 /opt/seafile/caddy.yml + 37 /opt/seafile/seadoc.yml + 103 /opt/seafile/seafile-server.yml + 87 /opt/seafile/.env + 253 total diff --git a/filesync/measurements/51-seafile-erstzugang.txt b/filesync/measurements/51-seafile-erstzugang.txt new file mode 100644 index 0000000..958846e --- /dev/null +++ b/filesync/measurements/51-seafile-erstzugang.txt @@ -0,0 +1,15 @@ +# 51 Seafile: Erstzugang mit den Werten aus der offiziellen .env (2026-10-24T16:47:08Z), von außen (Lab-Mac, anderes Netz) +# .env aus manual.seafile.com/13.0/repo/docker/ce/env, Felder INIT_SEAFILE_ADMIN_EMAIL=me@example.com, INIT_SEAFILE_ADMIN_PASSWORD=asecret (Handbuch: "Recommend modifications") +$ curl -d username=me@example.com -d password=asecret https://cloud.example.com/api2/auth-token/ -> Token erhalten (40 Zeichen, REDACTED) + account/info: email= me@example.com | is_staff= True | total= -2 + Admin-Bereich /api/v2.1/admin/users/ mit diesem Token: HTTP 200 +## Datenbank-Passwörter aus der .env (SEAFILE_MYSQL_DB_PASSWORD=PASSWORD, ROOT_PASSWORD): Port 3306 von außen? +seadoc 80/tcp +seafile 80/tcp +seafile-redis 6379/tcp +seafile-mysql 3306/tcp +seafile-caddy 0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp, 2019/tcp + 3306/6379 nicht auf dem Host veröffentlicht +## Admin-Passwort sofort geändert (16:47:09 UTC), Adresse bleibt me@example.com + PUT /api/v2.1/admin/users/me@example.com/ password=REDACTED -> HTTP 200 + danach asecret: HTTP 400 diff --git a/filesync/measurements/52-seafile-leerlauf.txt b/filesync/measurements/52-seafile-leerlauf.txt new file mode 100644 index 0000000..ad56769 --- /dev/null +++ b/filesync/measurements/52-seafile-leerlauf.txt @@ -0,0 +1,337 @@ +# 2026-10-24T17:03:49Z Leerlauf, kein Client verbunden, kein Browser offen +## free -m vorher + total used free shared buff/cache available +Mem: 3814 1493 257 5 2391 2320 +# docker stats --no-stream every 5 s for 300 s, containers matching /^seaf|^seadoc/, start 17:03:49 UTC +17:03:49 seadoc 0.01% 113.7MiB / 3.725GiB +17:03:49 seafile 0.43% 742.8MiB / 3.725GiB +17:03:49 seafile-redis 0.21% 4.297MiB / 3.725GiB +17:03:49 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:03:49 seafile-caddy 0.00% 16.09MiB / 3.725GiB +17:03:54 seadoc 0.01% 113.7MiB / 3.725GiB +17:03:54 seafile 3.32% 742.8MiB / 3.725GiB +17:03:54 seafile-redis 0.25% 4.297MiB / 3.725GiB +17:03:54 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:03:54 seafile-caddy 0.00% 16.09MiB / 3.725GiB +17:03:59 seadoc 0.01% 113.7MiB / 3.725GiB +17:03:59 seafile 0.57% 743.4MiB / 3.725GiB +17:03:59 seafile-redis 0.29% 4.297MiB / 3.725GiB +17:03:59 seafile-mysql 0.01% 108MiB / 3.725GiB +17:03:59 seafile-caddy 0.50% 16.3MiB / 3.725GiB +17:04:04 seadoc 0.00% 113.7MiB / 3.725GiB +17:04:04 seafile 0.44% 743.4MiB / 3.725GiB +17:04:04 seafile-redis 0.21% 4.297MiB / 3.725GiB +17:04:04 seafile-mysql 0.02% 108MiB / 3.725GiB +17:04:04 seafile-caddy 0.00% 16.3MiB / 3.725GiB +17:04:09 seadoc 0.01% 113.7MiB / 3.725GiB +17:04:09 seafile 0.48% 743.4MiB / 3.725GiB +17:04:09 seafile-redis 0.25% 4.297MiB / 3.725GiB +17:04:09 seafile-mysql 0.04% 108MiB / 3.725GiB +17:04:09 seafile-caddy 0.07% 16.3MiB / 3.725GiB +17:04:14 seadoc 0.01% 113.7MiB / 3.725GiB +17:04:14 seafile 0.39% 743.4MiB / 3.725GiB +17:04:14 seafile-redis 0.26% 4.297MiB / 3.725GiB +17:04:14 seafile-mysql 0.02% 108MiB / 3.725GiB +17:04:14 seafile-caddy 0.00% 16.31MiB / 3.725GiB +17:04:19 seadoc 0.01% 113.7MiB / 3.725GiB +17:04:19 seafile 4.49% 743.4MiB / 3.725GiB +17:04:19 seafile-redis 0.26% 4.297MiB / 3.725GiB +17:04:19 seafile-mysql 0.03% 108MiB / 3.725GiB +17:04:19 seafile-caddy 0.00% 16.31MiB / 3.725GiB +17:04:24 seadoc 0.02% 113.7MiB / 3.725GiB +17:04:24 seafile 0.36% 743.4MiB / 3.725GiB +17:04:24 seafile-redis 0.25% 4.297MiB / 3.725GiB +17:04:24 seafile-mysql 0.02% 108MiB / 3.725GiB +17:04:24 seafile-caddy 0.00% 16.31MiB / 3.725GiB +17:04:29 seadoc 0.01% 113.7MiB / 3.725GiB +17:04:29 seafile 0.61% 743.4MiB / 3.725GiB +17:04:29 seafile-redis 0.29% 4.297MiB / 3.725GiB +17:04:29 seafile-mysql 0.03% 108MiB / 3.725GiB +17:04:29 seafile-caddy 0.00% 16.32MiB / 3.725GiB +17:04:34 seadoc 0.01% 113.7MiB / 3.725GiB +17:04:34 seafile 0.62% 743.4MiB / 3.725GiB +17:04:34 seafile-redis 0.26% 4.297MiB / 3.725GiB +17:04:34 seafile-mysql 0.02% 108MiB / 3.725GiB +17:04:34 seafile-caddy 0.00% 16.32MiB / 3.725GiB +17:04:39 seadoc 0.01% 113.7MiB / 3.725GiB +17:04:39 seafile 0.51% 743.4MiB / 3.725GiB +17:04:39 seafile-redis 0.28% 4.297MiB / 3.725GiB +17:04:39 seafile-mysql 0.02% 108MiB / 3.725GiB +17:04:39 seafile-caddy 0.06% 16.32MiB / 3.725GiB +17:04:44 seadoc 0.01% 113.7MiB / 3.725GiB +17:04:44 seafile 0.52% 743.4MiB / 3.725GiB +17:04:44 seafile-redis 0.24% 4.297MiB / 3.725GiB +17:04:44 seafile-mysql 0.02% 108MiB / 3.725GiB +17:04:44 seafile-caddy 0.00% 16.32MiB / 3.725GiB +17:04:49 seadoc 0.01% 113.7MiB / 3.725GiB +17:04:49 seafile 4.47% 743.4MiB / 3.725GiB +17:04:49 seafile-redis 0.30% 4.297MiB / 3.725GiB +17:04:49 seafile-mysql 0.02% 108MiB / 3.725GiB +17:04:49 seafile-caddy 0.00% 16.32MiB / 3.725GiB +17:04:54 seadoc 0.00% 113.7MiB / 3.725GiB +17:04:54 seafile 4.42% 743.4MiB / 3.725GiB +17:04:54 seafile-redis 0.21% 4.297MiB / 3.725GiB +17:04:54 seafile-mysql 0.02% 108MiB / 3.725GiB +17:04:54 seafile-caddy 0.00% 16.33MiB / 3.725GiB +17:04:59 seadoc 4.11% 113.7MiB / 3.725GiB +17:04:59 seafile 0.56% 743.4MiB / 3.725GiB +17:04:59 seafile-redis 0.22% 4.297MiB / 3.725GiB +17:04:59 seafile-mysql 0.08% 107.9MiB / 3.725GiB +17:04:59 seafile-caddy 0.00% 16.33MiB / 3.725GiB +17:05:04 seadoc 0.01% 113.7MiB / 3.725GiB +17:05:04 seafile 0.75% 743.4MiB / 3.725GiB +17:05:04 seafile-redis 0.28% 4.297MiB / 3.725GiB +17:05:04 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:05:04 seafile-caddy 0.00% 16.32MiB / 3.725GiB +17:05:09 seadoc 0.01% 113.7MiB / 3.725GiB +17:05:09 seafile 0.50% 743.4MiB / 3.725GiB +17:05:09 seafile-redis 0.27% 4.297MiB / 3.725GiB +17:05:09 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:05:09 seafile-caddy 0.00% 16.32MiB / 3.725GiB +17:05:14 seadoc 0.01% 113.7MiB / 3.725GiB +17:05:14 seafile 0.37% 743.4MiB / 3.725GiB +17:05:14 seafile-redis 0.24% 4.297MiB / 3.725GiB +17:05:14 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:05:14 seafile-caddy 0.00% 16.33MiB / 3.725GiB +17:05:19 seadoc 0.01% 113.7MiB / 3.725GiB +17:05:19 seafile 0.40% 743.4MiB / 3.725GiB +17:05:19 seafile-redis 0.24% 4.297MiB / 3.725GiB +17:05:19 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:05:19 seafile-caddy 0.00% 16.33MiB / 3.725GiB +17:05:24 seadoc 0.00% 113.7MiB / 3.725GiB +17:05:24 seafile 0.40% 743.4MiB / 3.725GiB +17:05:24 seafile-redis 0.23% 4.297MiB / 3.725GiB +17:05:24 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:05:24 seafile-caddy 0.00% 16.33MiB / 3.725GiB +17:05:29 seadoc 4.57% 113.7MiB / 3.725GiB +17:05:29 seafile 2.24% 743.4MiB / 3.725GiB +17:05:29 seafile-redis 0.23% 4.297MiB / 3.725GiB +17:05:29 seafile-mysql 0.08% 107.9MiB / 3.725GiB +17:05:29 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:05:34 seadoc 0.00% 113.7MiB / 3.725GiB +17:05:34 seafile 0.68% 743.4MiB / 3.725GiB +17:05:34 seafile-redis 0.28% 4.297MiB / 3.725GiB +17:05:34 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:05:34 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:05:39 seadoc 0.01% 113.7MiB / 3.725GiB +17:05:39 seafile 0.50% 743.4MiB / 3.725GiB +17:05:39 seafile-redis 0.26% 4.297MiB / 3.725GiB +17:05:39 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:05:39 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:05:44 seadoc 0.00% 113.7MiB / 3.725GiB +17:05:44 seafile 0.42% 743.4MiB / 3.725GiB +17:05:44 seafile-redis 0.27% 4.297MiB / 3.725GiB +17:05:44 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:05:44 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:05:49 seadoc 0.01% 113.7MiB / 3.725GiB +17:05:49 seafile 4.45% 743.4MiB / 3.725GiB +17:05:49 seafile-redis 0.24% 4.297MiB / 3.725GiB +17:05:49 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:05:49 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:05:54 seadoc 0.01% 113.7MiB / 3.725GiB +17:05:54 seafile 0.51% 743.4MiB / 3.725GiB +17:05:54 seafile-redis 0.28% 4.297MiB / 3.725GiB +17:05:54 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:05:54 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:06:00 seadoc 4.81% 113.7MiB / 3.725GiB +17:06:00 seafile 0.46% 743.4MiB / 3.725GiB +17:06:00 seafile-redis 0.25% 4.297MiB / 3.725GiB +17:06:00 seafile-mysql 0.06% 107.9MiB / 3.725GiB +17:06:00 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:06:05 seadoc 0.01% 113.7MiB / 3.725GiB +17:06:05 seafile 8.41% 743.4MiB / 3.725GiB +17:06:05 seafile-redis 0.30% 4.297MiB / 3.725GiB +17:06:05 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:06:05 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:06:10 seadoc 0.00% 113.7MiB / 3.725GiB +17:06:10 seafile 0.47% 743.4MiB / 3.725GiB +17:06:10 seafile-redis 0.27% 4.297MiB / 3.725GiB +17:06:10 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:06:10 seafile-caddy 0.05% 16.35MiB / 3.725GiB +17:06:15 seadoc 0.01% 113.7MiB / 3.725GiB +17:06:15 seafile 0.50% 743.4MiB / 3.725GiB +17:06:15 seafile-redis 0.26% 4.297MiB / 3.725GiB +17:06:15 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:06:15 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:06:20 seadoc 0.00% 113.7MiB / 3.725GiB +17:06:20 seafile 0.36% 743.4MiB / 3.725GiB +17:06:20 seafile-redis 0.25% 4.297MiB / 3.725GiB +17:06:20 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:06:20 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:06:25 seadoc 0.01% 113.7MiB / 3.725GiB +17:06:25 seafile 0.43% 743.4MiB / 3.725GiB +17:06:25 seafile-redis 0.25% 4.297MiB / 3.725GiB +17:06:25 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:06:25 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:06:30 seadoc 0.19% 113.8MiB / 3.725GiB +17:06:30 seafile 0.39% 743.4MiB / 3.725GiB +17:06:30 seafile-redis 0.22% 4.297MiB / 3.725GiB +17:06:30 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:06:30 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:06:35 seadoc 0.01% 113.8MiB / 3.725GiB +17:06:35 seafile 5.72% 743.4MiB / 3.725GiB +17:06:35 seafile-redis 0.33% 4.297MiB / 3.725GiB +17:06:35 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:06:35 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:06:40 seadoc 0.01% 113.8MiB / 3.725GiB +17:06:40 seafile 62.71% 809.5MiB / 3.725GiB +17:06:40 seafile-redis 0.25% 4.297MiB / 3.725GiB +17:06:40 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:06:40 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:06:45 seadoc 0.01% 113.8MiB / 3.725GiB +17:06:45 seafile 0.46% 743.4MiB / 3.725GiB +17:06:45 seafile-redis 0.27% 4.297MiB / 3.725GiB +17:06:45 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:06:45 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:06:50 seadoc 0.01% 113.8MiB / 3.725GiB +17:06:50 seafile 0.49% 743.4MiB / 3.725GiB +17:06:50 seafile-redis 0.26% 4.297MiB / 3.725GiB +17:06:50 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:06:50 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:06:55 seadoc 0.00% 113.8MiB / 3.725GiB +17:06:55 seafile 4.96% 743.4MiB / 3.725GiB +17:06:55 seafile-redis 0.29% 4.297MiB / 3.725GiB +17:06:55 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:06:55 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:07:00 seadoc 4.71% 113.8MiB / 3.725GiB +17:07:00 seafile 0.45% 743.4MiB / 3.725GiB +17:07:00 seafile-redis 0.24% 4.297MiB / 3.725GiB +17:07:00 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:07:00 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:07:05 seadoc 0.00% 113.8MiB / 3.725GiB +17:07:05 seafile 8.73% 743.4MiB / 3.725GiB +17:07:05 seafile-redis 0.28% 4.297MiB / 3.725GiB +17:07:05 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:07:05 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:07:10 seadoc 0.00% 113.8MiB / 3.725GiB +17:07:10 seafile 7.31% 743.4MiB / 3.725GiB +17:07:10 seafile-redis 0.28% 4.297MiB / 3.725GiB +17:07:10 seafile-mysql 0.12% 107.9MiB / 3.725GiB +17:07:10 seafile-caddy 0.00% 16.35MiB / 3.725GiB +17:07:15 seadoc 0.00% 113.8MiB / 3.725GiB +17:07:15 seafile 0.43% 743.4MiB / 3.725GiB +17:07:15 seafile-redis 0.26% 4.297MiB / 3.725GiB +17:07:15 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:07:15 seafile-caddy 0.00% 15.72MiB / 3.725GiB +17:07:20 seadoc 0.00% 113.8MiB / 3.725GiB +17:07:20 seafile 0.56% 743.4MiB / 3.725GiB +17:07:20 seafile-redis 0.27% 4.297MiB / 3.725GiB +17:07:20 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:07:20 seafile-caddy 0.00% 15.72MiB / 3.725GiB +17:07:25 seadoc 0.00% 113.8MiB / 3.725GiB +17:07:25 seafile 0.34% 743.4MiB / 3.725GiB +17:07:25 seafile-redis 0.23% 4.297MiB / 3.725GiB +17:07:25 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:07:25 seafile-caddy 0.00% 15.72MiB / 3.725GiB +17:07:30 seadoc 0.00% 113.8MiB / 3.725GiB +17:07:30 seafile 0.47% 743.4MiB / 3.725GiB +17:07:30 seafile-redis 0.27% 4.297MiB / 3.725GiB +17:07:30 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:07:30 seafile-caddy 0.00% 15.72MiB / 3.725GiB +17:07:35 seadoc 0.02% 113.8MiB / 3.725GiB +17:07:35 seafile 5.55% 743.4MiB / 3.725GiB +17:07:35 seafile-redis 0.27% 4.297MiB / 3.725GiB +17:07:35 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:07:35 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:07:40 seadoc 0.00% 113.8MiB / 3.725GiB +17:07:40 seafile 3.03% 743.4MiB / 3.725GiB +17:07:40 seafile-redis 0.27% 4.297MiB / 3.725GiB +17:07:40 seafile-mysql 0.13% 107.9MiB / 3.725GiB +17:07:40 seafile-caddy 0.05% 15.73MiB / 3.725GiB +17:07:45 seadoc 0.00% 113.8MiB / 3.725GiB +17:07:45 seafile 0.48% 743.4MiB / 3.725GiB +17:07:45 seafile-redis 0.27% 4.297MiB / 3.725GiB +17:07:45 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:07:45 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:07:50 seadoc 0.00% 113.8MiB / 3.725GiB +17:07:50 seafile 4.38% 743.4MiB / 3.725GiB +17:07:50 seafile-redis 0.23% 4.297MiB / 3.725GiB +17:07:50 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:07:50 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:07:55 seadoc 0.00% 113.8MiB / 3.725GiB +17:07:55 seafile 0.41% 743.4MiB / 3.725GiB +17:07:55 seafile-redis 0.24% 4.297MiB / 3.725GiB +17:07:55 seafile-mysql 0.03% 107.9MiB / 3.725GiB +17:07:55 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:08:01 seadoc 0.00% 113.8MiB / 3.725GiB +17:08:01 seafile 0.46% 743.4MiB / 3.725GiB +17:08:01 seafile-redis 0.25% 4.297MiB / 3.725GiB +17:08:01 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:08:01 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:08:06 seadoc 0.00% 113.8MiB / 3.725GiB +17:08:06 seafile 3.55% 743.4MiB / 3.725GiB +17:08:06 seafile-redis 0.31% 4.297MiB / 3.725GiB +17:08:06 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:08:06 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:08:11 seadoc 0.00% 113.8MiB / 3.725GiB +17:08:11 seafile 7.08% 743.4MiB / 3.725GiB +17:08:11 seafile-redis 0.30% 4.297MiB / 3.725GiB +17:08:11 seafile-mysql 0.13% 107.9MiB / 3.725GiB +17:08:11 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:08:16 seadoc 0.00% 113.8MiB / 3.725GiB +17:08:16 seafile 4.19% 743.4MiB / 3.725GiB +17:08:16 seafile-redis 0.26% 4.297MiB / 3.725GiB +17:08:16 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:08:16 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:08:21 seadoc 0.01% 113.8MiB / 3.725GiB +17:08:21 seafile 0.50% 743.4MiB / 3.725GiB +17:08:21 seafile-redis 0.29% 4.297MiB / 3.725GiB +17:08:21 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:08:21 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:08:26 seadoc 0.00% 113.8MiB / 3.725GiB +17:08:26 seafile 0.43% 743.4MiB / 3.725GiB +17:08:26 seafile-redis 0.30% 4.297MiB / 3.725GiB +17:08:26 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:08:26 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:08:31 seadoc 0.00% 113.8MiB / 3.725GiB +17:08:31 seafile 0.48% 743.4MiB / 3.725GiB +17:08:31 seafile-redis 0.28% 4.297MiB / 3.725GiB +17:08:31 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:08:31 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:08:36 seadoc 0.00% 113.8MiB / 3.725GiB +17:08:36 seafile 0.46% 743.5MiB / 3.725GiB +17:08:36 seafile-redis 0.25% 4.297MiB / 3.725GiB +17:08:36 seafile-mysql 0.01% 107.9MiB / 3.725GiB +17:08:36 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:08:41 seadoc 0.00% 113.8MiB / 3.725GiB +17:08:41 seafile 6.08% 743.4MiB / 3.725GiB +17:08:41 seafile-redis 0.30% 4.297MiB / 3.725GiB +17:08:41 seafile-mysql 0.12% 107.9MiB / 3.725GiB +17:08:41 seafile-caddy 0.00% 15.73MiB / 3.725GiB +17:08:46 seadoc 0.00% 113.8MiB / 3.725GiB +17:08:46 seafile 0.35% 743.4MiB / 3.725GiB +17:08:46 seafile-redis 0.22% 4.297MiB / 3.725GiB +17:08:46 seafile-mysql 0.02% 107.9MiB / 3.725GiB +17:08:46 seafile-caddy 0.00% 15.73MiB / 3.725GiB + +container samples CPU% mean CPU% max RAM MiB mean RAM MiB max +seadoc 60 0.31 4.81 113.7 113.8 +seafile 60 2.91 62.71 744.5 809.5 +seafile-caddy 60 0.01 0.50 16.1 16.4 +seafile-mysql 60 0.03 0.13 107.9 108.0 +seafile-redis 60 0.26 0.33 4.3 4.3 +TOTAL (sum per sample) 60 3.52 62.98 986.6 1051.8 +## free -m nachher + total used free shared buff/cache available +Mem: 3814 1514 269 5 2366 2299 +## Container +seadoc seafileltd/sdoc-server:2.0-latest Up 22 minutes +seafile seafileltd/seafile-mc:13.0-latest Up 22 minutes (healthy) +seafile-redis redis Up 22 minutes +seafile-mysql mariadb:10.11 Up 22 minutes (healthy) +seafile-caddy lucaslorentz/caddy-docker-proxy:2.12-alpine Up 22 minutes (healthy) +## Images +seafileltd/sdoc-server:2.0-latest c97025a731ee 1.71GB +redis:latest 97ec88159e6d 213MB +mariadb:10.11 0d0945c57f75 459MB +seafileltd/seafile-mc:13.0-latest b0c90832126b 2.37GB +lucaslorentz/caddy-docker-proxy:2.12-alpine c0a1707abe58 86.8MB +## docker system df +TYPE TOTAL ACTIVE SIZE RECLAIMABLE +Images 5 5 4.838GB 0B (0%) +Containers 5 5 29.2MB 0B (0%) +Local Volumes 0 0 0B 0B +Build Cache 0 0 0B 0B +## Platte +/dev/sda1 75G 7.2G 65G 10% / +3.5G /var/lib/docker diff --git a/filesync/measurements/60-seafile-hochladen.txt b/filesync/measurements/60-seafile-hochladen.txt new file mode 100644 index 0000000..a286834 --- /dev/null +++ b/filesync/measurements/60-seafile-hochladen.txt @@ -0,0 +1,34 @@ +# 60 Seafile: Hochladen des Testsatzes (5000 Dateien 194,5 MiB + 1 Datei 2,00 GiB), 2026-10-24 +# official = seaf-cli 9.0.4 (Ubuntu-Paket, Seafile-Repo nicht erreichbar, siehe 02), je Lauf neue Bibliothek, Zeit bis Status "synchronized" +# Serverlast: Host-CPU (2 vCPU = 100 %) und RAM im 1-s-Takt + +=== sf official Lauf 1 === +start 17:09:50 UTC, Bibliothek up-official-1 +ende 17:10:15 UTC, Dauer 24.45 s, gesendet 2365.0 MB +Server: 5001 Dateien, 2351380818 Bytes +Bibliothek gelöscht: HTTP 200 +server load: 32 samples, CPU mean 38.0 %, CPU max 99.5 % (2 vCPU = 100 %), RAM used mean 1512 MiB, max 1572 MiB + +=== sf official Lauf 2 === +start 17:10:25 UTC, Bibliothek up-official-2 +ende 17:10:47 UTC, Dauer 22.51 s, gesendet 2364.8 MB +Server: 5001 Dateien, 2351380818 Bytes +Bibliothek gelöscht: HTTP 200 +server load: 32 samples, CPU mean 41.2 %, CPU max 99.5 % (2 vCPU = 100 %), RAM used mean 1554 MiB, max 1578 MiB + +=== sf official Lauf 3 === +start 17:10:58 UTC, Bibliothek up-official-3 +ende 17:11:21 UTC, Dauer 23.17 s, gesendet 2365.3 MB +Server: 5001 Dateien, 2351380818 Bytes +Bibliothek gelöscht: HTTP 200 +server load: 32 samples, CPU mean 42.5 %, CPU max 100.0 % (2 vCPU = 100 %), RAM used mean 1571 MiB, max 1583 MiB + +# rclone v1.75.2 webdav vendor=other gegen SeafDAV (nach Einschalten, siehe 61) +=== sf rclone Lauf 1 === +start 17:12:27 UTC, Bibliothek up-rclone-1 +rclone exit 0 +ende 17:26:00 UTC, Dauer 813.12 s, gesendet 2363.7 MB +Server: 5001 Dateien, 2351380818 Bytes +Bibliothek gelöscht: HTTP 200 +server load: 820 samples, CPU mean 85.5 %, CPU max 100.0 % (2 vCPU = 100 %), RAM used mean 1556 MiB, max 1706 MiB +# rclone Lauf 2 und 3 nicht gefahren (Lauf 1: 13,6 min, Zeitbudget); seaf-cli-Läufe streuen um 8 %. diff --git a/filesync/measurements/61-seafile-webdav.txt b/filesync/measurements/61-seafile-webdav.txt new file mode 100644 index 0000000..3c19392 --- /dev/null +++ b/filesync/measurements/61-seafile-webdav.txt @@ -0,0 +1,16 @@ +# 61 Seafile: WebDAV (SeafDAV) für den einheitlichen rclone-Vergleich einschalten (2026-10-24T17:11:39Z) +# Standard: aus. Änderung laut Handbuch (Extensions > WebDAV extension): seafdav.conf enabled = true, Container neu starten ++ sed -i 's/^enabled = false/enabled = true/' /opt/seafile-data/seafile/conf/seafdav.conf ++ cat /opt/seafile-data/seafile/conf/seafdav.conf + +[WEBDAV] +enabled = true +port = 8080 +share_name = /seafdav ++ cd /opt/seafile ++ docker compose restart seafile ++ tail -1 + Container seafile Started ++ sleep 25 +PROPFIND /seafdav/ ohne Anmeldung: 401 +creds ok diff --git a/filesync/measurements/62-seafile-aenderung.txt b/filesync/measurements/62-seafile-aenderung.txt new file mode 100644 index 0000000..a5aaa38 --- /dev/null +++ b/filesync/measurements/62-seafile-aenderung.txt @@ -0,0 +1,40 @@ +# 62 Seafile: Änderung auf Client A, Zeit bis sie auf Client B liegt (2026-10-24) +# Beide seaf-cli-Daemons laufen dauerhaft (der übliche Betrieb des offiziellen Clients); A schreibt eine Datei, B wartet. +# Server mit Standard-.env: ENABLE_NOTIFICATION_SERVER=false + Lauf 1: Datei bei B nach 30.98 s + Lauf 2: Datei bei B nach 30.00 s + Lauf 3: Datei bei B nach 30.08 s + Lauf 4: Datei bei B nach 29.94 s + Lauf 5: Datei bei B nach 30.00 s +Mittel 30.20 s, Median 30.00 s, min 29.94, max 30.98 (n=5) + +## Variante 2026-10-24T17:58:04Z: Notification Server eingeschaltet, Schritte wörtlich aus manual.seafile.com/13.0/extension/notification-server/ ++ cd /opt/seafile ++ wget -q https://manual.seafile.com/13.0/repo/docker/notification-server.yml ++ sed -i 's/^COMPOSE_FILE=.*/COMPOSE_FILE='\''seafile-server.yml,caddy.yml,seadoc.yml,notification-server.yml'\''/' .env ++ sed -i 's/^ENABLE_NOTIFICATION_SERVER=.*/ENABLE_NOTIFICATION_SERVER=true/' .env ++ grep -E '^COMPOSE_FILE|^ENABLE_NOTIF' .env +COMPOSE_FILE='seafile-server.yml,caddy.yml,seadoc.yml,notification-server.yml' +ENABLE_NOTIFICATION_SERVER=true ++ tail -1 ++ docker compose down + Network seafile-net Removed ++ docker compose up -d ++ tail -1 + Container notification-server Started ++ sleep 40 ++ curl -s https://cloud.example.com/notification/ping +{"ret": "pong"} + ++ echo +[10/24/26 17:59:19] sync-mgr.c(1749): Notification server is enabled on the remote server https://cloud.example.com. +[10/24/26 17:59:20] sync-mgr.c(1749): Notification server is enabled on the remote server https://cloud.example.com. +# Erster Versuch nach dem Umschalten (17:59) lief ins Zeitlimit (300 s je Lauf): Fehler im Messskript, Client B hing noch an der +# alten Bibliothek gleichen Namens (kein desync vor dem Neuanlegen). Behoben, Wiederholung: + Lauf 1: Datei bei B nach 2.56 s + Lauf 2: Datei bei B nach 1.99 s + Lauf 3: Datei bei B nach 2.01 s + Lauf 4: Datei bei B nach 3.00 s + Lauf 5: Datei bei B nach 2.95 s +Mittel 2.50 s, Median 2.56 s, min 1.99, max 3.00 (n=5) mit Notification Server +# Befund: Mit der Standard-.env (ENABLE_NOTIFICATION_SERVER=false) fragt der Client den Server periodisch ab, B bekam jede Änderung nach rund 30 s. Mit dem Notification Server (eine zusätzliche Compose-Datei, ein Schalter) rund 2,5 s. diff --git a/filesync/measurements/63-seafile-delta.txt b/filesync/measurements/63-seafile-delta.txt new file mode 100644 index 0000000..02a8465 --- /dev/null +++ b/filesync/measurements/63-seafile-delta.txt @@ -0,0 +1,6 @@ +# 63 Seafile: 1 MiB in einer 2-GiB-Datei geändert, was geht über die Leitung (2026-10-24T17:29:26Z), offizieller Client seaf-cli +# Bytes = iptables-Zähler OUTPUT, Ziel Server-IP, nur Prozesse des Nutzers clienta (inkl. TLS/HTTP-Overhead) +Erstabgleich (nicht bewertet): 14.47 s, gesendet 2157.6 MB +Änderung: dd 1 MiB Zufall an Offset 1024 MiB (conv=notrunc), Dateigröße bleibt 2 GiB +Sync nach Änderung: 10.09 s (inkl. Erkennung), gesendet 21.1 MB +Server: 1 Dateien, 2147483648 Bytes diff --git a/filesync/measurements/64-seafile-konflikt.txt b/filesync/measurements/64-seafile-konflikt.txt new file mode 100644 index 0000000..9d8aaec --- /dev/null +++ b/filesync/measurements/64-seafile-konflikt.txt @@ -0,0 +1,11 @@ +# 64 Seafile: Konflikt, dieselbe Datei auf A und B offline geändert (2026-10-24T17:30:10Z), offizieller Client seaf-cli +Ausgangslage: A: angebot.txt | B: angebot.txt +17:30:48 beide Daemons gestoppt (offline) +17:30:52 A wieder online +17:31:04 B wieder online +Ergebnis 17:31:52: + A angebot.txt: Angebot Version A (Preis 900) + A angebot.txt (SFConflict me 2026-Oct-24-17-31-07).txt: Angebot Version B (Preis 1200) + B angebot.txt: Angebot Version A (Preis 900) + B angebot.txt (SFConflict me 2026-Oct-24-17-31-07).txt: Angebot Version B (Preis 1200) + Server: ['angebot.txt', 'angebot.txt (SFConflict me 2026-Oct-24-17-31-07).txt'] diff --git a/filesync/measurements/65-seafile-geloescht.txt b/filesync/measurements/65-seafile-geloescht.txt new file mode 100644 index 0000000..9ce6500 --- /dev/null +++ b/filesync/measurements/65-seafile-geloescht.txt @@ -0,0 +1,21 @@ +# 65 Seafile: Ordner mit 5000 Dateien auf Client A gelöscht (2026-10-24T17:31:59Z), offizieller Client seaf-cli +Abgleich A und B: 35.75 s; A 5000, B 5000 Dateien; Server 5000 Dateien, 203897170 Bytes +17:32:42 A löscht den Ordner projekt (rm -rf) + TIMEOUT Status: error Waiting for confirmation to delete files + A synchronisiert nach 303.59 s, Status A: error Waiting for confirmation to delete files +17:39:46 B: 5000 Dateien (nach 424.04 s), Status B: synchronized ; Server 5000 Dateien, 203897170 Bytes +[10/24/26 17:32:46] sync-mgr.c(1035): Delete more than 500 files, add delete confirmation. +# Befund Teil 1: Der Seafile-Client überträgt die Löschung von 5000 Dateien NICHT. Ab mehr als 500 gelöschten Dateien +# (MAX_DELETED_FILES_NUM, Einstellung delete_confirm_threshold) hält er die Bibliothek an: Status "error / Waiting for +# confirmation to delete files". Server und Client B behalten alle 5000 Dateien. Der Daemon sieht dafür eine +# Bestätigung über die Desktop-App vor (Schnittstelle seafile_add_del_confirmation im Daemon); seaf-cli bietet keinen Bestätigungsbefehl. (Messschleife nach 10 min abgebrochen, Status unverändert.) + +## Teil 2: Löschung freigegeben, dann Wiederherstellung +17:43:06 seaf-cli config -k delete_confirm_threshold -v 100000 (entspricht dem Bestätigen der Löschung), Daemon A neu gestartet + Server leer nach 3.32 s: 0 Dateien, 0 Bytes +17:43:35 B: 0 Dateien (nach 27.53 s) +17:43:35 Papierkorb der Bibliothek: + [('projekt', '/', True)] + (erster Restore-Aufruf an einen falschen Endpunkt, HTTP 400 "path invalid", nicht gewertet; richtig ist POST /api/v2.1/repos//trash/revert-dirents/) +17:53:40 Wiederherstellen (wie der Knopf im Papierkorb der Weboberfläche): HTTP 200 {"failed":[],"success":[{"path":"/projekt","is_dir":true}]}, Server nach 0.23 s: 5000 Dateien, 203897170 Bytes +17:54:38 A 5000, B 5000 Dateien; vom Restore-Start bis beide Clients vollständig 57.92 s diff --git a/filesync/measurements/66-seafile-oberflaeche.txt b/filesync/measurements/66-seafile-oberflaeche.txt new file mode 100644 index 0000000..4f9d7d6 --- /dev/null +++ b/filesync/measurements/66-seafile-oberflaeche.txt @@ -0,0 +1,7 @@ +# 66 Seafile: Ladezeit der Dateiliste, Ordner mit 5000 Dateien (2026-10-24T17:56:17Z) +# Chromium headless (Playwright 1.56.1) auf ep19fs-cli, 1600x900, je Lauf neuer Kontext + frische Anmeldung. +# Zeit ab page.goto(Ordner-URL) bis erste Dateizeile sichtbar. Im DOM stehen danach 100 Zeilen. + Lauf 1: erste Dateizeile nach 1.52 s, Netzwerk ruhig nach 1.54 s, Zeilen im DOM: 100 + Lauf 2: erste Dateizeile nach 1.48 s, Netzwerk ruhig nach 1.56 s, Zeilen im DOM: 100 + Lauf 3: erste Dateizeile nach 1.51 s, Netzwerk ruhig nach 1.60 s, Zeilen im DOM: 100 + Mittel erste Zeile 1.51 s (n=3) diff --git a/filesync/measurements/67-seafile-freigabe.txt b/filesync/measurements/67-seafile-freigabe.txt new file mode 100644 index 0000000..d843f03 --- /dev/null +++ b/filesync/measurements/67-seafile-freigabe.txt @@ -0,0 +1,15 @@ +# 67 Seafile: Freigabelink ohne Passwort und ohne Ablauf (2026-10-24T17:56:44Z) +# 17:56:45 UTC: öffentlicher Link auf /freigabe, ohne Passwort und ohne Ablaufdatum angefordert (API v2.1 share-links, wie der Knopf in der Oberfläche) + HTTP 200 | is_expired = False | expire_date = | password gesetzt = False | permissions = {'can_edit': False, 'can_download': True, 'can_upload': False, 'can_copy_content': True} + anonymer Abruf des Links: 200 | Datei sichtbar: False +## seahub_settings.py (Server-Konfiguration nach der Installation): + keine SHARE_LINK-, LOGIN_ATTEMPT- oder FREEZE-Einträge gesetzt (Standardwerte von Seahub gelten) +423:SHARE_LINK_EXPIRE_DAYS_MIN = 0 # 0 means no limit +424:SHARE_LINK_EXPIRE_DAYS_MAX = 0 # 0 means no limit +428:SHARE_LINK_EXPIRE_DAYS_DEFAULT = 0 +439:SHARE_LINK_FORCE_USE_PASSWORD = False +442:SHARE_LINK_PASSWORD_MIN_LENGTH = 10 +863:LOGIN_ATTEMPT_LIMIT = 5 +865:FREEZE_USER_ON_LOGIN_FAILED = False # deactivate user account when login attempts exceed limit + anonymer Download /d//files/?p=/vertrag.txt&dl=1 ohne Anmeldung: 200 'Vertrag Entwurf' +# Befund: Link ohne Passwort und ohne Ablauf ist Standard (SHARE_LINK_FORCE_USE_PASSWORD = False, SHARE_LINK_EXPIRE_DAYS_* = 0). diff --git a/filesync/measurements/68-seafile-bruteforce.txt b/filesync/measurements/68-seafile-bruteforce.txt new file mode 100644 index 0000000..bfd901c --- /dev/null +++ b/filesync/measurements/68-seafile-bruteforce.txt @@ -0,0 +1,41 @@ +# 68 Seafile: falsche Anmeldungen (2026-10-24T17:57:10Z), vom Client-Server aus, Web-Anmeldeformular /accounts/login/ (mit CSRF-Token wie der Browser) +# 17:57:10 UTC: 10 falsche Passwörter für den Admin über das Anmeldeformular, danach das richtige + 17:57:11 Versuch 1 falsch : HTTP 200, Antwort nach 0.08 s, angemeldet=False captcha verlangtIncorrect email or password + 17:57:11 Versuch 2 falsch : HTTP 200, Antwort nach 0.07 s, angemeldet=False captcha verlangtIncorrect email or password + 17:57:11 Versuch 3 falsch : HTTP 200, Antwort nach 0.07 s, angemeldet=False captcha verlangtIncorrect email or password + 17:57:11 Versuch 4 falsch : HTTP 200, Antwort nach 0.07 s, angemeldet=False captcha verlangtIncorrect email or password + 17:57:11 Versuch 5 falsch : HTTP 200, Antwort nach 0.04 s, angemeldet=False captcha verlangt + 17:57:12 Versuch 6 falsch : HTTP 200, Antwort nach 0.10 s, angemeldet=False captcha verlangt + 17:57:12 Versuch 7 falsch : HTTP 200, Antwort nach 0.04 s, angemeldet=False captcha verlangt + 17:57:12 Versuch 8 falsch : HTTP 200, Antwort nach 0.08 s, angemeldet=False captcha verlangt + 17:57:12 Versuch 9 falsch : HTTP 200, Antwort nach 0.09 s, angemeldet=False captcha verlangt + 17:57:12 Versuch 10 falsch : HTTP 200, Antwort nach 0.07 s, angemeldet=False captcha verlangt + 17:57:13 Versuch 11 richtig: HTTP 200, Antwort nach 0.06 s, angemeldet=False captcha verlangt +## Gegenprobe: 15 falsche, dann das richtige Passwort + 17:57:15 Versuch 11 falsch : HTTP 200, Antwort nach 0.06 s captcha verlangt + 17:57:15 Versuch 12 falsch : HTTP 200, Antwort nach 0.08 s captcha verlangt + 17:57:16 Versuch 13 falsch : HTTP 200, Antwort nach 0.08 s captcha verlangt + 17:57:16 Versuch 14 falsch : HTTP 200, Antwort nach 0.06 s captcha verlangt + 17:57:16 Versuch 15 falsch : HTTP 200, Antwort nach 0.08 s captcha verlangt + richtiges Passwort danach (Formular ohne Captcha-Feld): HTTP 200 nach 0.08 s, angemeldet= False captcha verlangt + API /api2/auth-token/ mit richtigem Passwort danach: HTTP 400 +## Nachprüfung 17:57:28 UTC + vom Client-Server, API mit richtigem Passwort: {"token":"REDACTED"} HTTP 200 + vom Lab-Mac (andere IP), API mit richtigem Passwort: {"token":"REDACTED"} HTTP 200 +12:def get_login_failed_attempts(username=None, ip=None): +## Gleiches über die API /api2/auth-token/ (wie Clients und Skripte), 10 falsch, dann richtig, 17:57:38 UTC + Versuch 1 falsch: {"non_field_errors":["Unable to login with provided credentials."]} HTTP 400 0.077727s + Versuch 2 falsch: {"non_field_errors":["Unable to login with provided credentials."]} HTTP 400 0.083211s + Versuch 3 falsch: {"non_field_errors":["Unable to login with provided credentials."]} HTTP 400 0.087272s + Versuch 4 falsch: {"non_field_errors":["Unable to login with provided credentials."]} HTTP 400 0.088184s + Versuch 5 falsch: {"non_field_errors":["Unable to login with provided credentials."]} HTTP 400 0.087210s + Versuch 6 falsch: {"non_field_errors":["Unable to login with provided credentials."]} HTTP 400 0.079862s + Versuch 7 falsch: {"non_field_errors":["Unable to login with provided credentials."]} HTTP 400 0.065504s + Versuch 8 falsch: {"non_field_errors":["Unable to login with provided credentials."]} HTTP 400 0.083919s + Versuch 9 falsch: {"non_field_errors":["Unable to login with provided credentials."]} HTTP 400 0.082774s + Versuch 10 falsch: {"non_field_errors":["Unable to login with provided credentials."]} HTTP 400 0.051576s + Versuch 11 richtig: {"token":"REDACTED"} HTTP 200 0.068509s +# Befund: Das Web-Formular verlangt ab dem 5. Versuch ein Captcha (LOGIN_ATTEMPT_LIMIT = 5; ab Versuch 5 fehlt die Meldung "Incorrect email or password"); ohne Captcha geht dort auch das +# richtige Passwort nicht durch. Konten werden nicht gesperrt (FREEZE_USER_ON_LOGIN_FAILED = False). +# Die Token-API /api2/auth-token/ bremst nicht: 10 falsche Versuche in rund 1 s, jede Antwort unter 0,1 s, danach Token mit dem +# richtigen Passwort, auch unmittelbar nach der Formular-Sperre und von derselben IP. diff --git a/filesync/measurements/69-seafile-grenzen.txt b/filesync/measurements/69-seafile-grenzen.txt new file mode 100644 index 0000000..71d5fc6 --- /dev/null +++ b/filesync/measurements/69-seafile-grenzen.txt @@ -0,0 +1,20 @@ +# 69 Seafile: Edition, Lizenz, Grenzen (2026-10-24T18:19:23Z) +conf +logs +pids +pro-data +seafile-data +seafile-server-13.0.28 +seafile-server-latest +seahub-data +Copyright (c) 2016 Seafile Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +## seafile.com/en/download (abgerufen 2026-10-24): + You don't need a license file to run the pro edition for 3 users. +## forum.seafile.com: Thema "Seafile 14.0 Is Ready for Testing" vom 2026-10-15; manual.seafile.com versions.json: latest = 13.0 + [('14.0', []), ('13.0', ['latest']), ('12.0', []), ('11.0', [])] +## Im Handbuch 13.0 (Navigation) als "(Pro)" markiert, also nicht in der CE: + Use SeaSearch as search engine (Pro), Cluster installation (Pro), Virus Scan (Pro), LDAP Integration (Pro) (CE hat eine einfachere LDAP Integration), + SAML 2.0 (Pro), Advanced User Management (Pro), Office Online Server Integration (Pro), Advanced File Search configuration (Pro) +# Lizenz: seahub-Quelltext im Image Apache 2.0 (LICENSE.txt oben). Pro-Edition laut Downloadseite bis 3 Nutzer ohne Lizenzdatei. diff --git a/filesync/measurements/70-seafile-entfernt.txt b/filesync/measurements/70-seafile-entfernt.txt new file mode 100644 index 0000000..f19ec02 --- /dev/null +++ b/filesync/measurements/70-seafile-entfernt.txt @@ -0,0 +1,21 @@ +# 70 Seafile entfernen (2026-10-24T18:24:16Z) ++ du -sh /opt/seafile-data /opt/seafile-mysql +13G /opt/seafile-data +255M /opt/seafile-mysql ++ cd /opt/seafile ++ docker compose down -v ++ tail -1 + Network seafile-net Removed ++ rm -rf /opt/seafile /opt/seafile-data /opt/seafile-mysql /opt/seafile-caddy /opt/seadoc-data ++ tail -1 ++ docker image prune -af +Total reclaimed space: 5.086GB ++ docker volume ls -q ++ wc -l +0 ++ wc -l ++ docker ps -aq +0 ++ df -h / ++ tail -1 +/dev/sda1 75G 2.4G 70G 4% / diff --git a/filesync/measurements/90-aufraeumen.txt b/filesync/measurements/90-aufraeumen.txt new file mode 100644 index 0000000..b954e6a --- /dev/null +++ b/filesync/measurements/90-aufraeumen.txt @@ -0,0 +1,15 @@ +# 90 Aufräumen Hetzner (2026-10-24T18:25:10Z): alle ep19fs-Server, SSH-Schlüssel und Firewall löschen +DELETE server 172199694: delete_server running None +DELETE server 172199695: delete_server running None +DELETE ssh_key 131720793 (ep19fs-key): HTTP 204 +DELETE firewall 11881127 (ep19fs-fw): HTTP 204 + +## Kontrolle 2026-10-24T18:25:55Z: Bestand im Hetzner-Projekt +Server (Name, Typ): + selfhostedops-lab-cloud cpx22 + selfhostedops-restore cpx22 +davon mit Namensanfang ep19fs-: 0 +SSH-Schlüssel mit ep19fs: 0 +Firewalls mit ep19fs: 0 +Ressourcen mit Label lab=ep19fs (Server): 0 +Primary IPs gesamt: 4 diff --git a/filesync/run-upload.sh b/filesync/run-upload.sh new file mode 100755 index 0000000..a475e38 --- /dev/null +++ b/filesync/run-upload.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# run-upload.sh P MODE K : ein Hochlade-Lauf, vom Lab-Mac gesteuert (s = ssh mit Lab-Schlüssel, san = Anonymisierung) +P=$1; MODE=$2; K=$3 +[ -e /tmp/ep19-skip-$P-$MODE ] && { echo; echo "=== $P $MODE Lauf $K übersprungen (Zeitbudget, siehe Notiz) ==="; exit 0; } +echo; echo "=== $P $MODE Lauf $K ===" +s cli "bash /root/ep19fs/m.sh prep $P $MODE" +s srv "bash /root/ep19fs/sampler.sh start $P-$MODE-$K" +s cli "bash /root/ep19fs/m.sh up $P $MODE" +s srv "bash /root/ep19fs/sampler.sh stop $P-$MODE-$K" diff --git a/filesync/server/idle.sh b/filesync/server/idle.sh new file mode 100644 index 0000000..4255e9d --- /dev/null +++ b/filesync/server/idle.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +# idle.sh REGEX SECONDS: Leerlauf messen (docker stats je Container im 5-s-Takt + Host-RAM), dazu Platten- und Image-Bedarf +source /root/ep19fs/lib18.sh +echo "# $(date -u +%FT%TZ) Leerlauf, kein Client verbunden, kein Browser offen" +echo "## free -m vorher"; free -m | sed -n 1,2p +stats5 "$1" "$2" +echo "## free -m nachher"; free -m | sed -n 1,2p +echo "## Container"; docker ps -a --format '{{.Names}}\t{{.Image}}\t{{.Status}}' | grep -E "$1" +echo "## Images"; docker images --format '{{.Repository}}:{{.Tag}}\t{{.ID}}\t{{.Size}}' +echo "## docker system df"; docker system df +echo "## Platte"; df -h / | tail -1; du -sh /var/lib/docker 2>/dev/null diff --git a/filesync/server/lib18.sh b/filesync/server/lib18.sh new file mode 100644 index 0000000..c046ccc --- /dev/null +++ b/filesync/server/lib18.sh @@ -0,0 +1,50 @@ +#!/usr/bin/env bash +# ep18 Lab-Helfer auf der Box. Nur lesen/messen, keine Geheimnisse im Output. +now() { date +%s.%N; } +ts() { date -u +%H:%M:%S; } +el() { python3 -c "print(f'{float(\"$2\")-float(\"$1\"):.2f}')"; } + +# waitui URL [max_s]: wartet, bis die URL mit 2xx/3xx antwortet, druckt jede Änderung des Status +waitui() { local url=$1 max=${2:-300} t0=$(now) last=""; while :; do + c=$(curl -sk -o /dev/null -m 2 -w '%{http_code}' "$url"); + [ "$c" != "$last" ] && echo " $(ts) +$(el $t0 $(now)) s HTTP $c" && last=$c + case $c in 2*|3*) echo "UI reachable after $(el $t0 $(now)) s"; return 0;; esac + [ $(python3 -c "print(int(float('$(now)')-float('$t0')))") -ge $max ] && echo "TIMEOUT" && return 1; sleep 0.2; done; } + +# stats5 NAME_REGEX SECONDS: docker stats im 5-s-Takt, dann Mittel/Max je Container und Summe +stats5() { local re=$1 dur=${2:-300} f=$(mktemp) t0=$(date +%s); echo "# docker stats --no-stream every 5 s for $dur s, containers matching /$re/, start $(ts) UTC" + while [ $(( $(date +%s) - t0 )) -lt $dur ]; do s=$(date +%s.%N) + docker stats --no-stream --format '{{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}' | awk -F'\t' -v re="$re" '$1 ~ re' | sed "s/^/$(ts)\t/" | tee -a $f + sleep $(python3 -c "print(max(0,5-($(now)-$s)))"); done + python3 - $f <<'PY' +import sys,collections +u={'B':1/2**20,'KiB':1/1024,'MiB':1,'GiB':1024,'kB':1/1024/1000*1024,'MB':1} +def mib(s): + s=s.strip() + for k in ['GiB','MiB','KiB','kB','MB','B']: + if s.endswith(k): return float(s[:-len(k)])*u[k] +d=collections.defaultdict(lambda:{'cpu':[],'mem':[]}); per=collections.defaultdict(lambda:[0,0]) +for l in open(sys.argv[1]): + t,n,c,m=l.rstrip('\n').split('\t'); c=float(c.rstrip('%')); m=mib(m.split('/')[0]) + d[n]['cpu'].append(c); d[n]['mem'].append(m); per[t][0]+=c; per[t][1]+=m +print(f"\n{'container':40} {'samples':>7} {'CPU% mean':>9} {'CPU% max':>9} {'RAM MiB mean':>12} {'RAM MiB max':>11}") +for n,v in sorted(d.items()): + print(f"{n:40} {len(v['cpu']):7} {sum(v['cpu'])/len(v['cpu']):9.2f} {max(v['cpu']):9.2f} {sum(v['mem'])/len(v['mem']):12.1f} {max(v['mem']):11.1f}") +c=[x[0] for x in per.values()]; m=[x[1] for x in per.values()] +print(f"{'TOTAL (sum per sample)':40} {len(c):7} {sum(c)/len(c):9.2f} {max(c):9.2f} {sum(m)/len(m):12.1f} {max(m):11.1f}") +PY + rm -f $f; } + +# watchrun PROJECT N [max_s]: wartet, bis alle Container des Projekts mit RUN=N laufen; Zeit ab T0 (Env T0) +watchrun() { local p=$1 n=$2 max=${3:-180} t0=${T0:-$(now)}; while :; do + ids=$(docker ps -q --filter label=com.docker.compose.project=$p); ok=0; tot=0 + for i in $ids; do tot=$((tot+1)); docker inspect -f '{{range .Config.Env}}{{println .}}{{end}}{{.State.Running}}' $i 2>/dev/null | grep -q "^RUN=$n$" && ok=$((ok+1)); done + if [ $tot -ge 2 ] && [ $ok -eq $tot ]; then echo " RUN=$n: $ok/$tot containers running after $(el $t0 $(now)) s"; return 0; fi + [ $(python3 -c "print(int(float('$(now)')-float('$t0')))") -ge $max ] && echo " TIMEOUT RUN=$n ($ok/$tot)" && return 1; sleep 0.1; done; } + +# imgsize IMAGE...: Größe laut docker image ls (containerd-Speicher zeigt Plattenbedarf und Inhalt) +imgsize() { docker image ls --format 'table {{.Repository}}:{{.Tag}}\t{{.ID}}\t{{.Size}}' | head -1; for i in "$@"; do docker image ls --format '{{.Repository}}:{{.Tag}}\t{{.ID}}\t{{.Size}}' | grep -F "$i" ; done; for i in "$@"; do echo "$i inspect .Size = $(docker image inspect -f '{{.Size}}' $i | numfmt --to=iec-i --suffix=B)"; done; } + +# regdigest REPO TAG: Index-Digest auf Docker Hub (ohne buildx) +regdigest() { local t=$(curl -s "https://auth.docker.io/token?service=registry.docker.io&scope=repository:$1:pull" | jq -r .token) + curl -sI -H "Authorization: Bearer $t" -H 'Accept: application/vnd.oci.image.index.v1+json,application/vnd.docker.distribution.manifest.list.v2+json' "https://registry-1.docker.io/v2/$1/manifests/$2" | awk 'tolower($1)=="docker-content-digest:"{print $2}' | tr -d '\r'; } diff --git a/filesync/server/nc-install.sh b/filesync/server/nc-install.sh new file mode 100644 index 0000000..4e0faf7 --- /dev/null +++ b/filesync/server/nc-install.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +# Nextcloud All-in-One, Befehl wörtlich aus dem README (Schritt 3). Misst bis die AIO-Oberfläche antwortet. +source /root/ep19fs/lib.sh +echo "# $(date -u +%FT%TZ) docker images vorher: $(docker images -q | wc -l)" +T0=$(now); echo "T0 $(ts) UTC docker run mastercontainer" +docker run -d \ + --init \ + --sig-proxy=false \ + --name nextcloud-aio-mastercontainer \ + --restart always \ + --publish 80:80 \ + --publish 8080:8080 \ + --publish 8443:8443 \ + --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \ + --volume /var/run/docker.sock:/var/run/docker.sock:ro \ + ghcr.io/nextcloud-releases/all-in-one:latest >/dev/null +echo "docker run returned after $(el $T0 $(now)) s" +while :; do c=$(curl -sk -o /dev/null -m 2 -w '%{http_code}' https://localhost:8080/); case $c in 2*|3*) break;; esac; sleep 0.5; done +echo "AIO interface https://:8080 answers HTTP $c after $(el $T0 $(now)) s ($(ts) UTC)" +echo $T0 > /root/ep19fs/T0 diff --git a/filesync/server/oc-install.sh b/filesync/server/oc-install.sh new file mode 100644 index 0000000..6b87847 --- /dev/null +++ b/filesync/server/oc-install.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash +# OpenCloud, offizielles Compose (opencloud-compose, Weg "Default Setup with Traefik" ohne Collabora). +# Aufruf: oc-install.sh DOMAIN (Admin-Passwort aus /root/ep19fs/secrets: OC_ADMIN_PW) +source /root/ep19fs/lib.sh; source /root/ep19fs/secrets +D=$1; cd /root +git clone -q https://github.com/opencloud-eu/opencloud-compose.git && cd opencloud-compose && git log -1 --format='compose repo commit %h %cs' +cp .env.example .env +# Änderungen laut offizieller Anleitung (docs.opencloud.eu, Default Setup with Traefik): +sed -i 's/^INSECURE=true/# INSECURE=true/' .env +sed -i "s/^OC_DOMAIN=.*/OC_DOMAIN=$D/" .env +sed -i "s/^TRAEFIK_ACME_MAIL=.*/TRAEFIK_ACME_MAIL=you@your-real-domain.tld/" .env +sed -i "s/^INITIAL_ADMIN_PASSWORD=.*/INITIAL_ADMIN_PASSWORD=$OC_ADMIN_PW/" .env +echo 'COMPOSE_FILE=docker-compose.yml:traefik/opencloud.yml' >> .env +echo "geänderte Zeilen gegenüber .env.example: $(diff .env.example .env | grep -c '^>')" +T0=$(now); echo "T0 $(ts) UTC docker compose up -d" +docker compose up -d 2>&1 | tail -3 +echo "compose up returned after $(el $T0 $(now)) s" +echo $T0 > /root/ep19fs/T0 +# Warten bis die Admin-Anmeldung am eingebauten IdP klappt (gleicher Aufruf wie das Anmeldeformular) +U=https://$D; last="" +while :; do + r=$(curl -s -m 5 -o /tmp/oclogon -w '%{http_code}' -X POST "$U/signin/v1/identifier/_/logon" -H 'Content-Type: application/json' -H 'Kopano-Konnect-XSRF: 1' -H "Referer: $U/signin/v1/identifier" -H "Origin: $U" \ + -d "{\"params\":[\"admin\",\"$OC_ADMIN_PW\",\"1\"],\"hello\":{\"scope\":\"openid profile email\",\"client_id\":\"web\",\"redirect_uri\":\"$U/oidc-callback.html\",\"flow\":\"oidc\"}}") + [ "$r" != "$last" ] && echo " $(ts) +$(el $T0 $(now)) s logon HTTP $r" && last=$r + grep -q '"success":true' /tmp/oclogon 2>/dev/null && break; sleep 1; done +echo "Erste erfolgreiche Admin-Anmeldung nach $(el $T0 $(now)) s ($(ts) UTC)" +curl -s -o /dev/null -w "Zertifikat gültig: ssl_verify_result=%{ssl_verify_result}\n" $U/ +docker compose ps --format '{{.Name}} {{.Image}} {{.Status}}' diff --git a/filesync/server/sampler.sh b/filesync/server/sampler.sh new file mode 100644 index 0000000..cd74aaa --- /dev/null +++ b/filesync/server/sampler.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash +# sampler.sh start NAME | stop NAME : Host-CPU% und RAM im 1-s-Takt während eines Laufs, Zusammenfassung bei stop +D=/root/ep19fs/load; mkdir -p $D +case $1 in +start) nohup python3 - "$D/$2.tsv" "$D/$2.stop" >/dev/null 2>&1 <<'PY' & +import sys,time,os +out=open(sys.argv[1],'w'); stop=sys.argv[2] +def cpu(): + v=list(map(int,open('/proc/stat').readline().split()[1:])); return sum(v), v[3]+v[4] +def mem(): + d={l.split(':')[0]:int(l.split()[1]) for l in open('/proc/meminfo')}; return (d['MemTotal']-d['MemAvailable'])/1024 +a=cpu() +while not os.path.exists(stop): + time.sleep(1); b=cpu(); t=b[0]-a[0]; i=b[1]-a[1]; a=b + out.write(f"{time.strftime('%H:%M:%S',time.gmtime())}\t{100*(t-i)/max(t,1):.1f}\t{mem():.0f}\n"); out.flush() +PY +;; +stop) touch $D/$2.stop; sleep 1.5; python3 - "$D/$2.tsv" <<'PY' +import sys +r=[l.split('\t') for l in open(sys.argv[1]) if l.strip()] +c=[float(x[1]) for x in r]; m=[float(x[2]) for x in r] +print(f"server load: {len(r)} samples, CPU mean {sum(c)/len(c):.1f} %, CPU max {max(c):.1f} % (2 vCPU = 100 %), RAM used mean {sum(m)/len(m):.0f} MiB, max {max(m):.0f} MiB") +PY +;; +esac diff --git a/filesync/server/sf-install.sh b/filesync/server/sf-install.sh new file mode 100644 index 0000000..236b513 --- /dev/null +++ b/filesync/server/sf-install.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env bash +# Seafile CE 13.0, offizielles Compose laut manual.seafile.com/latest (= 13.0). +# Aufruf: sf-install.sh DOMAIN. Nur die als "required" markierten Felder werden gesetzt. +source /root/ep19fs/lib.sh; source /root/ep19fs/secrets +D=$1; mkdir -p /opt/seafile && cd /opt/seafile +wget -q -O .env https://manual.seafile.com/13.0/repo/docker/ce/env +wget -q https://manual.seafile.com/13.0/repo/docker/ce/seafile-server.yml +wget -q https://manual.seafile.com/13.0/repo/docker/seadoc.yml +wget -q https://manual.seafile.com/13.0/repo/docker/caddy.yml +cp .env env.orig +sed -i "s/^SEAFILE_SERVER_HOSTNAME=.*/SEAFILE_SERVER_HOSTNAME=$D/" .env +sed -i "s/^SEAFILE_SERVER_PROTOCOL=.*/SEAFILE_SERVER_PROTOCOL=https/" .env +sed -i "s/^JWT_PRIVATE_KEY=.*/JWT_PRIVATE_KEY=$SF_JWT/" .env +echo "geänderte Zeilen gegenüber der offiziellen .env: $(diff env.orig .env | grep -c '^>')" +grep -E '^(INIT_SEAFILE_ADMIN_EMAIL|INIT_SEAFILE_ADMIN_PASSWORD|SEAFILE_MYSQL_DB_PASSWORD|INIT_SEAFILE_MYSQL_ROOT_PASSWORD|ENABLE_NOTIFICATION_SERVER|ENABLE_SEADOC|SEAFILE_IMAGE)=' .env +T0=$(now); echo "T0 $(ts) UTC docker compose up -d" +docker compose up -d 2>&1 | tail -3 +echo "compose up returned after $(el $T0 $(now)) s" +echo $T0 > /root/ep19fs/T0 +# Warten bis die Anmeldung mit den Werten aus der offiziellen .env klappt (INIT_SEAFILE_ADMIN_EMAIL/PASSWORD, unverändert) +U=https://$D; last="" +AE=$(grep ^INIT_SEAFILE_ADMIN_EMAIL= .env | cut -d= -f2); AP=$(grep ^INIT_SEAFILE_ADMIN_PASSWORD= .env | cut -d= -f2) +while :; do + r=$(curl -s -m 5 -o /tmp/sflogon -w '%{http_code}' -d "username=$AE" -d "password=$AP" "$U/api2/auth-token/") + [ "$r" != "$last" ] && echo " $(ts) +$(el $T0 $(now)) s POST /api2/auth-token/ HTTP $r" && last=$r + grep -q '"token"' /tmp/sflogon 2>/dev/null && break; sleep 1; done +echo "Erste erfolgreiche Admin-Anmeldung mit me@example.com / asecret nach $(el $T0 $(now)) s ($(ts) UTC)" +curl -s -o /dev/null -w "Zertifikat gültig: ssl_verify_result=%{ssl_verify_result}\n" $U/ +docker compose ps --format '{{.Name}} {{.Image}} {{.Status}}'