pretendo-docker icon indicating copy to clipboard operation
pretendo-docker copied to clipboard

Raspberry pi issues

Open Evocated opened this issue 1 year ago • 9 comments

Had to use qemu to get the containers to run on my raspberry pi in the first place. Now the connections always refuse to everything. Even the url of the proxy itself. There’s also mongodb not working in the logs and refusing connection.

Evocated avatar Dec 15 '24 05:12 Evocated

You shouldn't need to use qemu, as all of the servers support ARM64. Have you installed a 64-bit operating system on the Pi? This won't work with a 32-bit operating system.

MatthewL246 avatar Dec 15 '24 16:12 MatthewL246

It’s arm64 lite OS. Is there any way I could build the containers on a computer for arm64?

Evocated avatar Dec 15 '24 16:12 Evocated

It should work if you use qemu on the computer and copy the images over to the Pi. I haven't tested this, though. I assumed you meant using qemu on the Pi before.

By the way, why can't you build the container images on the Pi? System requirements issue?

MatthewL246 avatar Dec 15 '24 16:12 MatthewL246

I did mean on the pi, but I also tried qemu on the pc for building and it had an error in multiple of the repos, I’ll give you one as soon as possible.

Evocated avatar Dec 15 '24 16:12 Evocated

Are there precompiled images anywhere?

Evocated avatar Dec 15 '24 16:12 Evocated

There are pre-compiled images in the Pretendo server repos, but they don't include my pretendo-docker-specific patches. I guess you could manually fork the repos, apply the patches, and build the images with GitHub Actions, but then you'd have to manually update your repos on every update.

MatthewL246 avatar Dec 15 '24 16:12 MatthewL246

How can I apply the patches?

Evocated avatar Dec 15 '24 17:12 Evocated

The patches are in the patches directory, organized by repo. You could run git apply example.patch on each patch and then commit and push the result to your fork.

Although in my opinion, figuring out why the ARM64 builds aren't working would be a better solution.

MatthewL246 avatar Dec 15 '24 17:12 MatthewL246

I just edited the test.yml workflow in my fork and made it export the containers in arm64. It built and outputted artifacts successfully and I'll let you know if it works.

Evocated avatar Dec 15 '24 18:12 Evocated