Docker-compose error on Ubuntu Server [May 21]

:raising_hand_man: jiub asked

Hi all. I have a similar problem with docker-compose. It’s works on windows, but when I trying to deploy on Ubuntu Server - it refuses the connect.

:raising_hand_man: wkw replied

connection to db ? can u share more details

:raising_hand_man: jiub replied

I’m starting this docker-compose file as it provided in docs: docker-compose/mysql/docker-compose.yml

:raising_hand_man: wkw replied

can u share the full error message

:raising_hand_man: jiub replied

Attaching to mysql_root_db_1, mysql_nocodb_1root_db_1 | 2022-05-20 09:58:39+0 - Pastebin.com

:raising_hand_man: jiub replied

And after startup root_db spamming this line: root_db_1 | 2022-05-20T09:59:39.198738Z 5 [Note] Access denied for user ‘root’@‘localhost’ (using password: NO)

:raising_hand_man: wkw replied

are u sure the password s correct

:raising_hand_man: wkw replied

is the db on yourh host machine?

:raising_hand_man: jiub replied

No, db starts inside docker container

:raising_hand_man: jiub replied

I use this docker-compose nocodb/docker-compose.yml at develop · nocodb/nocodb · GitHub

:raising_hand_man: jiub replied

system info: Client: Context: default Debug Mode: falseServer: Containers: 2 - Pastebin.com

:raising_hand_man: jiub replied

docker run -d --name nocodb-mysql \

-v “$(pwd)”/nocodb:/usr/app/data/ \

-p 8080:8080 \

-e NC_DB=“mysql2://host.docker.internal:3306?u=root&p=password&d=d1” \

-e NC_AUTH_JWT_SECRET=“569a1821-0a93-45e8-87ab-eb857f20a010” \

nocodb/nocodb:latest

this command also not working on Ubuntu 20.04

:raising_hand_man: jiub replied

I get this error: App started successfully.Visit -> http://localhost:8080/dashboard╔══════════ - Pastebin.com

:raising_hand_man: wkw replied

for this one, u need a db up n running on your host machine

:raising_hand_man: wkw replied

try to remove all the images & volumes n run it again

:raising_hand_man: jiub replied

Still not working. My requests to nocodb doesn’t shows in docker-compose logs.

:raising_hand_man: jiub replied

Ok now I’m trying to deploy via nginx. Can you help me with ‘path/to/webroot’ inside docker-compose file? What I’m must specify instead of path/to/webroot?

Autogenerated from discord


Join NocoDB’s community

DiscordTwitterRedditDocs