Compare commits
10 Commits
bullseye.v
...
bullseye
Author | SHA1 | Date | |
---|---|---|---|
7bff2c7756 | |||
7114dd36e3 | |||
527df10346 | |||
758925a298 | |||
42c17494d8 | |||
57c145c5a3 | |||
e59472081a | |||
f8fbe8ea91 | |||
4a12e856d8 | |||
fb46e149bb |
@ -11,7 +11,7 @@ latest:
|
||||
- export DEBEMAIL="NOREPLY@`hostname -d`"
|
||||
- mkdir -p builddir
|
||||
- uscan --overwrite-download --destdir builddir
|
||||
- cd ../nextcloud-server-25.0.10
|
||||
- cd ../nextcloud-server-25.0.13
|
||||
- dpkg-buildpackage -rfakeroot
|
||||
- cd - ; cp ../nextcloud-server_*.deb .
|
||||
artifacts:
|
||||
|
@ -17,9 +17,9 @@ git clone https://git.jurisic.org/ijurisic/nextcloud-deb.git
|
||||
cd nextcloud-deb
|
||||
git checkout bullseye
|
||||
uscan --verbose --download-current-version
|
||||
cd ../nextcloud-server-25.0.10
|
||||
cd ../nextcloud-server-25.0.13
|
||||
dch -n
|
||||
dpkg-buildpackage -rfakeroot -us -uc
|
||||
cd ..
|
||||
dpkg -i nextcloud-server_<current_version>_all.deb
|
||||
dpkg -i nextcloud-server_25.0.13-1~deb11_all.deb
|
||||
```
|
||||
|
23
debian/changelog
vendored
23
debian/changelog
vendored
@ -1,9 +1,30 @@
|
||||
nextcloud-server (25.0.13-1~deb11) bullseye; urgency=medium
|
||||
|
||||
[ adam ]
|
||||
* maint: pulled in the last version of nextcloud in the 25.x series (25.0.13)
|
||||
|
||||
-- Adam <adam@hax0rbana.org> Thu, 07 Nov 2023 17:23:09 -0600
|
||||
|
||||
nextcloud-server (25.0.12-1~deb11) bullseye; urgency=medium
|
||||
|
||||
[ adam ]
|
||||
* maint: pulled in new version of nextcloud (25.0.12)
|
||||
|
||||
-- Adam <adam@hax0rbana.org> Thu, 21 Sep 2023 14:02:49 -0500
|
||||
|
||||
nextcloud-server (25.0.11-1~deb11) bullseye; urgency=medium
|
||||
|
||||
[ adam ]
|
||||
* maint: pulled in new version of nextcloud (25.0.11)
|
||||
|
||||
-- Adam <adam@hax0rbana.org> Thu, 14 Sep 2023 17:32:00 -0500
|
||||
|
||||
nextcloud-server (25.0.10-2~deb11) bullseye; urgency=medium
|
||||
|
||||
[ ijurisic ]
|
||||
* updated postinst on sugestion of citronalco (#16)
|
||||
|
||||
-- Ivan Jurišić <ivan@jurisic.org> Thu, 22 Aug 2023 12:39:00 -0500
|
||||
-- Ivan Jurišić <ivan@jurisic.org> Thu, 22 Aug 2023 12:39:00 +0100
|
||||
|
||||
nextcloud-server (25.0.10-1~deb11) bullseye; urgency=medium
|
||||
|
||||
|
58
debian/nextcloud-server.postinst
vendored
58
debian/nextcloud-server.postinst
vendored
@ -20,43 +20,43 @@ set -e
|
||||
export APACHE2_MAINTSCRIPT_HELPER_QUIET=1
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
configure)
|
||||
|
||||
# Apache conf
|
||||
if [ "a2query -c nextcloud"=~"No conf matches nextcloud" ]; then
|
||||
a2enconf nextcloud || true
|
||||
apache2ctl restart || true
|
||||
fi
|
||||
# Apache conf
|
||||
if [ "a2query -c nextcloud"=~"No conf matches nextcloud" ]; then
|
||||
a2enconf nextcloud || true
|
||||
apache2ctl restart || true
|
||||
fi
|
||||
|
||||
# Apache modules
|
||||
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
|
||||
. /usr/share/apache2/apache2-maintscript-helper
|
||||
apache2_invoke enmod rewrite || exit $?
|
||||
apache2_invoke enmod headers || exit $?
|
||||
apache2_invoke enmod env || exit $?
|
||||
apache2_invoke enmod dir || exit $?
|
||||
apache2_invoke enmod mime || exit $?
|
||||
fi
|
||||
# Apache modules
|
||||
if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
|
||||
. /usr/share/apache2/apache2-maintscript-helper
|
||||
apache2_invoke enmod rewrite || exit $?
|
||||
apache2_invoke enmod headers || exit $?
|
||||
apache2_invoke enmod env || exit $?
|
||||
apache2_invoke enmod dir || exit $?
|
||||
apache2_invoke enmod mime || exit $?
|
||||
fi
|
||||
|
||||
if [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "false" ]; then
|
||||
echo "Nextcloud is not configured, please use open web browser http://<your_server_ip>/nextcloud"
|
||||
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."
|
||||
fi
|
||||
if [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "false" ]; then
|
||||
echo "Nextcloud is not configured, please use open web browser http://<your_server_ip>/nextcloud"
|
||||
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."
|
||||
fi
|
||||
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
abort-upgrade | abort-remove | abort-deconfigure) ;;
|
||||
|
||||
\
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user