zedling
zedling

Reputation: 637

Symfony2 custom console command appears as “not defined” upon execution

Please help, I've tried everything;

The command works well on the development server, but not on live.

Before you mark it as duplicate:

I have tried:

Is there any other way to force symfony to re-check available commands ?

Upvotes: 0

Views: 932

Answers (1)

zedling
zedling

Reputation: 637

For future reference:

The problem was that I connected to the remote host before deploy, and bash doesn't update symlink targets.

So the Command was not available in my current working directory.

A simple cd .., cd current solved it.

Upvotes: 0

Related Questions