SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
292 stars 140 forks source link

Sormas server deployed but unable to access #2987

Open RafaelKluender opened 3 years ago

RafaelKluender commented 3 years ago

I want to make a fresh install of Sormas on Windows 10 and ran into some issues. The script was executed without errors, but still I cannot access sormas over the webbrowser. The payara server is running. I followed the manual "SERVER_SETUP.md" using:

I can access the admin page of payara on localhost:6048 but on localhost:6080 there is the default payara page and no sormas.

Output of the server-setup.sh that could be meaningful is that the extensions already existed and: Relation "schema-version" existiert nicht, wird übersprungen. Typically this is an issue with upper/lower case enabled?

Any hints?

JonasCir commented 3 years ago

Hi @RafaelKluender , the UI should run under localhost:6080/sormas-ui For an easy way to setup, you can also check out sormas-cargoserver/README.md

RafaelKluender commented 3 years ago

Thank you, but I tried that as well, sorry for not mentioning it. Under localhost:6080/sormas-ui I get a http error 404 - Not Found

JonasCir commented 3 years ago

Did you executed a mvn install to build the application? Can you share the setup log in a gist?

RafaelKluender commented 3 years ago

Did you executed a mvn install to build the application? Can you share the setup log in a gist?

No I did not. I didn't build the application and I didn't install apache, as according to SERVER-SETUP.md this is not required for Dev environments. I just wanted to install a local instance of Sormas on Windows10 and get the dev environment in the next step. I did not ran into problems on linux, but I must use Windows10 now. Am I missing something out?

JonasCir commented 3 years ago

Ok sorry, I get your point now. I'm afraid I cannot help you with the Windows issues as I only use Linux, maybe @MateStrysewske can help?

MateStrysewske commented 3 years ago

@RafaelKluender You shouldn't install payara manually. If you're using the setup script, it will actually download version 5.2020.2 instead of 5.192. That might at least be part of the problem you're experiencing. Please exactly follow the setup guide, don't skip any steps and don't do any steps manually that aren't listed there.

By the way, you can also use our Gitter for questions like these: https://gitter.im/SORMAS-Project

gitisara commented 3 years ago

Same Issue..

With the Local Ubuntu 18.04 as well as AWS EC2 (2v 4GB)

JonasCir commented 3 years ago

@gitisara Sorry to hear, that you run into the same issue. Would https://github.com/hzi-braunschweig/SORMAS-Docker work for you as an alternative or do you need to build SORMAS from source?

gitisara commented 3 years ago

@gitisara Sorry to hear, that you run into the same issue. Would https://github.com/hzi-braunschweig/SORMAS-Docker work for you as an alternative or do you need to build SORMAS from source?

We Need to Have to do Heavy Customizations in Roles and Some Reporting Algorithms to match our Nation Covid Policy.

Also we want to make It scalable in traditional ways on Government own servers.

Docker have limitations and does not meet some of requirements by IT team.

JonasCir commented 3 years ago

@MateStrysewske Can you take over, I'm still recovering :D

MateStrysewske commented 3 years ago

@gitisara Can you tell me which versions of the software required or downloaded by the install script is installed on your system?