mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-04 20:06:09 +02:00
Merge pull request #118 from vfreex/fix-115
Ensure config/apps.config.php get copied
This commit is contained in:
commit
0061b638cc
7 changed files with 28 additions and 0 deletions
|
@ -35,6 +35,10 @@ if version_greater "$image_version" "$installed_version"; then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ ! -f /var/www/html/config/apps.config.php ]; then
|
||||||
|
cp -a /usr/src/nextcloud/config/apps.config.php /var/www/html/config/apps.config.php
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,10 @@ if version_greater "$image_version" "$installed_version"; then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ ! -f /var/www/html/config/apps.config.php ]; then
|
||||||
|
cp -a /usr/src/nextcloud/config/apps.config.php /var/www/html/config/apps.config.php
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,10 @@ if version_greater "$image_version" "$installed_version"; then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ ! -f /var/www/html/config/apps.config.php ]; then
|
||||||
|
cp -a /usr/src/nextcloud/config/apps.config.php /var/www/html/config/apps.config.php
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,10 @@ if version_greater "$image_version" "$installed_version"; then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ ! -f /var/www/html/config/apps.config.php ]; then
|
||||||
|
cp -a /usr/src/nextcloud/config/apps.config.php /var/www/html/config/apps.config.php
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,10 @@ if version_greater "$image_version" "$installed_version"; then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ ! -f /var/www/html/config/apps.config.php ]; then
|
||||||
|
cp -a /usr/src/nextcloud/config/apps.config.php /var/www/html/config/apps.config.php
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,10 @@ if version_greater "$image_version" "$installed_version"; then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ ! -f /var/www/html/config/apps.config.php ]; then
|
||||||
|
cp -a /usr/src/nextcloud/config/apps.config.php /var/www/html/config/apps.config.php
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,10 @@ if version_greater "$image_version" "$installed_version"; then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ ! -f /var/www/html/config/apps.config.php ]; then
|
||||||
|
cp -a /usr/src/nextcloud/config/apps.config.php /var/www/html/config/apps.config.php
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
if [ "$installed_version" != "0.0.0~unknown" ]; then
|
||||||
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue