clanService/wordpress: allow mutable at wp-content/ai1wm-backups #2

Merged
kurogeek merged 1 commits from mooyai/infra:mooyai-patch-1 into main 2026-07-08 16:41:28 +07:00
Contributor

WordPress writes into wp-content/ai1wm-backups (All-in-One WP
Migration). It sit directly under wp-content, which is the read-only
Nix store path, so creation fails.

Symlink the dir out to the writable state dir and add matching
tmpfiles rules, same pattern as themes/plugins/upgrade.

Fixes "Could not create the ai1wn-backups directory" on ai1wm-backups permission errors.

WordPress writes into wp-content/ai1wm-backups (All-in-One WP Migration). It sit directly under wp-content, which is the read-only Nix store path, so creation fails. Symlink the dir out to the writable state dir and add matching tmpfiles rules, same pattern as themes/plugins/upgrade. Fixes "Could not create the ai1wn-backups directory" on ai1wm-backups permission errors.
mooyai added 1 commit 2026-07-08 16:18:26 +07:00
WordPress writes into wp-content/upgrade-temp-backup (core rollback on
theme/plugin updates) and wp-content/ai1wm-backups (All-in-One WP
Migration). Both sit directly under wp-content, which is the read-only
Nix store path, so creation fails.

Symlink both dirs out to the writable state dir and add matching
tmpfiles rules, same pattern as themes/plugins/upgrade.

Fixes "Could not create the upgrade-temp-backup directory" on Bricks
theme update, and the ai1wm-backups permission errors.
kurogeek changed title from clanService/wordpress: symlink upgrade-temp-backup and ai1wm-backups to state dir to clanService/wordpress: allow mutable at `wp-content/ai1wm-backups 2026-07-08 16:37:46 +07:00
kurogeek changed title from clanService/wordpress: allow mutable at `wp-content/ai1wm-backups to clanService/wordpress: allow mutable at `wp-content/ai1wm-backups` 2026-07-08 16:37:51 +07:00
kurogeek merged commit 824b099ad6 into main 2026-07-08 16:41:28 +07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: newedge/infra#2