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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
https socket not working with letsencrypt #215
Comments
Now, i am able to solve this problem by restarting server but now i have one strange problem. for a project, before restarting server....one deployment was always in "pending" status then i cancelled that deployment then i ran deployments on another project and it worked properly but if i run deployment on first project now...again it is in pending mode only |
hmm, can you try running |
Thanks for that command, it cancelled pending deployments...however for same project, if i start a new deployment manually....again its in pending mode only 馃槩 |
hmm, that is really odd. Is there any thing in the log? Was the project working previously? Can the repository URL be reached? |
further testing reveals that repos hosted at github,bitbucket working fine but hosted my own gitlab instance are failing. eventhough i have added ssh key properly, it still shows error
so no clue...how to fix it :'( |
Hmm, that is odd, gitlab is what Deployer has been used with for the last year at my (now previous) employer. Have a look on your gitlab server, is the key in |
No they are not there but i added them to deploy keys section of repo....not into authorized_keys |
Hi @lorvent , im also using gitlab repositories in the deployer and running with out any problem. here are some checks to solve the problem you had.
|
Hi Pavan, thanks for stepping in ( or shall i say dhanya vadhaalu ;) )
|
No I know you didn't edit that file, but when you add a key in gitlab it is supposed to update it. Try running the command to rebuild it http://docs.gitlab.com/ee/raketasks/maintenance.html |
Actually i don't have authorized_keys file at that location |
Replace /home/git with the home directory of whatever user you have gitlab running as 馃槈 |
lol.... i am on that folder only i copied ssh key manually into authorized_keys still no luck 馃槶 |
Uh I wouldn't edit the file manually. Did you try the command to regenerate it? Can you add the log from the gitlab-shell folder (not gitlab). I have only ever installed from source, never used the package so not sure where it would be off hand |
i have tried command but it didn't add anything so added them manually still no luck. and how to check gitlab-shell log? gitlab-shell was there is old versions and in omnibus i don't think its available |
looks like, i need to install gitlab-shell manually so installed it now.still no luck. |
Uh I wouldn't just randomly install extra things if they aren't needed ;) I will have to set up gitlab on a VM later as I no longer have access to a server |
According to http://docs.gitlab.com/ce/logs/logs.html the log should be in /var/log/gitlab/gitlab-shell/ |
as i have no other option and its from gitlab, i installed... my log is like
|
Hi, after lot of experiments, i found what the issue is. if i swap beanstalkd with redis in .env for QUEUE_DRIVER then its working fine. its not related to ssh keys at all. but i have beanstalkd running... |
Hmm, that makes no sense 馃 Have you tried restarting beanstalkd? |
For sake of testing, just now i tried killed beanstalkd process made a deployment.....its just in 'pending' mode then hit 'php artisan deployer:cleanup' now deployment cancelled and shows message `There was an error retrieving the repository information, please check that the URL is correct and that the SSH key has been added went back to redis and tried deployment...its working again properly on same repo. but i have only one complaint with redis (may be some other reason aswell) I have a repo where i want to have 2 seperate projects for 2 branches when i am deploying on second branch, its always failing at npm,gulp section(custom commands of migration) so i am not sure whether related to redis or using same repo for 2 projects causing the problem (with local repos cloning feature). |
2 projects with different branches shouldn't matter, the local clone is the whole repo using the git mirror feature. So are you having that problem with redis as well? When you use beanstalk do you get anything in |
Hello, this is what it shows
|
I am assuming those DeployProject jobs match up with the ones which failed? |
yeah! |
Just seen you've closed this issue, did you solve the problem then? |
as i mentioned before, shifting from beanstalk to redis solved the problem, |
Sorry for another thread 馃槩
Before submitting your issue, please make sure that you've checked all of the checkboxes below.
php -v
composer install --no-dev
from the root of your installation.npm install --production
from the root of your installation.rm -rf bootstrap/cache/*
from the root of your installation.To help us better understand your issue, please answer the following.
Expected behaviour
I have issued ssl certificates using letsencrypt and passed cert values into .env
node socket should run properly
Actual behaviour
It shows me error that its not running
Steps to reproduce
Environment info
Operating System: ubuntu 14.04
PHP Version: 7.0.6
Node Version: 4.4.4
Database System: mysql
Database Version: 5.6.30
Logs (see storage/logs/) or other output that would be helpful
(If logs are large, please upload as attachment).
The text was updated successfully, but these errors were encountered: