Skip to content

Fix shared-file symlink direction in atomic deployment example - #791

Open
kevinsleegerslameco wants to merge 1 commit into
craftcms:mainfrom
kevinsleegerslameco:fix/deploy-shared-symlink-direction
Open

kevinsleegerslameco wants to merge 1 commit into
craftcms:mainfrom
kevinsleegerslameco:fix/deploy-shared-symlink-direction

Conversation

@kevinsleegerslameco

Copy link
Copy Markdown

The atomic deployment example creates the persistent-file links the wrong way round. ln -s TARGET LINK_NAME puts the link at the second path, so

ln -s "$RELEASE/.env" "$SHARED/.env"

creates a link inside shared/ pointing at the release, instead of a link inside the release pointing at shared/. The release then has no .env and no web/uploads.

This swaps the arguments on both lines, matching the tree diagram right below the example (.env → /var/www/shared/.env, uploads/ → /var/www/shared/web/uploads/).

@kevinsleegerslameco
kevinsleegerslameco requested a review from a team as a code owner October 13, 2026 13:45
@netlify

netlify Bot commented Oct 13, 2026

Copy link
Copy Markdown

👷 Deploy request for craft-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 057bc62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant