[Tech Preview] Linux Storage Node & Updater

PSA: the v1.22.2 ARM binary zip file appears to have two files in it, causing the following error during the update.

2021-02-17T14:25:53.336-0700        ERROR        Error updating service.        {"Service": "storagenode", "error": "archive should contain only one file", "errorVerbose": "archive should contain only one file\n\tmain.unpackBinary:94\n\tmain.downloadBinary:61\n\tmain.update:44\n\tmain.loopFunc:
26\n\tstorj.io/common/sync2.(*Cycle).Run:152\n\tmain.cmdRun:126\n\tstorj.io/private/process.cleanup.func1.4:363\n\tstorj.io/private/process.cleanup.func1:381\n\tgithub.com/spf13/cobra.(*Command).execute:842\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:950\n\tgithub.com/spf13/cobra.(*Command).Execute:887\n\tstorj.io/private/process.ExecWithCustomConfig:88\n\tstorj.io/
private/process.Exec:65\n\tmain.main:11\n\truntime.main:204"}

The zip file for the AMD64 binary does not have this issue:

The __MACOSX folder is likely tripping up the updater service.

I’ve manually updated my ARM node for this version.

3 Likes