sourcebroker / deployer-extended-database

Deployer tasks to manage database synchronization between application instances.
MIT License
39 stars 13 forks source link

"There are no commands defined in the "db" namespace." error #5

Closed tmsss closed 4 years ago

tmsss commented 4 years ago

Hi there, I'm running deployer on windows 10 via composer and the rest of the deployer tasks work, but when I call any database command I get the following error: There are no commands defined in the "db" namespace.

I presume the deployer script isn't loading properly the deployer extended database files but I cannot fix it, can you help me here?

Thanks!

tmsss commented 4 years ago

Just an update, I'm checking the vendor folder and somehow the deployer/db/task folder is empty. I tried to clone the repo directly and it stays that way.

kszymukowicz commented 4 years ago

I suppose problem is that Windows does not support ":" in filename. I will fix that in next major release.

tmsss commented 4 years ago

Thank you for the response and for all your work! I run other commands with ':' and they work, like deploy:unlock as example. Meanwhile, I've downloaded your bux fix branch, but now I'm getting:

[Error] Call to undefined function Deployer\server()

kszymukowicz commented 4 years ago

You can create cli commands with ":" but the files that store the task can not have ":" in filename. Version 9.0.0 has no filenames with ":" and its Deployer 6 compatible.

Anyway I did not tested it with Windows at all.