Commit 4f88bf4
committed
Chown the Magento install to app before rsyncing it to the deploy container
The commands in this script run as root inside the Hypernode container,
while the rsync that copies the installed Magento to the deploy container
authenticates over SSH as app. On Magento 2.4.9 that combination breaks:
var/cache/symfony ends up unreadable for app, so rsync fails with
opendir "/data/web/magento2/var/cache/symfony" failed: Permission denied (13)
rsync error: some files/attrs were not transferred (code 23)
Chowning the tree to app first makes the ownership match the SSH user --
which is also how a real Hypernode looks, where app owns the application.
2.4.6-p10 and 2.4.8 do not hit this, so only the PHP 8.5 row was failing.1 parent df257dc commit 4f88bf4
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
0 commit comments