summaryrefslogtreecommitdiffstats
path: root/docker-entrypoint.sh
AgeCommit message (Collapse)Author
2018-08-16Remove the "--no-app-disable" option form the "occ upgrade" commandTilo Spannagel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-01Fix indentationTilo Spannagel
2018-03-15Make docker-entrypoint.sh posix compliantTilo Spannagel
2018-03-13Add images for Release CandidatesTilo Spannagel
2017-08-14Fix permissions when running as rootTilo Spannagel
2017-08-14update directory permissions to be compatible with non-rootTobias Brunner
This commit updates the directory permissions to be more compatible when running the image without root f.e. on OpenShift or when specifying it when running with `docker run --user www-data:root ...`. It adds detection logic to the entrypoint script as sudo is not always allowed. This change in directory permissions was also proposed by the official documentation, see https://github.com/nextcloud/documentation/commit/22e2530. The `chown` before the volume definition is needed to prepare the volume as it inherits the permissions. refs https://github.com/nextcloud/docker/issues/107
2017-06-29Ensure apps.config.php get only copied when upgrading from old versionTilo Spannagel
2017-06-29Ensure config/apps.config.php get copiedYuxiang Zhu
PR #115 breaks the logic that config/apps.config.php get copied after custom_apps: https://github.com/nextcloud/docker/pull/115#discussion_r124702790. This patch is going to copy that file if it doesn't exist.
2017-06-28Copy config, data, custom_apps, and themes to volume when emptyYuxiang Zhu
When Nextcloud performs an upgrade or clean installation, it will check whether /var/www/html/{config,data,custom_apps,themes} exist. If not, it will copy /usr/src/nextcloud/{config,data,custom_apps,themes} to /var/www/html. This leads to a problem: If those subdirectories are existent but empty, it will not do the copy. This situation is common when you mount volumes to those subdirectories, like: ``` version: "2.1" services: app: image: nextcloud:12-apache volumes: - nextcloud:/var/www/html:Z - nextcloud-custom_apps:/var/www/html/custom_apps:Z - nextcloud-config:/var/www/html/config:Z - nextcloud-data:/var/www/html/data:Z - nextcloud-themes:/var/www/html/themes:Z ports: - 8080:80/tcp db: image: mariadb volumes: - db:/var/lib/mysql:Z environment: MYSQL_USER: nextcloud MYSQL_DATABASE: nextcloud MYSQL_PASSWORD: nextcloud MYSQL_ROOT_PASSWORD: nextcloud volumes: nextcloud: nextcloud-custom_apps: nextcloud-config: nextcloud-data: nextcloud-themes: db: ``` This patch will fix this issue by copying to those subdirectories when they are empty.
2017-05-23Don't overwrite themes9.0.58-fpm9.0.58-apache9.0.589.0-fpm9.0-apache9.09-fpm9-apache9Tilo Spannagel
2017-04-19strong permissionsTilo Spannagel
2017-04-19more specific downgrade messageTilo Spannagel
2017-04-17split app folderTilo Spannagel
2017-04-17show disabled appsTilo Spannagel
2017-04-17run occ upgradeTilo Spannagel
2017-04-17use rsync for upgradeTilo Spannagel
2017-04-17add version comparisonTilo Spannagel
2016-07-30first commitpierreozoux