EvEmu-Project / evemu_Crucible

Emulator for EvE Online's Crucible expansion
https://evemu.dev
170 stars 66 forks source link

Error when launching server #215

Closed neohary closed 2 years ago

neohary commented 2 years ago

Describe the bug I'm trying to launching server by following the wiki guide, but got an error. I tried run docker login and docker login quay.io but no luck. I never use docker before, so sorry if it's a dumb question.

To Reproduce Steps to reproduce the behavior:

  1. Run git clone https://github.com/EvEmu-Project/evemu_Crucible.git
  2. Open WLS2, navigate to file location and run sudo docker-compose -p evemu up --build -d
  3. Error appear ``` [+] Running 0/1 ⠿ db Error 3.5s Error response from daemon: unauthorized: access to the requested resource is not authorized

Expected behavior Success to launch the server

Screenshots none

System Details (please complete the following information):

Additional context none

VizanArkonin commented 2 years ago

That's a recent issue - a docker repository we used to take MariaDB image from has decided to lock themselves behind an auth gate. A quick solution in this case would be to change the MariaDB image from quay.io to the one from docker-hub

    image: "mariadb:10.4"
    container_name: evemu_db
    volumes:
      - db:/bitnami/mariadb
    # If you want to connect to the Database pick your host port to map it to, (host-port:container-port) below. 
    #ports:
    #  - "3306:3306"  
    environment:
      - MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=yes
      - MARIADB_USER=evemu
      - MARIADB_PASSWORD=evemu
      - MARIADB_DATABASE=evemu
volumes:
  db:
  config:
  server_cache:
  image_cache:

The only difference between the two - base image, but from functional standpoint they're about the same.

TawfiqulBari commented 2 years ago

Yeah after fixing that, when the server starts building it also tries to pull an image from quay.io/evemu/server:latest Which doesn't get either. Can you please use a different repo? docker-evemu

jdhirst commented 2 years ago

@TawfiqulBari Please build the code using docker, the public docker image is no longer supported.

VizanArkonin commented 2 years ago

@TawfiqulBari It looks like you've un-commented the line which allows you to use pre-built image. image: "quay.io/evemu/server:latest" #Use prebuilt image Try commenting it back and try again - it'll assemble the image on your local machine.

jdhirst commented 2 years ago

@TawfiqulBari @neohary I have commited a new change to both staging and master, removing quay.io. Please re-test and close.

neohary commented 2 years ago

@TawfiqulBari @neohary I have commited a new change to both staging and master, removing quay.io. Please re-test and close.

Yes it's working now, I'm close this issue.