Roots Discourse

New error when trying to deploy

Hello, we’ve been using trellis on a project for the past couple of weeks and everything has been running fine.

Over the past 24 hours we’ve had to resize our server, nothing at file level has changed.

Today when we try and deploy we get the following error:

Git repo git@bitbucket.org:repo/repo.git cannot be accessed. Please
verify the repository exists and you have SSH forwarding set up correctly.
More info:

I’ve followed the information there and added the key via ssh-add -K, I’ve also tried deploying the user config again:

ansible-playbook server.yml -e env=staging --tags=users

But I get the following error:

Failed to connect to github.com at port 443: [Errno -2] Name or service not
known

I can connect to the server, github or bitbucket.

Any help would be great.

The error is handled by Trellis with an admittedly generic error message (it is actually a suggestion):

By either invoking the git clone command manually or tweaking with the error handling in the Trellis ansible config you should be able to see the actual error.

1 Like

Yea, I’ve managed to fix this.

Looks like my server had blocked accessing bitbucket for some reason… logged in rebooted and it’s working again now.

Thanks for the help.

1 Like