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

Will this docket image work on ARM server #356

Open
ouamboh opened this issue Mar 4, 2022 · 11 comments
Open

Will this docket image work on ARM server #356

ouamboh opened this issue Mar 4, 2022 · 11 comments

Comments

@ouamboh
Copy link

ouamboh commented Mar 4, 2022

Hello,

I have an ARM architecture server with docker installed. Will your SORMAS Docker work on ARM ? Thought I should check with you first before attempting to install it. Please get back to me ASAP

@JonasCir
Copy link
Contributor

JonasCir commented Mar 7, 2022

Hi,
not an official answer, but speaking from my own experience: I was not able to get the containers running on Apple Silicion b/c the underlying payara Docker image does not support anything besides amd64. However, I know that Docker makes use of arcane magic to support cross architecture execution, so it might still work in your case (assuming you are not using Mac).

So the best thing is to just try it I guess and see if it works...

@ouamboh
Copy link
Author

ouamboh commented Mar 8, 2022

Thanks, I will give it a go and see how it goes.

Herve

@ouamboh
Copy link
Author

ouamboh commented Mar 8, 2022

Hello,
I tried and it failed with the following error:


Status: Downloaded newer image for willfarrell/autoheal:1.0.0
Creating sormas-docker_autoheal_1 ... done
Creating sormas-docker_postgres_1 ... done

ERROR: for sormas Container "4ccd9729ea55" is unhealthy.

ERROR: for pg_dump Container "4ccd9729ea55" is unhealthy.
ERROR: Encountered errors while bringing up the project.

Do people know what is happening here ?

Thanks
Herve

@JonasCir
Copy link
Contributor

JonasCir commented Mar 9, 2022

Hi can you see what's in the output of docker-compose logs sormas ?

@ouamboh
Copy link
Author

ouamboh commented Mar 9, 2022

For some reason, I only get this when I run the command, I see no logs. I am troubleshooting, why?

[opc@dockerprod1 SORMAS-Docker]$ docker-compose logs sormas
Attaching to
[opc@dockerprod1 SORMAS-Docker]$

@ouamboh
Copy link
Author

ouamboh commented Mar 9, 2022

logs.txt

I somehow managed to generate log. please see attached file.

@ouamboh
Copy link
Author

ouamboh commented Mar 9, 2022

I am also seeing this in the sormas-db container log


2022-03-09T11:19:25.991502643Z https://www.postgresql.org/docs/current/auth-trust.html
2022-03-09T11:20:26.340923989Z Error: Database is uninitialized and superuser password is not specified.
2022-03-09T11:20:26.340962989Z You must specify POSTGRES_PASSWORD to a non-empty value for the
2022-03-09T11:20:26.340974309Z superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".
2022-03-09T11:20:26.340976869Z
2022-03-09T11:20:26.340978749Z You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all
2022-03-09T11:20:26.340981149Z connections without a password. This is not recommended.
2022-03-09T11:20:26.340983149Z
2022-03-09T11:20:26.340984949Z See PostgreSQL documentation about "trust":
2022-03-09T11:20:26.340986949Z https://www.postgresql.org/docs/current/auth-trust.html

@JonasCir
Copy link
Contributor

JonasCir commented Mar 9, 2022

Hm maybe @fhauptmann oder @T-Hundt can help here. But it looks like sormas is not even starting. Do you have any x86 based machine at your disposal that you can use?

@ouamboh
Copy link
Author

ouamboh commented Mar 9, 2022

I will delete everything and start again....

@ouamboh
Copy link
Author

ouamboh commented Mar 9, 2022

I am getting the same error on ARM server.
ERROR: for pg_dump Container "41ef0a7dcaa5" is unhealthy.

pg_dump I supposed is linked to Postgress database, As far as I know postgress runs well on ARM 64 bit

Will try an x86 server tomorrow, just in case.

@fhauptmann oder @T-Hundt - please comment.

@ouamboh
Copy link
Author

ouamboh commented Mar 10, 2022

Hello All,

This morning I tried to deploy SORMAS on x86 system, but I am still getting similar error but different image.
see attached log

Any comments folks ?

ERROR: for apache2 Container "09ba4c755b0c" is unhealthy.
ERROR: Encountered errors while bringing up the project.

logs (1).txt

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

2 participants