diff --git a/README.md b/README.md index 634c899..bca7a6e 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ git clone https://git.jurisic.org/ijurisic/nextcloud-deb.git cd nextcloud-deb git checkout bullseye uscan --verbose --download-current-version -cd ../nextcloud-server- +cd ../nextcloud-server-25.0.10 dch -n dpkg-buildpackage -rfakeroot -us -uc cd .. diff --git a/debian/changelog b/debian/changelog index 2cff5b9..d3eb587 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,10 @@ nextcloud-server (25.0.10-1~deb11) bullseye; urgency=medium [ adam ] * maint: pulled in new version of nextcloud (25.0.10) + [ ijurisic ] + * updated postinst on sugestion of citronalco (#16) - -- Adam Thu, 10 Aug 2023 11:52:00 -0500 + -- Adam Thu, 22 Aug 2023 12:39:00 -0500 nextcloud-server (25.0.9-1~deb11) bullseye; urgency=medium diff --git a/debian/nextcloud-server.postinst b/debian/nextcloud-server.postinst index f41c1b6..584f0b5 100644 --- a/debian/nextcloud-server.postinst +++ b/debian/nextcloud-server.postinst @@ -43,6 +43,7 @@ case "$1" in echo "After configure please run su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web'" elif [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "true" ]; then su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ upgrade' + su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ db:add-missing-indices' su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web' > /dev/null || true else echo "Got unexpect answer, occ status can't to read satus of nextcloud. Check php installation."