So... an odd issue after a separate team installed software on a few servers.
[preflight] Drush::$container is not initialized yet. \Drush::setContainer() must be called with a real container.
Drush worked perfectly fine before their work... what happened? After checking a few things, something messed up the /tmp permissions.
Proper permissions for /tmp?
chmod a+trwx /tmp
If you're not familiar, the +t is called a sticky bit:
"This permission does not affect individual files. However, at the directory level, it restricts file deletion. Only the owner (and root) of a file can remove the file within that directory."
Source: https://www.redhat.com/sysadmin/suid-sgid-sticky-bit
Log in to post comments