You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the task must run on the app permission. This is important to use the proper permission especially for people using a multiserver loadbalancing. Where some command should be run only on 1 server to avoid File Stale issues (cleanup drush cr on shared files for example on 2 servers at the same time).
To avoid many of those probleme, we should fix the permissions/cleanup tasks where we use app instead of web - especially on the release cleanup fodler. As those directories are created on all mirror-server and therefore should be fixed on all server - not only `app.
desc 'Set cleanup permissions to allow deletion of releases'
task :cleanup do
- on roles(:app) do+ on roles(:web) do
releases = capture(:ls, '-x', releases_path).split
valid, invalid = releases.partition { |e| /^\d{14}$/ =~ e }
The text was updated successfully, but these errors were encountered:
💬 Describe the bug
Most of the task must run on the
app
permission. This is important to use the proper permission especially for people using a multiserver loadbalancing. Where some command should be run only on 1 server to avoid File Stale issues (cleanup drush cr on shared files for example on 2 servers at the same time).To avoid many of those probleme, we should fix the permissions/cleanup tasks where we use
app
instead ofweb
- especially on therelease
cleanup fodler. As those directories are created on all mirror-server and therefore should be fixed on all server - not only `app.The text was updated successfully, but these errors were encountered: