I noticed through some other topics that the ARMv8 builds are not being tested anymore (or something like that). So I also tried with some hard coded tags like storjlabs/storagenode:arm and :<<HASH>>-go1.15.7-arm64v8 but still got the same ./storagenode: line 1: syntax error: unexpected word (expecting ")") error =/
For me it’s obviously that the ./storagenode is not being recognized as an executable rather than a shell script, but I have no idea how to force that. Maybe tweaking my $PATH?
Is there a third way to start a node in an ARM NAS? Maybe building it from source, is that a valid approach or am I doing something wrong here?
I already tried to “run commands via ssh”, as you can see in my second approach. Basically I’m facing the annoying ./storagenode: line 1: syntax error: unexpected word (expecting ")") error there =/
Could you please paste here your QNAP’s Firmware and Container Station version?
Qnap firmaware 4.5.4.1723
Conyainer station v2.3.5.1708
The problem is not in the qnap. Maybe you are using a text editor that changes the quotes, some text programs change them. Make sure you copy the commands from the explanation correctly. I am an inexperienced person and I have succeeded
Hey, thanks for your time.
I’ve decided to go with the fully “command line” approach.
My node is up and running with the latest release, but like I said before, I had to tweak the binary to make it work. Will wait for the next release to see if it will work “out of the box”, if not I’ll analyze why the releases are not covering aarch64 and try to fix it in a PR there =).
Hi everyone. Thanks to everyone looking into this. I looked into this issue today, and the problem was that we mistakenly included aarch32/arm (instead of aarch64/arm64) executables in arm64-tagged storage node images. In most instances, it would run just fine, but some CPUs might have problems with this. The issue was fixed with this change, and new images will be available in our Docker Hub repository soon (it’s currently being built). After the soonest release, it will also update automatically for people who have automatic updates set up.
Thank you so much for reporting this, and I hope you will continue to be a great addition to the Storj network!
My next goal is to use the watchtower image, as I’m getting:
# docker run -d --restart=always --name watchtower -v /var/run/docker.sock:/var/run/docker.sock storjlabs/watchtower storagenode watchtower --stop-timeout 300s
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
31f712e2203f964cd039f642013a3c7e232214068333dfcfb53335dac5458b06
The container is running but still not sure if it’s working there.
But I think this is out of STORJ scope, so, will fix this one by myself.