Lan2Play / eventula-manager

Lan Party Event Manager App
https://eventula.lan2play.de
GNU General Public License v3.0
27 stars 14 forks source link

Unable to find IP address #878

Open DuelistRag3 opened 3 weeks ago

DuelistRag3 commented 3 weeks ago

So when i follow the tutorial from the docs i get the following error:

error="service \"myservice\" error: unable to find IP address for the container \"/eventula_manager_app/": the server is ingored

with portainer i observed that the app service does not join bridge network nor getting an ip address in the eventula_default

Apfelwurm commented 3 weeks ago

Hey, at first, i have never used portainer, so i currently don't know the specifics of it. Please provide more information, so we can find out what is wrong. How did you set up eventula in portainer step by step? What is myservice? What bridge network are you talking about? (the eventula container is not built to be directly exposed to the internet, even though it should be possible, but not recommended) Is your machine online or offline? how does your compose (if used) look like? how does your env look like? (ofc with replaced passwords) what is the eventula container logging? how long did you wait after the startup?

Have a great day!

PS: Maybe consider joining our Discord (https://discord.gg/zF5C9WPWFq) for a more direct support experience

DuelistRag3 commented 3 weeks ago

Hi, to be more clear, for the setup of eventula itself i used the compose and .env file from your documentation via the commandline of a freshly setup ubuntu VM. I use Portainer ( A GUI tool for Docker containers) as a monitorung tool.

Myservice comes from a line from ur compose file:

services:
    app:
        image: lan2play/eventula-manager:latest
        restart: unless-stopped
        volumes:
        - eventula_manager_storage:/web/html/storage/
        expose:
        - "80"
        env_file:
        - ./.env
        container_name: eventula_manager_app
        labels:
        - "com.centurylinklabs.watchtower.scope=ev01"
        - "traefik.enable=true"
        - "traefik.http.routers.ev01.rule=Host(`${APP_URL}`)"
        - "traefik.http.routers.ev01.entrypoints=websecure"
        - "traefik.http.routers.ev01.tls.certresolver=le"
        - "traefik.http.services.myservice.loadbalancer.server.port=80"

- "traefik.http.services.myservice.loadbalancer.server.port=80"

its an online machine.

I think its still try to boot, if im not wrong, i didn´t canceled it. I´ll check the logs in a minute.

Best regards Christian

Apfelwurm commented 3 weeks ago

Hi Christian, thanks for the additional infos! My bad, had not in mind that i called that service myservice in our traefik example, cause currently in our prod setup, we don't use traefik because our instance is integrated into our existing reverse proxy environment. But looking over it, it might be possible that it does not work because traefik v3 was released since i wrote that compose file, so there might be labels or mechanisms that changed since then. Going to test that later today and going to give you an update as soon as i get to it. Checking the logs of the eventula container is a good idea never the less :)

Alex

DuelistRag3 commented 3 weeks ago

Here are the logs logs.txt The laravel app also can´t connect to the sql database

DuelistRag3 commented 3 weeks ago

image As u can see here (thats my portainer gui) the app and the database do not get an internel IP-Address

DuelistRag3 commented 3 weeks ago

Ok, just discovered they bootloop, thats why they don´t get an ip address

DuelistRag3 commented 3 weeks ago

Kleine Randnotiz, ich habe es jetzt ebenfalls zum Laufen bekommen indem ich Eventula Plain in meine bestehenden Systeme (MariaDB und Reverse Proxy) eingebunden habe, der Issue sollte trotzdem zu ende untersucht werden, für Leute die vielleicht kein bestehenden Proxy ETC. haben.

So, back to english, i will do a test run later that day and look at all logs in particular

Apfelwurm commented 3 weeks ago

When testing the current state, i sadly cannot reproduce that problem when following our documentation. The error you had ERR error="service \"myservice\" error: unable to find the IP address for the container \"/eventula_manager_app\": the server is ignored" container=app-eventula-db62bd90f76806e891c711ab9359d3fda41446ed4cac58d465405590519e9147 providerName=docker is to be expected a few times until the database is working, but disappears as soon as the seeding took place.

I'm glad you managed to get it running :) Sadly the part of your log you provided above is not enough to see anything, since the initial startup and the database startup are not in there anymore. If you still have the full initial log, that would be really interesting to see. If not, i have to close this issue even though i would love to understand what was happening, since you are not the first one reporting this.

I have added another hint in the Documentation to make it more clear that this is expected to happen in the beginning :) https://eventula.lan2play.de/admin/getting_started.html#start-your-stack-and-wait

DuelistRag3 commented 3 weeks ago

I´ll just boot it up on my locale dev machine and report back to you, witth a full log asap

DuelistRag3 commented 3 weeks ago

Okay, on my test machine it actually boots up like instant, have to check it later on the live machine

Apfelwurm commented 1 week ago

@DuelistRag3 anything else to do here? :)