Closed anzerr closed 1 year ago
While writing this up I found out that changing "1337kavin/piped:latest"
to "1337kavin/piped:graalvm-jvm"
fixed the container not booting.
Like this
piped:
image: 1337kavin/piped:graalvm-jvm
restart: unless-stopped
volumes:
- ./config/config.properties:/app/config.properties:ro
depends_on:
- postgres
container_name: piped-backend
Hope this helps anyone searching for the same problem
How much ram does your minipc have? It appears to be running out of memory. Not sure how it's running on graalvm, but I'm happy that it worka for you!
The machine has 16GiB and had ~11GiB at the time of build that made it even more confusion. I could try updating docker to see if it changes anything I'd be surprised if it did.
It added the meminfo to the report file when building
MemTotal: 16153272 kB
MemFree: 329124 kB
MemAvailable: 11130348 kB
Docker version
Client: Docker Engine - Community
Version: 19.03.13
API version: 1.40
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 17:02:52 2020
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.13
API version: 1.40 (minimum version 1.12)
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 17:01:20 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.3.7
GitCommit: 8fba4e9a7d01810a393d5d25a3621dc101981175
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683
docker-compose version 1.24.1, build 4667896b
docker-py version: 3.7.3
CPython version: 3.6.8
OpenSSL version: OpenSSL 1.1.0j 20 Nov 2018
Tried running the project on minipc I've got I'm getting problems with the backend(1337kavin/piped:latest)
I'll crash with this error
So I tried building the image from Piped-Backend but I'm getting a few errors
Checked
/opt/java/openjdk/bin/java
it exists and it can be executed I even forced it-rwxrwxrwx 1 root root 16320 Aug 17 11:55 /opt/java/openjdk/bin/java
I skipped the check to see if that was the only error.output from
"/app/hs_err_pid6.log"
Tried increasing
"DEFAULT_JVM_OPTS"
to"-Xmx512m -Xms512m"
that didn't change anythingI tried building and running from the image on docker hub on an other system and it worked. On the minipc I've other images build in "linux/amd64" running that work. This is the first image I've got problems with.
Image tags tested
"There is insufficient memory for the Java Runtime Environment to continue"
The cpu the machine is using