fix: write cachetool temp script to shared typo3temp
PHP workers with a stale realpath cache still resolve the current symlink to the previous release and returned 404 for the script placed in the new one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
88e0488b49
commit
739a4c49f7
1 file changed
+4
-1
+4
-1
@@ -70,7 +70,10 @@ host('prod')
|
|||||||
->set('writable_mode', 'chmod')
|
->set('writable_mode', 'chmod')
|
||||||
->set('rsync_src', __DIR__)
|
->set('rsync_src', __DIR__)
|
||||||
->set('rsync', $rsyncOptions)
|
->set('rsync', $rsyncOptions)
|
||||||
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/{{typo3_webroot}}/ --web-url=https://www.ep-reisen.de')
|
// The temp script goes into the shared typo3temp, which resolves to the same directory from every
|
||||||
|
// release: PHP workers with a stale realpath cache still map "current" to the previous release and
|
||||||
|
// would 404 on a script placed inside the new one.
|
||||||
|
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{deploy_path}}/shared/{{typo3_webroot}}/typo3temp/ --web-url=https://www.ep-reisen.de/typo3temp')
|
||||||
;
|
;
|
||||||
|
|
||||||
task('deploy', [
|
task('deploy', [
|
||||||
|
|||||||
Reference in new issue
Block a user