Skip to content
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

Support for arm/Raspberry Pi #19

Closed
MrMineDe opened this issue May 22, 2023 · 2 comments · Fixed by #20
Closed

Support for arm/Raspberry Pi #19

MrMineDe opened this issue May 22, 2023 · 2 comments · Fixed by #20
Labels
bug Something isn't working

Comments

@MrMineDe
Copy link

Installing with the command:
docker pull ghcr.io/maxmielchen/untiscalendar:latest
fails with the error message:
no matching manifest for linux/arm64/v8 in the manifest list entries

When overwriting the error message with:
sudo docker pull ghcr.io/maxmielchen/untiscalendar:latest --platform linux/amd64
it installs without errors. When starting it fails though (which was expectable...):

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
exec /bin/sh: exec format error

Is there a reason why the program wouldn't work on arm/Raspberry Pi?
Specs: Raspberry Pi 4 Model B

Thanks in advance

@maxmielchen
Copy link
Owner

Hey thanks for reporting. As you said, only the image for amd64 is currently stored in the github container registry (ghcr.io). In the future, I intend to support every processor architecture.

But until then, if you want to run this container on an unsupported system, you'll have to build it yourself.

# Clone git repository
git clone https://github.com/maxmielchen/UntisCalendar.git
cd UntisCalendar

# Build image
docker build -t untiscalendar:latest .

# Start container
docker run \
    -e TIMEZONE="Europe/Berlin" \
    -e ROOM=Room \
    -e TEACHER=Teacher \
    -e SUMMARY=School \
    -e USERNAME=your_username \
    -e PASSWORD=your_password \
    -e SERVER=niobe.webuntis.com \
    -e SCHOOL=your_school \
    -e TOKEN=secret \
    -p 80:8080 \
    untiscalendar:latest

@maxmielchen maxmielchen added the bug Something isn't working label Jun 1, 2023
@maxmielchen maxmielchen linked a pull request Jun 1, 2023 that will close this issue
@maxmielchen maxmielchen pinned this issue Jun 1, 2023
@maxmielchen
Copy link
Owner

Hey, I have now found a better way as I also store in arm architecture at ghcr.io. It would be very nice if you could test this version. Its only important that you use the image under "ghcr.io/maxmielchen/untiscalendar:main".
If this version works, I will make a release and from then on you can use this version again under "ghcr.io/maxmielchen/untiscalendar:latest".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants