cells icon indicating copy to clipboard operation
cells copied to clipboard

Request - ARM Build

Open RaspberryTech01 opened this issue 3 years ago • 9 comments

Hi all, can we please get an ARM based build for v3.0 please? It was told a few months ago we would get one when the next major version was released but I don't see one anywhere.

Thanks!

RaspberryTech01 avatar Oct 26 '21 15:10 RaspberryTech01

I also would like an ARM build I am attempting to look at the feasibility of running cells v.3 on a Drobo 5N2.
I also know it will be slow... but hey so what... once its there, its there baby. :)

jasonmccullar2 avatar Nov 12 '21 21:11 jasonmccullar2

I spent 3 days trying to build an ARM version. No problem with an x86 version, but the Arm version (I tried cross-built AND native built) complain about missing resources :

2022-01-02T18:13:28.596+0100	INFO	pydio.grpc.data.sync	Starting umbrella service pydio.grpc.data.sync. with sources	{"sources": ["pydiods1", "personal", "cellsdata", "versions", "thumbnails"]}
2022-01-02T18:13:28.604+0100	WARN		Could not apply idm_oauth_ migration, maybe because of concurrent access, retrying...
2022-01-02T18:13:28.605+0100	INFO	pydio.grpc.data.objects	Starting umbrella service pydio.grpc.data.objects. with sources	{"sources": ["local1"]}
2022-01-02T18:13:28.616+0100	ERROR	pydio.grpc.acl	Failed to init DB provider	{"error": "missing migrations for prefix idm_acl_ - did you maybe compile without generate step?"}
2022-01-02T18:13:28.616+0100	ERROR	pydio.grpc.acl	Could not run 	{"error": "missing migrations for prefix idm_acl_ - did you maybe compile without generate step?"}
2022-01-02T18:13:28.616+0100	INFO	pydio.grpc.config	Started
2022-01-02T18:13:28.624+0100	ERROR	pydio.grpc.user-key	Failed to init DB provider	{"error": "missing migrations for prefix idm_key_ - did you maybe compile without generate step?"}
2022-01-02T18:13:28.624+0100	ERROR	pydio.grpc.user-key	Could not run 	{"error": "missing migrations for prefix idm_key_ - did you maybe compile without generate step?"}
2022-01-02T18:13:28.711+0100	WARN		Could not apply idm_oauth_ migration, maybe because of concurrent access, retrying...

Salamandar avatar Jan 02 '22 17:01 Salamandar

@Salamandar There are precompiled arm binaries but its not listed directly on their website. https://download.pydio.com/pub/cells/dev/linux-arm64/

This contains the latest arm build.

RaspberryTech01 avatar Jan 02 '22 17:01 RaspberryTech01

@Salamandar There are precompiled arm binaries but its not listed directly on their website. https://download.pydio.com/pub/cells/dev/linux-arm64/

This contains the latest arm build.

Hi, That's nice, goung to test this. Having release builds will be nice too though :)

Salamandar avatar Jan 02 '22 18:01 Salamandar

When this hits release can we also have an ARM64 Docker image? Should be fairly easy to build with docker buildx to make a multi-arch docker image.

daegalus avatar Jan 14 '22 09:01 daegalus

if someone has time & motivation, the future branch contains a v4 folder with modules ;-). Hopefully this will help alternative builds.

cdujeu avatar Jan 14 '22 16:01 cdujeu

@cdujeu doesn't look like it's ready :

~/t/cells ❯❯❯ make dev
go build\
 -tags dev\
         -gcflags "all=-N -l"\
 -ldflags "-X github.com/pydio/cells/common.version=3.1.0-dev\
 -X github.com/pydio/cells/common.BuildStamp=2018-01-01T00:00:00\
 -X github.com/pydio/cells/common.BuildRevision=dev\
 -X github.com/pydio/cells/common.LogFileDefaultValue=false"\
 -o cells\
 .
go: cannot find main module, but found vendor/vendor.json in /home/piedallu/tmp/cells
	to create a module there, run:
	go mod init
