-
Notifications
You must be signed in to change notification settings - Fork 44
No exception / error logged though starting fails #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just recognized we were running the following version:
It thought that release But it doesn't. I must use |
Finally after using
The command:
The error does not occur because of using "../". Since it does work when using "../../../". The absolute path will fail too:
And again I want to note: The supervisor files are ALWAYS created. The path is correct. That means the permissions should be correct too. Maybe it is not the path itself. But that the way it is configured causes this bundle to crash when trying to start supervisor. |
Misuse of shell builtins is thrown by: Similar error messages here:
And here where it looks like it also happens while deployment to @anacona16, @The-Don-Himself or @Turtlesfr? |
At the bottom line it looks like the error occurs if the configured directories are none-permanent. Maybe the link does not exist for a short period of time - thought the absolute path inside the error looks correct and should work. What I did not is that I moved the "supervisor" built files through other directories. The error would still occur! That makes me think that there is a problem inside the built files. I will post them here: |
Anything strange so far? |
Now i finally recognized that onky the What I cannot tell is what causes them not to be created. Well I know that it does not work in newly created and later symlinked folders. Maybe a permission problem while deployment? |
Thanks for all the information and first of all sorry for the confusion with 2.0.0 vs. dev-master. There is a new up-to-date version 3.0.0 out now. The You write "it does work when using ../../../". That sounds like the other path is invalid for some reason. Maybe the directory does not exist or is not writable for the user that runs the command? |
As there is no new information on this issue and it should be fixed in 3.0.0 I will close it. Feel free to open a new one if there are still problems with the current version. |
I tried to deploy with the new
I agree. It really looks like a problem with the server process. The bundle looks fine actually. Thanks for the help so far. |
I could now break down and re-produce our issue. When our capistrano deployment executed the rebuild command it gives no error and supervisor is not restarted on the remote server. However similar happens if I execute the commands outside of the deployment directly on the server. The conflict seems to be running the rebuild while being in the capistrano deployment process. Ever stumbled upon this with other deployment tools? Maybe these consumer options could help? What really disturbs me is the fact the the rebuild command doesn't even work on the server and supervisor is never restarted though the files are correctly rebuild. |
Just had the same issue: seems like it fails when it cannot read or write the configuration files. |
Thanks @vvasiloi for your feedback. I no longer feel alone now! :) |
If the issue is caused by not being able to read/write configuration files then it should throw a specific error, not one like "Misuse of shell builtins". |
We use capistrano for deployment. It seems to have some problems with symlinks or similar.
But we could break it down to the main problem.
When we config our supervisor path to e.g.
tmp
or below the Symfony kernel root dir everything works as expected and supervisor gets started:But if we keep the
supervisor
dir inside theapp
folder for instance the starting fails.In both cases the files are created correctly.
When I run the command on the server with the non-working dir I don't get any response - no log entries - no process starting:
Though the exception has been added in #22 there still seems to be something missing.
Is there a
debug
ortrace
argument I can use? Or some way to hack into this:The text was updated successfully, but these errors were encountered: