SiloCityLabs / lochnas

Docker configuration for all-in-one nas setup
https://lochnas.com
GNU General Public License v3.0
51 stars 3 forks source link

rpi4b+ubuntu 22.04-./server.bin: Exec format error #87

Open yuriysergeev opened 1 year ago

yuriysergeev commented 1 year ago

Problem

Hi! I'm installing according to instruction https://lochnas.com/docs/install/ to my rpi4b with ubuntu 22.04 lochnas with this script

sudo curl -fsSL https://raw.githubusercontent.com/SiloCityLabs/lochnas/v3/install.sh -o install.sh && sudo sh install.sh

But recieved an error:

sudo curl -fsSL https://raw.githubusercontent.com/SiloCityLabs/lochnas/v3/install.sh -o install.sh && sudo sh install.sh
# Executing lochnas install script
Cloning into '/lochnas'...
remote: Enumerating objects: 1825, done.
remote: Counting objects: 100% (264/264), done.
remote: Compressing objects: 100% (148/148), done.
remote: Total 1825 (delta 130), reused 229 (delta 100), pack-reused 1561
Receiving objects: 100% (1825/1825), 160.01 MiB | 13.91 MiB/s, done.
Resolving deltas: 100% (1082/1082), done.
Enter root domain name to use for lochnas: pi
Enter email for ssl registration: myemail@me.com
sh: 1: ./server.bin: Exec format error

Solution

Successful installation

Details

Provide as much as you can below.

Server: Docker Engine - Community Engine: Version: 24.0.2 API version: 1.43 (minimum version 1.12) Go version: go1.20.4 Git commit: 659604f Built: Thu May 25 21:52:53 2023 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.6.21 GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8 runc: Version: 1.1.7 GitCommit: v1.1.7-0-g860f061 docker-init: Version: 0.19.0 GitCommit: de40ad0

ldrrp commented 1 year ago

Unfortunately, due to a specific piece of this still missing pi support, I have not made a build for the raspberry pi. Im waiting for an upstream change. See https://github.com/SiloCityLabs/lochnas/issues/33

ldrrp commented 1 year ago

Actually i just checked now and i see arm64 is now available for certbot. I can build it to support the pi soon.

https://hub.docker.com/r/certbot/certbot/tags

yuriysergeev commented 1 year ago

So, will you @ldrrp prepare a build or I can try to do on my own side?

ldrrp commented 1 year ago

You can download the repository and run make build on the root folder with go installed.