Skip to content

Add NEXTCLOUD_INIT_HTACCESS to run occ maintenance:update:htaccess after initialisation - #1761

Merged
J0WI merged 1 commit into
masterfrom
feat/maintenance-update-htaccess
Jun 30, 2022
Merged

Add NEXTCLOUD_INIT_HTACCESS to run occ maintenance:update:htaccess after initialisation #1761
J0WI merged 1 commit into
masterfrom
feat/maintenance-update-htaccess

Conversation

@skjnldsv

@skjnldsvskjnldsv commented Jun 1, 2022

Copy link
Copy Markdown
Member

Use case:

  1. Have multiple nodes
  2. Have a reverse proxy and start multiple nextcloud containers
  3. Enable pretty URLs

For your entire setup to work, it require each container to have an up-to-date htaccess.
Since firing new containers is usually done automatically/programatically on swarm environments, you cannot manually run an occ command on each new node. You need a way to have that part of your init process.

@skjnldsv
skjnldsvforce-pushed the feat/config-flag-init branch from ac8a4ec to 83d5e72CompareJune 1, 2022 06:18
@skjnldsv
skjnldsvforce-pushed the feat/maintenance-update-htaccess branch 2 times, most recently from b9267ca to 7828ff8CompareJune 1, 2022 06:22
Base automatically changed from feat/config-flag-init to masterJune 7, 2022 12:26
@skjnldsvskjnldsv changed the title Add NEXTCLOUD_INIT_LOCK to enable shared html volume updateAdd NEXTCLOUD_INIT_HTACCESS to run occ maintenance:update:htaccess after initialisation Jun 15, 2022
@skjnldsv
skjnldsv marked this pull request as ready for review June 15, 2022 06:16
@skjnldsvskjnldsv self-assigned this Jun 15, 2022
@skjnldsv
skjnldsv requested a review from J0WIJune 15, 2022 06:16
@skjnldsv

This comment was marked as resolved.

…` after init
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
@nextcloud-command
nextcloud-commandforce-pushed the feat/maintenance-update-htaccess branch from 7828ff8 to dff2177CompareJune 15, 2022 06:17
Comment threaddocker-entrypoint.sh
@J0WI
J0WI merged commit 209d65d into masterJun 30, 2022
@J0WI
J0WI deleted the feat/maintenance-update-htaccess branch June 30, 2022 12:59
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Jun 30, 2022
Changes:
- https///github.com/nextcloud/docker/commit/941450c: Runs update.sh
- https///github.com/nextcloud/docker/commit/502fda1: Use $PHP_INI_DIR var (https///github.com/nextcloud/docker/pull/1765)
- https///github.com/nextcloud/docker/commit/66f397f: Runs update.sh
- https///github.com/nextcloud/docker/commit/3df4ad5: Alpine 3.16 (https///github.com/nextcloud/docker/pull/1779)
- https///github.com/nextcloud/docker/commit/0eda450: Runs update.sh
- https///github.com/nextcloud/docker/commit/209d65d: Add `NEXTCLOUD_INIT_HTACCESS` to run `occ maintenance:update:htaccess` after init (https///github.com/nextcloud/docker/pull/1761)
tclavier pushed a commit to tclavier/docker that referenced this pull request Jul 23, 2022
…` after init (nextcloud#1761)
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: Thomas Clavier <tom@tcweb.org>
ananace pushed a commit to ananace/docker-nextcloud that referenced this pull request May 10, 2024
…` after init (nextcloud#1761)
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@skjnldsv@J0WI