mirror of
https://github.com/nextcloud/docker.git
synced 2025-01-24 14:43:53 +01:00
run occ upgrade
This commit is contained in:
parent
055f5778e3
commit
87c651374e
7 changed files with 28 additions and 0 deletions
|
@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
|
|||
done
|
||||
|
||||
chown -R www-data /var/www/html
|
||||
|
||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
|
|
@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
|
|||
done
|
||||
|
||||
chown -R www-data /var/www/html
|
||||
|
||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
|
|
@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
|
|||
done
|
||||
|
||||
chown -R www-data /var/www/html
|
||||
|
||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
|
|
@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
|
|||
done
|
||||
|
||||
chown -R www-data /var/www/html
|
||||
|
||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
|
|
@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
|
|||
done
|
||||
|
||||
chown -R www-data /var/www/html
|
||||
|
||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
|
|
@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
|
|||
done
|
||||
|
||||
chown -R www-data /var/www/html
|
||||
|
||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
|
|
@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
|
|||
done
|
||||
|
||||
chown -R www-data /var/www/html
|
||||
|
||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
|
Loading…
Reference in a new issue