GithubHelp home page GithubHelp logo

Comments (7)

agolybev avatar agolybev commented on September 16, 2024 1

Hello,
It seem like port 8080 is already being used by another application.
Check it with sudo netstat -ntpl | grep 8080

from docker-documentserver.

HaroldoPayares avatar HaroldoPayares commented on September 16, 2024

Thank You for your answer. I did check with sudo netstat -peanut and that port wasn't used.
I decided to run a new process from 0, i got the same error:

First i opened de 8 port and cheked is no used:

~$ sudo netstat -peanut
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      111        17292       1184/mysqld     
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          15204       1155/sshd       
tcp        0    228 192.168.254.20:22       192.168.252.103:33742   ESTABLISHED 0          31194       4871/sshd: sistemas
tcp6       0      0 :::80                   :::*                    LISTEN      0          15224       1310/apache2    
tcp6       0      0 :::22                   :::*                    LISTEN      0          15206       1155/sshd       
tcp6       0      0 :::443                  :::*                    LISTEN      0          15228       1310/apache2    
udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          13171       1094/dhclient 

Then install and run the image:

~$ sudo docker run -i -t -d -p 8:8 onlyoffice/documentserver
Unable to find image 'onlyoffice/documentserver:latest' locally
latest: Pulling from onlyoffice/documentserver
30d541b48fc0: Pull complete 
8ecd7f80d390: Pull complete 
46ec9927bb81: Pull complete 
2e67a4d67b44: Pull complete 
7d9dd9155488: Pull complete 
5620cbf30007: Pull complete 
33c528c7fa34: Pull complete 
b69368ba62d0: Pull complete 
61c24e4c0f08: Pull complete 
Digest: sha256:3f5c86fdc61d9bbb550b2323b67d422c5925b7bb308a35970f00ecd7daf8c7e3
Status: Downloaded newer image for onlyoffice/documentserver:latest
4e010fb90bc36f3d1cfc56da2f304f5f091d3c2169e1246e58e8ad68bf82d451

Then again check the port, now is used by docker-proxy:

~$ sudo netstat -peanut
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      111        17292       1184/mysqld     
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          15204       1155/sshd       
tcp        0    228 192.168.254.20:22       192.168.252.103:33742   ESTABLISHED 0          31194       4871/sshd: sistemas
tcp6       0      0 :::80                   :::*                    LISTEN      0          15224       1310/apache2    
tcp6       0      0 :::22                   :::*                    LISTEN      0          15206       1155/sshd       
tcp6       0      0 :::443                  :::*                    LISTEN      0          15228       1310/apache2    
tcp6       0      0 :::8                    :::*                    LISTEN      0          32584       5253/docker-proxy
udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          13171       1094/dhclient  

Then in the next step i got the same issue after i enter the last line :

~$ sudo docker run -i -t -d -p 8:8 \

`> -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice  \`

`> -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data  \`

`> -v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice onlyoffice/documentserver`
ed27f08f79e7267405519516e7a3a2331ffd33ea2935cc111088c7ed23a5c97b
docker: Error response from daemon: driver failed programming external connectivity on endpoint inspiring_beaver (03a04a5d48e9930598162cac56033ee5ecff143e35c2594bb5016aeac2cf4016): Bind for 0.0.0.0:8 failed: port is already allocated.

What am i doing wrong?

from docker-documentserver.

agolybev avatar agolybev commented on September 16, 2024

Hello,
It seems like you are trying to start the onlyoffice/documentesrver container twice.
First time by
sudo docker run -i -t -d -p 8:8 onlyoffice/documentserver command
Second time by

sudo docker run -i -t -d -p 8:8 \
 -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice  \
 -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data  \
 -v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice onlyoffice/documentserver

from docker-documentserver.

HaroldoPayares avatar HaroldoPayares commented on September 16, 2024

Thank you for your time, your advise did help.

from docker-documentserver.

CamiloCamachoV avatar CamiloCamachoV commented on September 16, 2024

You have to stop all the services before executing the

docker-compose up -d

that would solve the problem.

from docker-documentserver.

Jeff-Enriquez avatar Jeff-Enriquez commented on September 16, 2024

Hi, I'm getting this same error and everything I look up says to do the same thing. Run 'docker-compose up -d' or run 'docker-compose down' then 'docker-compose up'. Anytime I try those commands I get the same error. 'Can't find a suitable configuration file in this directory or any parent. Are you in the right directory?' How do I solve this?

from docker-documentserver.

ShockwaveNN avatar ShockwaveNN commented on September 16, 2024

Can't find a suitable configuration file in this directory or any parent. Are you in the right directory?

Seems that is separate issue, not related to this, please create new issue

from docker-documentserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.