QNAP. The wizard can’t approve the identity path even using the browse feature on the identity screen

I am having a similar problem here too with path using the browse feature

Identity verified on Mac OS then moved across, operating latest QNAP package

I also have to open it in a separate browser rather than Qnap UI !

The Problem is the wizard can’t approve the identity path even using the browse feature on the identity screen

/share/Container/storj/Identity/storagenode
“Please enter a valid path”

Screenshot 2021-11-30 at 10.26.22|690x496

Hello @Geelhem ,
Welcome to the forum!

I think, the path should be /share/DataVol1/Container/storj/Identity/storagenode

There definitely something wrong with the QNap app even when using the folder picker. Stuck on the last page of the wizard. Moved identity files out initial folder no luck played for 2 hours.

I felt courageous Managed to get a remote ssh working and installed node through docker instead ! Success or so I thought! Node ran for 24h downloaded 100gb I was happy as Larry !!! On a first attempt!

Tonight I had to stop the container ( gracefully) to add the autorestart in gui and now indenty.ca cannot be found. I changed nothing and other than slider button, stop and started button. Restarted the NAS, replaced identify with originals. Still the identy folder can’t be found. Even though it here.

Has this happened to anyone?

Here is my docker

docker run --rm -e SETUP=“true”
–mount type=bind,source="/share/Container/storj/Identity",destination=/app/identity
–mount type=bind,source="/share/Container/storj/data",destination=/app/config
–name storagenode1 storjlabs/storagenode:latest

docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967/tcp
-p 28967:28967/udp
-p 127.0.1.2:14002:14002
-e WALLET=“XX”
-e EMAIL="X@gmail.com"
-e ADDRESS=“Xxx.myqnapcloud.com:28967
-e STORAGE=“550GB”
–mount type=bind,source="/share/Container/storj/Identity",destination=/app/identity
–mount type=bind,source="/share/Container/storj/data",destination=/app/config
–name storagenode1 storjlabs/storagenode:latest

Any ideas ? @Alexey

This should be run only once.

should be
/share/Container/storj/Identity/storagenode

Ran only once.

I moved the content of storage node in identy.

I’m just confused as why I changed no setting other auto restare in the gui and now it won’t launch

I do not recommend to use GUI. They usually does not provide a consistent experience and you cannot be confident that during update they do not break something.

However, I think, the change was made earlier, but the container were not re-created: if follow the CLI, you need to stop and remove the container, then run it again with all your parameters, include changed ones.
So, the change was made, but container not re-created. When you specified start after reboot - they actually added a new parameter to the resulted docker run command, so this time the container were re-created and applied changed parameters altogether.

Very often a GUI just a wrapper around the CLI commands (especially in Linux), I think this is the case for the GUI on QNAP.
So I believe the GUI “forgot” some parameters when it re-created a container. This is not the last bug and you likely will meet more if you would continue to use it.

Usually the GUI uses not recommended parameters for binding, for example - they uses a very dangerous -v docker option instead of safe --mount, earlier our software did not detect that data location is empty and started container from scratch, if the OS did not mount the disk for any reason, the docker were happy to create an empty volume instead (because the -v option is designed to do so). As result - your node were disqualified for lost data. Now we detect if mount point is empty and crash the container if it is empty (this is why there a SETUP step - it creates special file, and it can be created only with SETUP, so if file is missing or not readable or not writeable - we crash the container to safe the node from disqualification).

Thus I recommend to avoid using a GUI and use a CLI instead, where you control what parameters for your container will be specified.

1 Like

Maybe it can help

I created a new shared folder called storj01 with two folders inside, identity and storage

In identity you put your identity, storage you leave it empty

Then open Putty2
Insert username and password
3
Type q and y to exit help4
And finally you are in the Putty interface5

From here you have to enter the guide commands:

  • Download the latest version first

docker pull storjlabs/storagenode:latest

  • Then you tell him where the folders are
docker run --rm -e SETUP="true"
--mount type=bind,source="/share/storj01/identity/storagenode",destination=/app/identity
--mount type=bind,source="/share/storj01/storage",destination=/app/config
--name storagenode storjlabs/storagenode:latest
  • Then you give it the command to start it with your data
docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28967:28967/tcp \
-p 28967:28967/udp \
-p 14002:14002 \
-e WALLET="0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-e EMAIL="user@example.com" \
-e ADDRESS="yourdomain.ddns.net:28967" \
-e STORAGE="2TB" \
--mount type=bind,source="/share/storj01/identity/storagenode",destination=/app/identity \
--mount type=bind,source="/share/storj01/storage",destination=/app/config \
--name storagenode storjlabs/storagenode:latest

Also you must have a static ip to the outside and open the doors of the router. If you don’t have a static ip you can use noip.
The nas also has a fixed ip in the local network, it is not in dhcp, otherwise it changes 192.168.1.2

1 Like

Could you please amend your post with additional info?
Since you specified paths here:

why do not specify them there:

And put examples between two new lines with three backticks ```, like this:

```

docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28967:28967/tcp \
-p 28967:28967/udp \
-p 14002:14002 \
-e WALLET="0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-e EMAIL="user@example.com" \
-e ADDRESS="yourdomain.ddns.net:28967" \
-e STORAGE="2TB" \
--mount type=bind,source="/share/storj01/identity/storagenode",destination=/app/identity \
--mount type=bind,source="/share/storj01/storage",destination=/app/config \
--name storagenode storjlabs/storagenode:latest

```
1 Like

Thanks @Akexey, I had copied the commands quickly and I hadn’t noticed the lack

1 Like