QNAP TS-332X - Node is failing to start

Hey everyone, it’s been a while! My first node was too slow and error prone that I gave up to run it last year.

But now I’ve got a QNAP TS-332X and it’s great!

First of all:

  • Firmware
  • Container Station ( and also tried with

My first attempt was to use the QNAP-App but both “latest” versions (1.1.0 and 1.1.2) have the same issue for me:

I inspected its logs and got this:

Mon Jul 12 10:04:59 BRT 2021 ----------- Installation REMOVED ------ 
Mon Jul 12 10:05:27 BRT 2021 ======= NEW INSTALL (ver 1.1.2) ======
Mon Jul 12 10:05:27 BRT 2021 RUNNING pkg_init (ver 1.1.2) 
Mon Jul 12 10:05:27 BRT 2021  pre install completed (ver 1.1.2) 
Mon Jul 12 10:05:28 BRT 2021 INSTALL run completed (ver 1.1.2) 
Mon Jul 12 10:05:28 BRT 2021  RUNNING post install @ / 
check/put entry in cron file: 5 0 * * * /STORJ/scripts/storagenodeupdate.sh /share/CACHEDEV1_DATA/Public/storagenode.conf/config.json  
Mon Jul 12 10:05:30 BRT 2021  post install COMPLETED (ver 1.1.2) 
Mon Jul 12 10:05:30 BRT 2021  STORJ : Request to start (start) 
Mon Jul 12 10:05:31 BRT 2021  STORJ : Request to start (start) completed

So no idea why it’s not starting (nor even creating a Docker container).

Then my second approach was to use the CLI, what I’ve done so far:

  • Connected to my QNAP using ssh
  • Tried to run the following command:
docker run --rm \
	-e SETUP=true \
	--mount type=bind,source=/root/credentials,destination=/app/identity \
	--mount type=bind,source=/root/storj,destination=/app/config \
	--name storagenode storjlabs/storagenode:latest
Unable to find image 'storjlabs/storagenode:latest' locally
latest: Pulling from storjlabs/storagenode
58ab47519297: Pull complete 
e69b284058c2: Pull complete 
4aecfb8c0f6e: Pull complete 
343bdb3df068: Pull complete 
a3781acb482d: Pull complete 
297ca68e0454: Pull complete 
Digest: sha256:3e4d1809f328918b7f99a0a0889c6d4701ddbb0806ec73add73edbf5e7e9686f
Status: Downloaded newer image for storjlabs/storagenode:latest
./storagenode: line 1: syntax error: unexpected word (expecting ")")

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?


Hi, you don’t have to use the qnap app. You have to use commands via ssh. There is the guide both on the site and here.
I have TS 230

Hi @Roberto thanks for your time!

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
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

docker run --rm -e SETUP=“true” --mount type=bind,source="/share/Public/storagenode.conf/Identity/storagenode",destination=/app/identity --mount type=bind,source="/share/Public/Storage",destination=/app/config --name storagenode storjlabs/storagenode:latest

I would say that problem is in QNAP. This error only appears on certain QNAP models.
See Search results for 'syntax error: unexpected word ' - Storj Community Forum (official)

Please try

docker run -it --rm --entrypoint sh storjlabs/storagenode

When you see /app # prompt, try:



./storagenode version

To exit:


Also please post result of the command

docker info

Hey @Alexey thanks for your time!

Yeah, the issue is definitely with my QNAP =/
I was doing exactly what you mentioned, so, here are the outputs:

[/share/CACHEDEV1_DATA] # docker run -it --rm --entrypoint sh storjlabs/storagenode
/app # arch
/app # ./storagenode version
./storagenode: line 1: syntax error: unexpected word (expecting ")")

One thing that I know that’s working is:

/app # mv storagenode storagenode_original
/app # wget https://github.com/storj/storj/releases/download/v1.33.1/storagenode_linux_arm64.zip
/app # unzip storagenode_linux_arm64.zip
     4 -rwxr-xr-x    1 root     root          91 Jun 27 21:01 dashboard.sh
 31464 -rwxr-xr-x    1 root     root       30.7M Jul 12 22:01 storagenode
 15492 -rw-r--r--    1 root     root       15.1M Jul 12 22:00 storagenode_linux_arm64.zip
 28860 -rwxr-xr-x    1 root     root       28.2M Jun 27 21:12 storagenode_original
/app # ./storagenode version
Release build
Version: v1.33.1
Build timestamp: 27 Jun 21 21:12 UTC
Git commit: 1dc61476405150a94695397f01d77b67d15e3f9c

After that I commit the container, creating a new image, and that’s it…I was able to run the node…BUT that’s not THAT maintainable =/
Any idea?

1 Like

Thank you for testing this!
I filed a bug report to the team based on your info.

I cannot reproduce that in the emulator (I do not have any aarch64 device unfortunately), but you give us a useful information, thanks!