Hello all. I’m new here and to fly.io just trying to get my hands on this stuff, but I’m having a difficult time.
I have installed the flyctl tools on my local machine, and added credits to my account. However, when I try to create an app, I get this error Error: server returned a non-200 status code: 500
The full console output:
user@host:~/devel/fly-apps/adguard$ flyctl app create cloud-adguard
? Select Organization: [REDACTED] (personal)
Error: server returned a non-200 status code: 500
In this folder, I have a Dockerfile
, the supporting AdGuardHome.yaml file, and a fly.toml
file
The Dockerfile contents:
FROM adguard/adguardhome:latest as base
EXPOSE 80 443/tcp 443/udp 853/tcp 853/udp
RUN mkdir -p /opt/adguardhome/conf && \
mkdir -p /opt/adguardhome/work && \
mkdir -p /certificate
COPY AdGuardHome.yaml /opt/adguardhome/conf/AdGuardHome.yaml
The fly.toml file:
[build]
[[services]]
internal_port = 80
protocol = "tcp"
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
[[services.ports]]
handlers = ["tls", "http"]
port = 5000
[[services]]
internal_port = 443
protocol = "tcp"
[[services.ports]]
port = 443
[[services]]
internal_port = 443
protocol = "udp"
[[services.ports]]
port = 443
[[services]]
internal_port = 853
protocol = "tcp"
[[services.ports]]
port = 853
[[services]]
internal_port = 853
protocol = "udp"
[[services.ports]]
port = 853
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 256
No matter what I try, I cannot get anything going, and the only thing I see on my commandline is the same error.
Error: server returned a non-200 status code: 500
Please help