mirror of
https://github.com/nextcloud/docker.git
synced 2025-08-01 02:58:05 +02:00
Compare commits
5 commits
e5d0d3a2da
...
3cd43f5d42
Author | SHA1 | Date | |
---|---|---|---|
|
3cd43f5d42 | ||
|
30b570f0b5 | ||
|
2bc1036e61 | ||
|
a1e93f429c | ||
|
51f14bfe09 |
12 changed files with 12 additions and 12 deletions
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
cfgFile=$(basename "$cfgPath")
|
||||||
|
|
||||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
cfgFile=$(basename "$cfgPath")
|
||||||
|
|
||||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
cfgFile=$(basename "$cfgPath")
|
||||||
|
|
||||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
cfgFile=$(basename "$cfgPath")
|
||||||
|
|
||||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
cfgFile=$(basename "$cfgPath")
|
||||||
|
|
||||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
cfgFile=$(basename "$cfgPath")
|
||||||
|
|
||||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
cfgFile=$(basename "$cfgPath")
|
||||||
|
|
||||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
cfgFile=$(basename "$cfgPath")
|
||||||
|
|
||||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
cfgFile=$(basename "$cfgPath")
|
||||||
|
|
||||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -543,7 +543,7 @@ The `--pull` option tells docker to look for new versions of the base image. The
|
||||||
You're already using Nextcloud and want to switch to docker? Great! Here are some things to look out for:
|
You're already using Nextcloud and want to switch to docker? Great! Here are some things to look out for:
|
||||||
|
|
||||||
1. Define your whole Nextcloud infrastructure in a `docker-compose` file and run it with `docker-compose up -d` to get the base installation, volumes and database. Work from there.
|
1. Define your whole Nextcloud infrastructure in a `docker-compose` file and run it with `docker-compose up -d` to get the base installation, volumes and database. Work from there.
|
||||||
2. Restore your database from a mysqldump (nextcloud\_db\_1 is the name of your db container)
|
2. Restore your database from a mysqldump (``db`` is your current db container; ``nextcloud\_db\_1`` is the name of your new db container; mysql root password is ``nextcloud``).
|
||||||
- To import from a MySQL dump use the following commands
|
- To import from a MySQL dump use the following commands
|
||||||
```console
|
```console
|
||||||
docker cp ./database.dmp nextcloud_db_1:/dmp
|
docker cp ./database.dmp nextcloud_db_1:/dmp
|
||||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
cfgFile=$(basename "$cfgPath")
|
||||||
|
|
||||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
|
||||||
stable_channel='29.0.6'
|
stable_channel='29.0.7'
|
||||||
|
|
||||||
self="$(basename "$BASH_SOURCE")"
|
self="$(basename "$BASH_SOURCE")"
|
||||||
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
|
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue