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

Database error : No such file or directory when trying to login #8

Open
y3sc2t3 opened this issue Nov 1, 2020 · 1 comment
Open

Comments

@y3sc2t3
Copy link

y3sc2t3 commented Nov 1, 2020

Expected behavior

Login to i-doit using URL http://localhost:8080/ or http://localhost:8080/i-doit/ or http://localhost:8080/i-doit/admin/

Actual behavior

The error "Database error : No such file or directory" appears.
The command "docker-compose logs|grep denied" give the following output:
db_1 | 2020-11-01 0:29:17 8 [Warning] Access denied for user 'root'@'i-doit-docker_idoit_1.i-doit-docker_backend' (using password: YES)
db_1 | 2020-11-01 0:29:17 9 [Warning] Access denied for user 'root'@'i-doit-docker_idoit_1.i-doit-docker_backend' (using password: YES)

Steps to reproduce the behavior

Build a new docker installation using docker-compose-fpm.yml and .env.dist only changing IDOIT_WEB_PORT=8080.

Environment

Question Answer
i-doit version 1.15.1
i-doit edition open
PHP version 7.4
Service fpm

Server logs

db_1 | 2020-11-01 0:29:17 8 [Warning] Access denied for user 'root'@'i-doit-docker_idoit_1.i-doit-docker_backend' (using password: YES)
db_1 | 2020-11-01 0:29:17 9 [Warning] Access denied for user 'root'@'i-doit-docker_idoit_1.i-doit-docker_backend' (using password: YES)

@y3sc2t3
Copy link
Author

y3sc2t3 commented Nov 1, 2020

Here is some additional information on my environment:

docker --version

Docker version 19.03.13, build 4484c46d9d

docker-compose --version

docker-compose version 1.27.3, build 4092ae5d

cat /etc/debian_version

10.6

uname -a

Linux xxxxxxxx 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux

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

No branches or pull requests

1 participant