Skip to main content

Drush

Odd Drush error: [preflight] Drush::$container is not initialized...

Submitted by mferanda on

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:

Subscribe to Drush