retr0
May 28, 2022, 3:35pm
1
Hello, I have been an EPRNEXT user for a while and I install erpnext from docker following the steps, I always follow them but I didn’t do anything different this time and it doesn’t want to install me, I got an error with the configurator
and when I see the docker log because it doesn’t work I get this error
exec /usr/local/bin/configure.py: exec format error
I’m not a guru, but do you need both compose.yaml files?
From my reading of the docs, I thought you only needed the one in ~/gitops
retr0
May 29, 2022, 10:39am
3
no, you need an erpnext one.yaml to deploy to that folder
retr0:
why is your docker compose project showing 2/2?
It needs more services. Make sure the correct yaml with all services is generated.
retr0:
this image seems to have all services recreated.
command to check all containers is docker container ls --all
command to check running containers is docker ps
command to check container logs: docker logs container-name
check if configuration container had file permission error.
opened 04:21PM - 09 May 22 UTC
closed 12:21AM - 18 Aug 22 UTC
bug
## Description of the issue
I follow this guide: https://github.com/frappe/frap… pe_docker/blob/main/docs/single-server-example.md
And this step is failing every time, even though I have all the environment variables correctly set :
```
docker compose --project-name erpnext-one exec backend \
bench new-site one.example.com --mariadb-root-password changeit --install-app erpnext --admin-password changeit
```
The problem is with the mariadb, bench is trying to connect to 127.0.0.1 instead of to `mariadb-database` container
## Context information (for bug reports)
Ubuntu 21.10, Docker 20.10.12 with compose 2.5.0
## Steps to reproduce the issue
1. follow the steps in https://github.com/frappe/frappe_docker/blob/main/docs/single-server-example.md
### Observed result
Mariadb connection error
### Expected result
Correctly created site
### Stacktrace / full error message if available
```
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '127.0.0.1' ([Errno 111] Connection refused)")
```
1 Like
I have the exact same issue here, I have checked about the volume permission error and is not the problem, I am trying to deploy docker into oracle cloud.