goryn-clade / pathfinder-containers

A Docker-compose solution for Pathfinder mapping tool using Traefik
Other
61 stars 66 forks source link

Can you help to build for Raspberry pi (arm64) ? #99

Open Tharnadar opened 3 days ago

Tharnadar commented 3 days ago

I was using your repository successfully on my WSL for a long time, but today I bought a Raspberry PI 5 in order to have multiple tools always running, instead of using WSL...

But unfortunately the image are built for amd64 and they don't work on Raspberry PI.

I managed to rebuild some of the images locally, like mariadb and pf-socket, but pathfinder is a pain in the ass...

The alpine seems to have removed some of php7 packages like redis, and also the build image have some problems related to php7.

Tharnadar commented 2 days ago

I had to clone locally and rebuild bianjp/docker-mariadb-alpine and most important https://github.com/TrafeX/docker-php-nginx/commits/1.10.0 ; I think for the last one is not really to correct version because the image tag on docker hub was uploaded 2019-01-25 and the version 1.10.0 is from 2021-01-18.

Now the application is up & running but I have a problem with websockets immagine

also I have the following error from the service /api/Map/getAccessData

{"error":[{"type":"error","code":500,"status":"Internal Server Error","text":"Redis::set(): EXPIRE can't be < 1"}]}

the container logs are the following

NOTICE: PHP message: Redis::set(): EXPIRE can't be < 1
NOTICE: PHP message: [index.php:27] Base->run()
NOTICE: PHP message: Redis::set(): EXPIRE can't be < 1
NOTICE: PHP message: [index.php:27] Base->run()
172.18.0.2 - pf [29/Oct/2024:14:46:35 +0100] "GET /api/Map/getAccessData HTTP/1.1" 500 557 "https://raspberrypi/map" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0" "172.18.0.1"
172.18.0.2 - pf [29/Oct/2024:14:46:35 +0100] "GET /api/Map/initData HTTP/1.1" 500 37777 "https://raspberrypi/map" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0" "172.18.0.1"

Thank you