Skip to content

Switching from Laravel Deployer to the main Deployer project #2502

Discussion options

You must be logged in to vote

Hi there 👋

Yes I can see a few errors in your deploy.php file.

First of all, the error that you get is due to the fact that Deployer cannot automatically identify the user that is running your HTTP server (either via Apache or Nginx). It does this by looking into relevant processes and finding a user which is not root.

To solve this you must explicitly set the http_user options — which could be root in your case. On the upgrade guide to 7, it provides an example where http_user is set to false. By looking at the code I’m struggling to find out if this would fix your issue but maybe try that as well haha.

Now to answer your question about tasks not matching. That’s because the deploy:prepare

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Jamesking56
Comment options

@Jamesking56
Comment options

Answer selected by Jamesking56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants