yeswiki icon indicating copy to clipboard operation
yeswiki copied to clipboard

Facing issue with docker installation

Open AkshayraviC09YC47 opened this issue 2 years ago • 10 comments

Hello maintainer, im not able to install yeswiki via docker , its showing db error Screenshot 2022-07-29 at 10 17 01 PM Screenshot 2022-07-29 at 10 16 46 PM

How to solve this?? , thanks

AkshayraviC09YC47 avatar Jul 29 '22 16:07 AkshayraviC09YC47

Database:

Screenshot 2022-07-29 at 10 45 47 PM

AkshayraviC09YC47 avatar Jul 29 '22 17:07 AkshayraviC09YC47

Ping @seballot @srosset81 , who are using docker, any idea ? I would recommand to use mariadb instead of old mysql server but it should work as it is..

mrflos avatar Aug 05 '22 13:08 mrflos

Hi,

as described in the Install doc, you need to configure the host to "db" and not to "localhost" ;)

seballot avatar Aug 05 '22 14:08 seballot

fixed by https://github.com/YesWiki/yeswiki/commit/18474436b362af9fda7c05e1da2f06495587c8c7

J9rem avatar Aug 05 '22 15:08 J9rem

I have added host as 'db', & password: "P@ssw0rd123".....still the issue is there, unable to install @seballot @J9rem @nervo

https://user-images.githubusercontent.com/58636452/183113764-bff4718d-8685-4f5c-84f3-62a958a48b06.mov

AkshayraviC09YC47 avatar Aug 05 '22 15:08 AkshayraviC09YC47

This error also...

Screenshot 2022-08-05 at 9 39 49 PM

AkshayraviC09YC47 avatar Aug 05 '22 16:08 AkshayraviC09YC47

OK, @AkshayraviC09YC47 the trouble seems to be ever existing. I reopen this issue and leave @seballot or other dev. who used to use docker to find a way to solve it.

Thanks @AkshayraviC09YC47 for your attention about this trouble

J9rem avatar Aug 05 '22 16:08 J9rem

I have a running dev local docker environment working, after a couple of PR. In the installer while using docker you need to put root as db username and root as db password.

mose avatar Aug 24 '22 20:08 mose

Note that if you want to custom the db user, you will need to tune up the docker-compose.yml file accordingly.

mose avatar Aug 24 '22 20:08 mose

Please @AkshayraviC09YC47 don't spam my name without reasons.

nervo avatar Aug 24 '22 21:08 nervo