Open ImAlwaysInFaMouS opened 1 month ago
I don't get it, how are you trying to run Ownfoil? With docker or simply Python?
Docker.
https://www.raspberrypi.com/documentation/computers/os.html#python-on-raspberry-pi
It's a bookwork issue I'm guessing, so downgrading rpi OS should work?
Will have to test later.
I don't see how "bookwork" can impact Ownfoil is you are using Docker to run it. When using Docker, it will download an image that contains everything that is needed for Ownfoil to run, so all the Python libraries are already included.
Normally if you just use docker, i.e. you create a docker-compose as in the README and then use docker-compose up
command, it should not do any operation regarding the installation of Python packages.
I've pushed some changes to the RPI images, can you test again, without using any tag in the image?
Yes I use Docker.
pi@raspberrypi:~/nas1 $ sudo docker run -d -p 8465:8465 -v /home/pi/nas1/games:/games /home/pi/nas1/config:/app/config --name ownfoil a1ex4/ownfoil
docker: invalid reference format.
See 'docker run --help'.
so I
sudo nano docker-compose.yml
paste:
version: "3"
services: ownfoil: container_name: ownfoil image: a1ex4/ownfoil environment:
For write permission in config directory
- PUID=1000 - PGID=1000 volumes: - /home/pi/nas1/games:/games - /home/pi/nas1/config:/app/config ports: - "8465:8465"
pi@raspberrypi:~/nas1 $ docker-compose up -d
-bash: docker-compose: command not found
So i tried to:
pi@raspberrypi:~/nas1 $ docker compose up -d
WARN[0000] /home/pi/nas1/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 14/14
✔ ownfoil Pulled
✔ 690e87867337 Pull complete
✔ 2711f91d5f9c Pull complete
✔ 295e5a578ce9 Pull complete
✔ 52bfa99e5076 Pull complete
✔ c898ad883ec8 Pull complete
✔ 94f449ece0a3 Pull complete
✔ 059a069b1b62 Pull complete
✔ 6a25027e341b Pull complete
✔ f18364fda697 Pull complete
✔ 2a2db5ac4b38 Pull complete
✔ ac6f7f67fd5e Pull complete
✔ 4f4fb700ef54 Pull complete
✔ 6b2e326ea110 Pull complete
[+] Running 2/2
✔ Network nas1_default Created
✔ Container ownfoil Started
Container is made, runs, dies with the same error.
IDK why either, like you said it should all be "contained" ¯_(ツ)_/¯
Can you try to:
id
command, executed with the ˋpi` userRun the docker command again and post the logs if it still fails?
From what I can tell the pi
user should already be 1000:1000
but it's just to be sure.
Mine is working perfectly fine in docker
After using: sudo pip install --break-system-packages -r requirements
Then we try to sudo docker compose up -d
_ownfoil_logs.txt