make: *** [Makefile:39 : dev] Erreur 1
~/t/cells ❯❯❯ go mod init                                                                                                                                                                                                            ✘ 2 
go: creating new go.mod: module github.com/pydio/cells
go: converting vendor/vendor.json: stat appengine/cloudsql@: malformed module path "appengine/cloudsql": missing dot in first path element
go: converting vendor/vendor.json: stat github.com/Azure/go-autorest/autorest/to@464bad03cb4524866347e2a71b6779942d0cac37: github.com/Azure/go-autorest/autorest/to@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat github.com/Azure/go-autorest/autorest/azure@464bad03cb4524866347e2a71b6779942d0cac37: github.com/Azure/go-autorest/autorest/azure@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat github.com/Azure/go-autorest/autorest/date@464bad03cb4524866347e2a71b6779942d0cac37: github.com/Azure/go-autorest/autorest/date@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat github.com/Azure/go-autorest/autorest/validation@464bad03cb4524866347e2a71b6779942d0cac37: github.com/Azure/go-autorest/autorest/validation@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat github.com/DataDog/datadog-go/statsd@464bad03cb4524866347e2a71b6779942d0cac37: github.com/DataDog/datadog-go/statsd@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat github.com/Masterminds/semver@6b2a58267f6a8b1dc8e2eb5519b984008fa85e8c: github.com/Masterminds/semver@6b2a58267f6a8b1dc8e2eb5519b984008fa85e8c: invalid version: unknown revision 6b2a58267f6a8b1dc8e2eb5519b984008fa85e8c
go: converting vendor/vendor.json: stat github.com/NYTimes/gziphandler@464bad03cb4524866347e2a71b6779942d0cac37: github.com/NYTimes/gziphandler@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat github.com/Microsoft/go-winio@464bad03cb4524866347e2a71b6779942d0cac37: github.com/Microsoft/go-winio@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat cloud.google.com/go/internal@464bad03cb4524866347e2a71b6779942d0cac37: cloud.google.com/go/internal@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat cloud.google.com/go/compute/metadata@464bad03cb4524866347e2a71b6779942d0cac37: cloud.google.com/go/compute/metadata@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat github.com/StackExchange/wmi@464bad03cb4524866347e2a71b6779942d0cac37: github.com/StackExchange/wmi@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat github.com/armon/circbuf@464bad03cb4524866347e2a71b6779942d0cac37: github.com/armon/circbuf@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat github.com/armon/go-metrics@464bad03cb4524866347e2a71b6779942d0cac37: github.com/armon/go-metrics@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat github.com/armon/go-metrics/circonus@464bad03cb4524866347e2a71b6779942d0cac37: github.com/armon/go-metrics/circonus@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat github.com/aokoli/goutils@6b2a58267f6a8b1dc8e2eb5519b984008fa85e8c: github.com/aokoli/goutils@6b2a58267f6a8b1dc8e2eb5519b984008fa85e8c: invalid version: unknown revision 6b2a58267f6a8b1dc8e2eb5519b984008fa85e8c
go: converting vendor/vendor.json: stat github.com/armon/go-metrics/datadog@464bad03cb4524866347e2a71b6779942d0cac37: github.com/armon/go-metrics/datadog@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37
go: converting vendor/vendor.json: stat github.com/allegro/bigcache@92a824fbb3f6faa47bbb418441c9e43cfb62d294: github.com/allegro/[email protected]: invalid version: go.mod has post-v1 module path "github.com/allegro/bigcache/v2" at revision 92a824fbb3f6
go: converting vendor/vendor.json: stat github.com/allegro/bigcache/queue@92a824fbb3f6faa47bbb418441c9e43cfb62d294: github.com/allegro/bigcache/[email protected]: invalid version: missing github.com/allegro/bigcache/queue/go.mod at revision 92a824fbb3f6
go: converting vendor/vendor.json: stat github.com/Azure/azure-sdk-for-go/arm/network@464bad03cb4524866347e2a71b6779942d0cac37: github.com/Azure/azure-sdk-for-go/arm/network@464bad03cb4524866347e2a71b6779942d0cac37: invalid version: unknown revision 464bad03cb4524866347e2a71b6779942d0cac37

Salamandar avatar Jan 14 '22 16:01 Salamandar

... branch contains a v4 folder

cdujeu avatar Jan 14 '22 17:01 cdujeu

but beware it is not ready yet (but should build)

cdujeu avatar Jan 14 '22 17:01 cdujeu

Hello @cdujeu I am grateful that this issue is now closed but I don't see ARM builds in the release directory (there are some in the nightly directory but there were there before). Am i missing something? Thank you

clement-escolano avatar Sep 28 '22 08:09 clement-escolano

Hi Clément,

you're right we haven't fully wired the ARM builds in our release pipe. We'll try to do that before the RC6. In the meantime, have you been able test the latest ARM build? Any feedback on this?

bsinou avatar Sep 28 '22 15:09 bsinou

Hi Clément,

you're right we haven't fully wired the ARM builds in our release pipe. We'll try to do that before the RC6. In the meantime, have you been able test the latest ARM build? Any feedback on this?

I recently updated to the latest build and it seems to work fine. Prior to that link sharing was not working (may have just required a restart, easier to update to latest though)

RaspberryTech01 avatar Sep 28 '22 16:09 RaspberryTech01

Great thank you! I have and just like @RaspberryTech01, I have no issue using it :-)

clement-escolano avatar Sep 28 '22 16:09 clement-escolano

So actually I was having no issues with a previous version of cells (probably 3.x.x). When updating to the latest build, server is always in "Server is starting" mode. It may be due to my own set up, will try to debug and report back :-)

clement-escolano avatar Sep 29 '22 07:09 clement-escolano