mirror of
https://github.com/nextcloud/docker.git
synced 2025-07-31 10:38:05 +02:00
Compare commits
3 commits
cd434a8bb7
...
0a1ab13fe3
Author | SHA1 | Date | |
---|---|---|---|
|
0a1ab13fe3 | ||
|
f6d767efb1 | ||
|
00be03963f |
10 changed files with 9 additions and 16 deletions
|
@ -65,7 +65,7 @@ RUN set -ex; \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.23; \
|
pecl install APCu-5.1.24; \
|
||||||
pecl install imagick-3.7.0; \
|
pecl install imagick-3.7.0; \
|
||||||
pecl install memcached-3.2.0; \
|
pecl install memcached-3.2.0; \
|
||||||
pecl install redis-6.0.2; \
|
pecl install redis-6.0.2; \
|
||||||
|
|
|
@ -63,7 +63,7 @@ RUN set -ex; \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.23; \
|
pecl install APCu-5.1.24; \
|
||||||
pecl install imagick-3.7.0; \
|
pecl install imagick-3.7.0; \
|
||||||
pecl install memcached-3.2.0; \
|
pecl install memcached-3.2.0; \
|
||||||
pecl install redis-6.0.2; \
|
pecl install redis-6.0.2; \
|
||||||
|
|
|
@ -65,7 +65,7 @@ RUN set -ex; \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.23; \
|
pecl install APCu-5.1.24; \
|
||||||
pecl install imagick-3.7.0; \
|
pecl install imagick-3.7.0; \
|
||||||
pecl install memcached-3.2.0; \
|
pecl install memcached-3.2.0; \
|
||||||
pecl install redis-6.0.2; \
|
pecl install redis-6.0.2; \
|
||||||
|
|
|
@ -65,7 +65,7 @@ RUN set -ex; \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.23; \
|
pecl install APCu-5.1.24; \
|
||||||
pecl install imagick-3.7.0; \
|
pecl install imagick-3.7.0; \
|
||||||
pecl install memcached-3.2.0; \
|
pecl install memcached-3.2.0; \
|
||||||
pecl install redis-6.0.2; \
|
pecl install redis-6.0.2; \
|
||||||
|
|
|
@ -63,7 +63,7 @@ RUN set -ex; \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.23; \
|
pecl install APCu-5.1.24; \
|
||||||
pecl install imagick-3.7.0; \
|
pecl install imagick-3.7.0; \
|
||||||
pecl install memcached-3.2.0; \
|
pecl install memcached-3.2.0; \
|
||||||
pecl install redis-6.0.2; \
|
pecl install redis-6.0.2; \
|
||||||
|
|
|
@ -65,7 +65,7 @@ RUN set -ex; \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.23; \
|
pecl install APCu-5.1.24; \
|
||||||
pecl install imagick-3.7.0; \
|
pecl install imagick-3.7.0; \
|
||||||
pecl install memcached-3.2.0; \
|
pecl install memcached-3.2.0; \
|
||||||
pecl install redis-6.0.2; \
|
pecl install redis-6.0.2; \
|
||||||
|
|
|
@ -65,7 +65,7 @@ RUN set -ex; \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.23; \
|
pecl install APCu-5.1.24; \
|
||||||
pecl install imagick-3.7.0; \
|
pecl install imagick-3.7.0; \
|
||||||
pecl install memcached-3.2.0; \
|
pecl install memcached-3.2.0; \
|
||||||
pecl install redis-6.0.2; \
|
pecl install redis-6.0.2; \
|
||||||
|
|
|
@ -63,7 +63,7 @@ RUN set -ex; \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.23; \
|
pecl install APCu-5.1.24; \
|
||||||
pecl install imagick-3.7.0; \
|
pecl install imagick-3.7.0; \
|
||||||
pecl install memcached-3.2.0; \
|
pecl install memcached-3.2.0; \
|
||||||
pecl install redis-6.0.2; \
|
pecl install redis-6.0.2; \
|
||||||
|
|
|
@ -65,7 +65,7 @@ RUN set -ex; \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.23; \
|
pecl install APCu-5.1.24; \
|
||||||
pecl install imagick-3.7.0; \
|
pecl install imagick-3.7.0; \
|
||||||
pecl install memcached-3.2.0; \
|
pecl install memcached-3.2.0; \
|
||||||
pecl install redis-6.0.2; \
|
pecl install redis-6.0.2; \
|
||||||
|
|
|
@ -163,7 +163,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "Upgrading nextcloud from $installed_version ..."
|
echo "Upgrading nextcloud from $installed_version ..."
|
||||||
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_before
|
|
||||||
fi
|
fi
|
||||||
if [ "$(id -u)" = 0 ]; then
|
if [ "$(id -u)" = 0 ]; then
|
||||||
rsync_options="-rlDog --chown $user:$group"
|
rsync_options="-rlDog --chown $user:$group"
|
||||||
|
@ -258,12 +257,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
run_path pre-upgrade
|
run_path pre-upgrade
|
||||||
|
|
||||||
run_as 'php /var/www/html/occ upgrade'
|
run_as 'php /var/www/html/occ upgrade'
|
||||||
|
|
||||||
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
|
||||||
echo "The following apps have been disabled:"
|
|
||||||
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
|
||||||
rm -f /tmp/list_before /tmp/list_after
|
|
||||||
|
|
||||||
run_path post-upgrade
|
run_path post-upgrade
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue