diff --git a/podman-seafile/README.md b/podman-seafile/README.md index 81ede1a..bbd314e 100644 --- a/podman-seafile/README.md +++ b/podman-seafile/README.md @@ -61,8 +61,9 @@ $ podman logs -f seafile # wait for process ending # as podman-seafile # # podman images --digests +cd /opt/services-garbaye/podman-seafile +export GARBAYE_SEAFILE_MYSQL_ROOT_PASSWORD=XXXXXXXXXXXXXXXX podman pull docker.io/seafileltd/seafile-mc:latest - systemctl --user stop pod-podman-seafile.service podman-compose down podman-compose up -d diff --git a/podman-seafile/docker-compose.yml b/podman-seafile/docker-compose.yml index 6f71a52..2d632fb 100644 --- a/podman-seafile/docker-compose.yml +++ b/podman-seafile/docker-compose.yml @@ -19,7 +19,7 @@ services: - seafile-net seafile: - image: seafileltd/seafile-mc:8.0.5 + image: seafileltd/seafile-mc:8.0.7 container_name: seafile ports: - "127.0.0.1:8000:8000" diff --git a/podman-seafile/update-seahub-media.sh b/podman-seafile/update-seahub-media.sh index e797164..2c013c9 100755 --- a/podman-seafile/update-seahub-media.sh +++ b/podman-seafile/update-seahub-media.sh @@ -13,7 +13,7 @@ rm -rf /var/www/seafile/seafile-server-latest/seahub mv -v /tmp/seahub /var/www/seafile/seafile-server-latest/ rm -rf /var/www/seafile/seahub-data -cp -a ~podman-seafile/.local/share/containers/storage/volumes/seafile-compose_seafile-data/_data/seafile/seahub-data /var/www/seafile/ +rsync -av --exclude 'thumbnail' ~podman-seafile/.local/share/containers/storage/volumes/podman-seafile_seafile-data/_data/seafile/seahub-data /var/www/seafile/ restorecon -RF /var/www/seafile chown -R nginx:nginx /var/www/seafile