mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #534] Raspberry Pi: "exec format error" #342
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#342
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fn5 on GitHub (Nov 13, 2020).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/534
Describe the bug
When I try and run the second command as provided in the Quickstart I get an error as below.
Let me know if there's anything I can do to help. Thankyou.
Steps to reproduce
Screenshots or log output
standard_init_linux.go:211: exec user process caused "exec format error"Software versions
@pirate commented on GitHub (Nov 13, 2020):
ARM is a bit of a special case. You need to build the image on an arm CPU for it to run on arm (or use buildx).
If it still doesn't work after that, can you post the output of running the
archivebox versioncommand:@chrismeller commented on GitHub (Nov 16, 2020):
@pirate You can actually use docker buildx to build images for different architectures. For instance, I use this to build for my Pi3 from my Windows desktop:
docker buildx build --platform=linux/arm/v7 .@fn5 commented on GitHub (Nov 16, 2020):
Thankyou for your help here.
The build completed successfully, but now upon running init I get this error:
I did this as the init command led to this output:
@fdplacido commented on GitHub (Nov 21, 2020):
@jackitsdotcom instead of using the volume (
-v) with~/archivebox:/data, create some directory yourself and point to it (or change~/archiveboxpermissions:Otherwise the folder can be only written by root, that's why it said Permission denied.
@pirate commented on GitHub (Nov 23, 2020):
I'm going to close this because the docker buildx workflow for ARM cpus is now merged. https://hub.docker.com/r/archivebox/archivebox
If you're still having permissions errors with the data folder @jackitsdotcom please comment here https://github.com/ArchiveBox/ArchiveBox/issues/539 and I'd be happy to help.