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

Unable to get 'Get Started' to work #2192

Closed
danp11 opened this issue Nov 28, 2024 · 4 comments
Closed

Unable to get 'Get Started' to work #2192

danp11 opened this issue Nov 28, 2024 · 4 comments
Labels
type/bug Something isn't working

Comments

@danp11
Copy link

danp11 commented Nov 28, 2024

Hi,

Im trying to start Horreum via
curl -s https://raw.githubusercontent.com/Hyperfoil/Horreum/0.6/infra/start.sh | bash
as outlined here: https://horreum.hyperfoil.io/docs/tutorials/get-started/

Im running via docker compose and the containers starts except from
Error: No such object: horreum_app-init_1
Waiting for app-init container to complete...

When looking at the end of the log for app_init it says:

  • echo 'Horreum initialization complete'
    2024-11-28T11:05:31.383183428Z {"errorMessage":"Role with name dev-team already exists"}{"errorMessage":"Role with name dev-viewer already exists"}{"errorMessage":"Role with name dev-uploader already exists"}{"errorMessage":"Role with name dev-tester already exists"}{"errorMessage":"Role with name dev-manager already exists"}{"errorMessage":"User exists with same username"}Horreum initialization complete

Any ideas? Thanks in advance.

Regards
Dan

@danp11 danp11 added the type/bug Something isn't working label Nov 28, 2024
Copy link

👋 @danp11
Thanks for opening your first issue here! Be sure to follow the issue template!

@lampajr
Copy link
Member

lampajr commented Nov 28, 2024

Hi @danp11, thanks for trying Horreum!!

That specific getting started guide is pretty outdatated as it is still referencing Horreum 0.6 and we are now at version 0.16.x. I will try to collect some more up to date instructions/guides and get back to you asap (I am afk right now), sorry for this inconvenience!

@lampajr
Copy link
Member

lampajr commented Nov 28, 2024

Hey again 👋🏻

Unfortunately we don't have docker-compose like setup anymore as we moved all the infrastructure setup in the infra-common module. What I would recommend to get started with Horreum is to start it up in dev mode:

Prerequisites

Having installed the following tools/libs:

  • Docker
  • Java
  • Maven

Start Horreum

Clone the respository and checkout the tag/branch you want to try:

git clone https://github.com/Hyperfoil/Horreum.git
cd Horreum
git checkout <tag/branch>

Build the project

mvn clean install -DskipTests -DskipITs

Start it up:

mvn quarkus:dev -pl horreum-backend

And then you can login using horreum.bootstrap / secret credentials

Ref. https://github.com/Hyperfoil/Horreum?tab=readme-ov-file#getting-started-with-development-server

@danp11
Copy link
Author

danp11 commented Nov 28, 2024

Ok! and appreciate your quick reponse.

I will try to start in the dev mode as you suggest.

/Dan

@danp11 danp11 closed this as completed Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants