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

Dokku logspout breaking my app #37

Open
Loschcode opened this issue Dec 7, 2021 · 1 comment
Open

Dokku logspout breaking my app #37

Loschcode opened this issue Dec 7, 2021 · 1 comment

Comments

@Loschcode
Copy link

Everything was working smooth and today, without any change in my codebase and configuration whatsoever, I couldn't rebuild or ship new versions

-----> Cleaning up...
-----> Building bloodbath-api from herokuish
-----> Adding BUILD_ENV to build environment...
       BUILD_ENV added successfully
docker: Error response from daemon: driver failed programming external connectivity on endpoint logspout (353daab00d197d1dac52a7b379fbfa3b8533d668266122b8048dd884cb9baf6f): Bind for 127.0.0.1:18000 failed: port is already allocated.
2021/12/07 17:31:38 exit status 125
2021/12/07 17:31:38 exit status 1
2021/12/07 17:31:38 exit status 1

No matter what command I use it crashes

dokku logspout:start
docker: Error response from daemon: driver failed programming external connectivity on endpoint logspout (d67f3357caacb1011f893c5792a6013b81f5f3142edfa1b9bfe0d85a394ae337): Bind for 127.0.0.1:18000 failed: port is already allocated

What am I supposed to do? I've no idea how to troubleshoot this system.

@michaelshobbs
Copy link
Owner

it looks like something is already running on port 18000. you can run something like the following then post that output here.

$ netstat -lnpt | grep 18000
tcp        0      0 127.0.0.1:18000         0.0.0.0:*               LISTEN      2112
$ ps auxwww | grep 2112

additionally you might try removing the logspout container (i.e. dokku logspout:destroy) and deploying again:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants