-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for other platforms like ARM #175
Comments
This is going to be a huge task as all dependent Docker images are available for AMD64 only. Have to either find new base images or create them on my own. |
LinkAce does work on armhf/aarch64. Not sure what other architectures there need to be. All dependent images support arm64. I have tested this on a Raspberry Pi 4 (thought I did need to swap Bitnami's MariaDB with the official image). |
Currently pushed to a later version because both images need to be rebuild with other base images to be working correctly. Neither Bitnami's PHP image nor the webdevps PHP Nginx image are compatible with ARM devices. Needed replacements:
If anyone has suggestions for images please share them with me. I prefer images which can be configured, instead of having to install everything on my own. |
Quick update: the build process for regular Docker images (PHP only) works. Will probably released somewhat later because I have to properly test the new image as it relies on a different base image. |
Hallo Kevin, i am interested to port LinkAce to raspberry pi 4 platform. https://hub.docker.com/r/tobi312/php What do you think about? |
Hi @gianter962, the only image missing at the moment is a combined image with both PHP and nginx installed. If you have a good working image that is also actively maintained, feel free to share it. |
can you take a look at this? |
I have restructured the whole Docker build process. The two images rely on the official PHP image and are compatible with the following platforms: amd64, arm64, arm/v7. 👉 To test this properly, I ask interested users to try both images with their devices. The test images are available in a dedicated repository: kovah/linkace-test
The Docker compose files needed for this are available in the repository's dev branch. You have to replace |
Started to check from multiplatform-simple: |
I fixed some images and tested the multiplatform image on my Raspberry Pi 4 - and it worked! I am not able to run extensive tests for other platforms, so the images will be released in the next days with version 1.4.0. |
LinkAce 1.4.0 is now released and the Docker images support ARM now. 🥳 Please notice that you may have to change the database if you want to rn LinkAce on a ARM v7 platform. |
hey, I'm trying to set this up from scratch on a raspberry pi 4b. all the supporting containers seem to be running fine, but I'm getting an error in the app container as soon as it starts: I'm using this image, and it seems to be armv7 locally (via docker image inspect) so I'm not sure what the issue is: https://hub.docker.com/layers/linkace/linkace/v1.4.0/images/sha256-71e0a5ba248a3f54f3f9466afc6389f0f20873dfe886ee1b8d7f9cf727efabbb?context=explore any ideas? |
I noticed bitnami/php-fpm:8.0-prod doesn't have an armv7 image. maybe that's related? |
What the hell?! Docker Hub built some images despite having them disabled. 😟 |
thanks! I managed to get all the containers running (nginx config needed some tweaking to work on the non-bitnami image - I'll document after everything is working) but now I'm getting a 500 with this error:
this is what I get for
it seems the date/time is way misconfigured on the app container. I tried some suggestions from stack overflow like mounting some timezone/localtime directories but it didn't seem to help. any ideas? |
Same here, i got 500 in the test images too as wrote here |
@gianter962 please post the exact error message from the log files, if available. You may also set |
for anyone's reference, these are the changes I had to make to get things running (let me know if there's an easier way for any of this) docker-compose.yml:
Nginx:
Full docker-compose: https://gist.github.com/galonsky/14184bd275b2ff0f7278c7a8b82d6082 |
switched APP_DEBUG=true i got SQLSTATE[42S02]: Base table or view not found: 1146 Table 'linkace.settings' doesn't exist (SQL: select * from settings where user_id is null) ... below the log file from /app/storage/logs [.env removed for security reasons by mod] |
@gianter962 The LinkAce database is missing. If you already completed the setup in the past, check your database. If you are starting fresh, please make sure you have |
thank you a lot, solved with SETUP_COMPLETED=false |
EDIT : works following https://belginux.com/installer-linkace-avec-docker/ I got an error |
Support for at least ARM would be cool to support LinkAce on Raspberry Pi's and similar devices.
The text was updated successfully, but these errors were encountered: