Skip to content

The Lizmap Server cach with docker compose #77

@nde34

Description

@nde34

Hello !

I followed the guide here to generate the server cach on one layer to test it.
So i get inside the lwc docker and put the commands there, all is fine until i have to exec this one:
lizmap/install/set_rights.sh www-data www-data
I receive this : chown: unknown user/group www-data:www-data
The script executed is this one:

#!/bin/sh
SCRIPTDIR=$(dirname $0)

USER="$1"
GROUP="$2"

if [ "$USER" = "" ]; then
    USER="www-data"
fi

if [ "$GROUP" = "" ]; then
    GROUP="www-data"
fi

VARDIR="$SCRIPTDIR/../var"
WWWDIR="$SCRIPTDIR/../www"

DIRS="$VARDIR/config $VARDIR/db $VARDIR/log $VARDIR/themes $VARDIR/overloads"
DIRS="$DIRS $VARDIR/mails $VARDIR/uploads $VARDIR/lizmap-theme-config"
DIRS="$DIRS $SCRIPTDIR/../../temp/lizmap $WWWDIR/cache/ $WWWDIR/document/ $WWWDIR/live/"

chown -R $USER:$GROUP $DIRS
chmod -R ug+w $DIRS

So inside the docker, wich owner should i give to the dirs ?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions