Merge branch 'main' of ssh://gitea.rs485.network:3022/UPschooling/Nextcloud-App

This commit is contained in:
Finn 2021-08-21 15:22:36 +02:00
commit 546e2ffe58
2 changed files with 2 additions and 1 deletions

View file

@ -8,4 +8,3 @@ DIR="${0%/*}"
podman unshare -- chown -R 33 "$DIR" podman unshare -- chown -R 33 "$DIR"
podman unshare -- chgrp -R 0 "$DIR" podman unshare -- chgrp -R 0 "$DIR"
podman unshare -- chmod -R ug+rw "$DIR" podman unshare -- chmod -R ug+rw "$DIR"

View file

@ -9,4 +9,6 @@ podman run -d --name=nextcloud --replace=true -p 8080:80 -v "$DIR:/var/www/html/
podman exec nextcloud chown -R 33 /var/www/html/custom_apps podman exec nextcloud chown -R 33 /var/www/html/custom_apps
"$DIR/podman-reown.sh" "$DIR/podman-reown.sh"
podman exec --user 33 nextcloud bash -c 'cd /var/www/html/custom_apps/upschooling && make' podman exec --user 33 nextcloud bash -c 'cd /var/www/html/custom_apps/upschooling && make'
podman exec --user 33 nextcloud php occ maintenance:install --database sqlite --admin-user admin --admin-pass admin
podman exec --user 33 nextcloud php occ config:system:set --value=true --type=boolean debug podman exec --user 33 nextcloud php occ config:system:set --value=true --type=boolean debug
podman exec --user 33 nextcloud php occ app:enable --force upschooling