Skip to content
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

webhook does not word at all #41

Closed
op-euga opened this issue Jun 6, 2019 · 2 comments
Closed

webhook does not word at all #41

op-euga opened this issue Jun 6, 2019 · 2 comments

Comments

@op-euga
Copy link

op-euga commented Jun 6, 2019

wenn I execute the webhook i get the following error log:

[2019-06-06 14:24:38] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Filesystem\Exception\IOException: "Failed to create symbolic link from "../../../../symfony/framework-bundle/3.3/config/bootstrap.php" to "/app/var/repo/official_backup/behat/symfony2-extension/2.1/config/bootstrap.php"." at /app/vendor/symfony/filesystem/Filesystem.php line 395 {"exception":"[object] (Symfony\Component\Filesystem\Exception\IOException(code: 0): Failed to create symbolic link from "../../../../symfony/framework-bundle/3.3/config/bootstrap.php" to "/app/var/repo/official_backup/behat/symfony2-extension/2.1/config/bootstrap.php". at /app/vendor/symfony/filesystem/Filesystem.php:395)"} []

@moay
Copy link
Owner

moay commented Jun 11, 2019

Hi there,

did you install anything on top of the project as it is? Behat seems not to relate to the project but cause the error. As far as I can see, the error does relate to behat and/or some sort of configuration or permission problem on your side (not being allowed to create a symlink might throw this error). Let me know if you find the issue, cannot reproduce from here.

@op-euga
Copy link
Author

op-euga commented Jun 11, 2019

Hi,
it actually was a permission problem. As I installed it on a docker container I called the initialize command from cli which ran as root. When I called the webhook it ran as different user (www-data) which was not able to update the links. Fixed that problem by switching in the dockerfile to the www-data user before running the initialize command. so solved from my perspective.
Thank you anyway!!

@op-euga op-euga closed this as completed Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants