assetto-corsa-web / accweb

Assetto Corsa Competizione Server Management Tool via Web Interface.
MIT License
141 stars 54 forks source link

"Error starting server. Please check the logs" #103

Closed darrylgibbs closed 3 years ago

darrylgibbs commented 4 years ago

So I've just fired up the docker container, I've opened all appropriate ports etc, but I when I start the server, I get this error: "Error starting server. Please check the logs"

No logs are given though, at all. So what now. What info can I provide to assist? Below is my CONFIG.YML

webserver: host: localhost:8080 write_timeout: 5 read_timeout: 5 tls: false cert: path to ssl certificate private_key: path to ssl private key auth: public_key_path: secrets/token.public private_key_path: secrets/token.private admin_password: weak moderator_password: weak read_only_password: weak acc: server_path: "/home/darryl/accweb" server_exe: accServer.exe

config_path: config/ dev: true loglevel: debug cors: origins: "*" loglevel: info

My DOCKER-COMPOSE.YML

version: '3'

services: accweb:

image: accweb:latest

image: kugel/accweb
container_name : accweb-server
restart: always
ports:
  - 8080:8080
  - 9600:9600
volumes:
  - "accweb:/accweb"
  - "acccerts:/sslcerts"
  - "accserver:/accserver"
environment:
  ACCWEB_HOST: 0.0.0.0:8080
  ACCWEB_ENABLE_TLS: "false"
  ACCWEB_CERT_FILE: /sslcerts/certificate.crt
  ACCWEB_PRIV_FILE: /sslcerts/private.key
  ACCWEB_ADMIN_PASSWORD: weak
  ACCWEB_MOD_PASSWORD: weak
  ACCWEB_RO_PASSWORD: weak
  ACCWEB_LOGLEVEL: info 
  ACCWEB_CORS: "*"
networks:
  - accnetwork

networks: accnetwork:

volumes: accweb: acccerts: accserver:

Kugelschieber commented 4 years ago

The docker image isn't really working at the moment. I need to create a better one. Originally I didn't plan to add docker support and it was contributed, so I'm a little bit lost when it comes to supporting it.

Can you go for the normal version until I've fixed it (probably with version 2.0)?

darrylgibbs commented 4 years ago

Sure thing... I'll give it a bash!

Bmendess commented 3 years ago

image

Kugelschieber commented 3 years ago

Use forward slashes.

Bmendess commented 3 years ago

Use forward slashes.

i'm using... everything was working fine before...

Kugelschieber commented 3 years ago

Well, it clearly states that it cannot find the server exe to copy. Check the paths and that it can access the directory.

Bmendess commented 3 years ago

Well, it clearly states that it cannot find the server exe to copy. Check the paths and that it can access the directory.

image

Kugelschieber commented 3 years ago

Hmm, it looks like it cannot load your server configuration files. From what version did you upgrade? Did you run all the migration steps required (see changelog in the readme)?

Dpaganini commented 3 years ago

Enviado do Emailhttps://go.microsoft.com/fwlink/?LinkId=550986 para Windows 10

De: Marvin Blummailto:notifications@github.com Enviado:sábado, 17 de outubro de 2020 19:47 Para: assetto-corsa-web/accwebmailto:accweb@noreply.github.com Cc:Subscribedmailto:subscribed@noreply.github.com Assunto: Re: [assetto-corsa-web/accweb] "Error starting server. Please check the logs" (#103)

Hmm, it looks like it cannot load your server configuration files. From what version did you upgrade? Did you run all the migration steps required (see changelog in the readme)?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/assetto-corsa-web/accweb/issues/103#issuecomment-711090031, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABSO4XPTFWOVNZBDYVCDNLDSLINJFANCNFSM4SKBLO2Q.

Bmendess commented 3 years ago

i didnt migrate or anything... it just stopped .... have no idea why... should i reinstall it again?

Bmendess commented 3 years ago

reinstalled everything, all good now!

Kugelschieber commented 3 years ago

I'm closing this for now.