Hauptmenü

v34 schon released?

Begonnen von Frank Niethardt, 06.01.2025 14:43:25

⏪ vorheriges - nächstes ⏩

Frank Niethardt

Moin,

ist die v34 schon fertig released?

Scheinbar versucht der Frontend Container jetzt Ordner anzulegen, bzw. vorauszusetzen.
frontend-1  | + for DIR in logs data .cache dist/frontend-applications/agent-portal/static/applications
frontend-1  | + '[' '!' -d /mnt/data/logs ']'
frontend-1  | + rm -rf /opt/kix/logs
frontend-1  | + ln -s /mnt/data/logs /opt/kix/logs
frontend-1  | + for DIR in logs data .cache dist/frontend-applications/agent-portal/static/applications
frontend-1  | + '[' '!' -d /mnt/data/data ']'
frontend-1  | + rm -rf /opt/kix/data
frontend-1  | + ln -s /mnt/data/data /opt/kix/data
frontend-1  | + for DIR in logs data .cache dist/frontend-applications/agent-portal/static/applications
frontend-1  | + '[' '!' -d /mnt/data/.cache ']'
frontend-1  | + mkdir -p /mnt/data/.cache
frontend-1  | mkdir: can't create directory '/mnt/data/.cache': Permission denied
frontend-1  | + rm -rf /opt/kix/.cache
frontend-1  | + ln -s /mnt/data/.cache /opt/kix/.cache
frontend-1  | + for DIR in logs data .cache dist/frontend-applications/agent-portal/static/applications
frontend-1  | + '[' '!' -d /mnt/data/dist/frontend-applications/agent-portal/static/applications ']'
frontend-1  | + mkdir -p /mnt/data/dist/frontend-applications/agent-portal/static/applications
frontend-1  | mkdir: can't create directory '/mnt/data/dist/': Permission denied
frontend-1  | + rm -rf /opt/kix/dist/frontend-applications/agent-portal/static/applications
frontend-1  | + ln -s /mnt/data/dist/frontend-applications/agent-portal/static/applications /opt/kix/dist/frontend-applications/agent-portal/static/applications
frontend-1  | ++ grep BUILDNUMBER /opt/kix/RELEASE
frontend-1  | ++ cut -d= -f2
frontend-1  | ++ sed -e 's/ *//g'
frontend-1  | + BUILDNO=4714
frontend-1  | ++ cat /opt/kix/data/framework
frontend-1  | + INSTALLED_BUILDNO=4714
frontend-1  | + '[' 4714 '!=' 4714 ']'

Da der Container als User 110010100 läuft, hat dieser keine Rechner in dem Mountpoint Ordner anzulegen.

$ sudo ls -la /var/lib/docker/volumes/testkix_frontend/_data/
total 16
drwxr-xr-x 4 root      root 4096 Jan  6 14:34 .
drwx-----x 3 root      root 4096 Jan 12  2023 ..
drwxr-xr-x 4 110010100 root 4096 Jan  3 15:15 data
drwxr-xr-x 2 110010100 root 4096 Jan  6 00:00 logs

Ist das so gewollt?

Viele Grüße
Frank

Frank Niethardt

Ich hab die _data Verzeichnisse von frontend, backend und shared jetzt dem 110010100 übereignet, und KIX läuft wieder.

Leider ist das leidige Thema mit dem healthcheck des Frontend Containers immer noch nicht gelöst...

Torsten Thau

Hallo, es gab ein Patch-Release v34.1 bitte nochmal schauen. Das Problem bestand mit dem Caching der Frontend-Applikation damit ein Stack-Neustart schneller geht. An diesem Vorgehen wurde etwas korrigiert.

Vg, T.