Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
7bff2c7756 | |||
7114dd36e3 | |||
527df10346 | |||
758925a298 | |||
42c17494d8 | |||
57c145c5a3 | |||
e59472081a | |||
f8fbe8ea91 | |||
4a12e856d8 | |||
fb46e149bb | |||
5fd84d0042 | |||
b42da85d98 | |||
96bd1fc4a2 | |||
f040dcf009 | |||
0f25e704a0 | |||
0cde67e161 | |||
b83af581b4 | |||
5a42df3ac3 |
@ -11,7 +11,7 @@ latest:
|
|||||||
- export DEBEMAIL="NOREPLY@`hostname -d`"
|
- export DEBEMAIL="NOREPLY@`hostname -d`"
|
||||||
- mkdir -p builddir
|
- mkdir -p builddir
|
||||||
- uscan --overwrite-download --destdir builddir
|
- uscan --overwrite-download --destdir builddir
|
||||||
- cd ../nextcloud-server-25.0.7
|
- cd ../nextcloud-server-25.0.13
|
||||||
- dpkg-buildpackage -rfakeroot
|
- dpkg-buildpackage -rfakeroot
|
||||||
- cd - ; cp ../nextcloud-server_*.deb .
|
- cd - ; cp ../nextcloud-server_*.deb .
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -17,9 +17,9 @@ git clone https://git.jurisic.org/ijurisic/nextcloud-deb.git
|
|||||||
cd nextcloud-deb
|
cd nextcloud-deb
|
||||||
git checkout bullseye
|
git checkout bullseye
|
||||||
uscan --verbose --download-current-version
|
uscan --verbose --download-current-version
|
||||||
cd ../nextcloud-server-<current_version>
|
cd ../nextcloud-server-25.0.13
|
||||||
dch -n
|
dch -n
|
||||||
dpkg-buildpackage -rfakeroot -us -uc
|
dpkg-buildpackage -rfakeroot -us -uc
|
||||||
cd ..
|
cd ..
|
||||||
dpkg -i nextcloud-server_<current_version>_all.deb
|
dpkg -i nextcloud-server_25.0.13-1~deb11_all.deb
|
||||||
```
|
```
|
||||||
|
49
debian/changelog
vendored
49
debian/changelog
vendored
@ -1,3 +1,52 @@
|
|||||||
|
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 +0100
|
||||||
|
|
||||||
|
nextcloud-server (25.0.10-1~deb11) bullseye; urgency=medium
|
||||||
|
|
||||||
|
[ adam ]
|
||||||
|
* maint: pulled in new version of nextcloud (25.0.10)
|
||||||
|
|
||||||
|
-- Adam <adam@hax0rbana.org> Thu, 10 Aug 2023 11:52:00 -0500
|
||||||
|
|
||||||
|
nextcloud-server (25.0.9-1~deb11) bullseye; urgency=medium
|
||||||
|
|
||||||
|
[ adam ]
|
||||||
|
* maint: pulled in new version of nextcloud (25.0.9)
|
||||||
|
|
||||||
|
-- Adam <adam@hax0rbana.org> Thu, 20 Jul 2023 14:20:37 -0500
|
||||||
|
|
||||||
|
nextcloud-server (25.0.8-1~deb11) bullseye; urgency=medium
|
||||||
|
|
||||||
|
[ adam ]
|
||||||
|
* maint: pulled in new version of nextcloud (25.0.8)
|
||||||
|
|
||||||
|
-- Adam <adam@hax0rbana.org> Thu, 22 Jun 2023 11:53:56 -0500
|
||||||
|
|
||||||
nextcloud-server (25.0.7-1~deb11) bullseye; urgency=medium
|
nextcloud-server (25.0.7-1~deb11) bullseye; urgency=medium
|
||||||
|
|
||||||
[ adam ]
|
[ adam ]
|
||||||
|
57
debian/nextcloud-server.postinst
vendored
57
debian/nextcloud-server.postinst
vendored
@ -20,42 +20,43 @@ set -e
|
|||||||
export APACHE2_MAINTSCRIPT_HELPER_QUIET=1
|
export APACHE2_MAINTSCRIPT_HELPER_QUIET=1
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
configure)
|
configure)
|
||||||
|
|
||||||
# Apache conf
|
# Apache conf
|
||||||
if [ "a2query -c nextcloud"=~"No conf matches nextcloud" ]; then
|
if [ "a2query -c nextcloud"=~"No conf matches nextcloud" ]; then
|
||||||
a2enconf nextcloud || true
|
a2enconf nextcloud || true
|
||||||
apache2ctl restart || true
|
apache2ctl restart || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Apache modules
|
# Apache modules
|
||||||
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
|
if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
|
||||||
. /usr/share/apache2/apache2-maintscript-helper
|
. /usr/share/apache2/apache2-maintscript-helper
|
||||||
apache2_invoke enmod rewrite || exit $?
|
apache2_invoke enmod rewrite || exit $?
|
||||||
apache2_invoke enmod headers || exit $?
|
apache2_invoke enmod headers || exit $?
|
||||||
apache2_invoke enmod env || exit $?
|
apache2_invoke enmod env || exit $?
|
||||||
apache2_invoke enmod dir || exit $?
|
apache2_invoke enmod dir || exit $?
|
||||||
apache2_invoke enmod mime || exit $?
|
apache2_invoke enmod mime || exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "false" ]; then
|
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 "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'"
|
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
|
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 upgrade'
|
||||||
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web' > /dev/null || true
|
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ db:add-missing-indices'
|
||||||
else
|
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web' >/dev/null || true
|
||||||
echo "Got unexpect answer, occ status can't to read satus of nextcloud. Check php installation."
|
else
|
||||||
fi
|
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
|
echo "postinst called with unknown argument \`$1'" >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user