# TrueNAS install

**URL:** <https://forum.storj.io/t/truenas-install/15511>\
**Category:** troubleshooting\
**Tags:** authorization-token, truenas, identity\
**Created:** [September 30, 2021, 10:14pm UTC](https://forum.storj.io/t/truenas-install/15511 "2021-09-30T22:14:32Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kowy54](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kowy54/32/9141_2.png) [@Kowy54](https://forum.storj.io/u/Kowy54)\
**Post date:** [September 30, 2021, 10:14pm UTC](https://forum.storj.io/t/truenas-install/15511/1 "2021-09-30T22:14:32Z")

</div>

Hello. For year i used storagenode under docker in synology(xpenology). My system crashed and i had to install truenas. I have problem with time sync -2H and i cannot access dashboard 😕  
Any help?

---

<div class="post-metadata">

**Author:** ![SGC](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/sgc/32/1132_2.png) [@SGC](https://forum.storj.io/u/SGC)\
**Post date:** [October 1, 2021, 6:37am UTC](https://forum.storj.io/t/truenas-install/15511/2 "2021-10-01T06:37:24Z")

</div>

did you remember to change the ip on the storagenode dashboard.  
when doing stuff like docker run commands, you put in the ip twice.  
once for the storage node and once for the web dashboard, the dashboard port is usually like 14002

> **[Storage Node](https://docs.storj.io/node/setup/cli/storage-node)**
>
> The Docker container that has the software you need to run your Storage Node.

the time sync is most likely because you think that the storagenode log is local time, which it isn’t … the storagenode log time is GMT or UTC and thus will always deviate by a certain amount of hours depending on your local time and location.

> **[Greenwich Mean Time - exact time now - Time.is](https://time.is/GMT)**

---

<div class="post-metadata">

**Author:** ![Kowy54](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kowy54/32/9141_2.png) [@Kowy54](https://forum.storj.io/u/Kowy54)\
**Post date:** [October 1, 2021, 1:17pm UTC](https://forum.storj.io/t/truenas-install/15511/3 "2021-10-01T13:17:15Z")

</div>

with docker option --network=“host” i can access dashboard.  
But this 😕

 ![2021-10-01 15_16_31-Window](https://storj-s3.bcdn.literatehosting.net/original/2X/0/05acc462d92e68f93c5f77195ef1abcf9231ed53.png)

---

<div class="post-metadata">

**Author:** ![Kowy54](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kowy54/32/9141_2.png) [@Kowy54](https://forum.storj.io/u/Kowy54)\
**Post date:** [October 1, 2021, 3:15pm UTC](https://forum.storj.io/t/truenas-install/15511/4 "2021-10-01T15:15:53Z")

</div>

ERROR contact:service ping satellite failed {“Satellite ID”: “121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6”, “attempts”: 9, “error”: “ping satellite: failed to dial storage node (ID: 12GgvLSny7xMianCWX5WMbq4DqoDrau3ckHiqNf18Xx6hD3jKML) at address 213.175.54.3:6070: rpc: tls peer certificate verification: not signed by any CA in the whitelist: CA cert”, “errorVerbose”: “ping satellite: failed to dial storage node (ID: 12GgvLSny7xMianCWX5WMbq4DqoDrau3ckHiqNf18Xx6hD3jKML) at address 213.175.54.3:6070: rpc: tls peer certificate verification: not signed by any CA in the whitelist: CA cert\n\[tstorj.io/storj/storagenode/contact.(\*Service](http://tstorj.io/storj/storagenode/contact.(*Service)).pingSatelliteOnce:141\n\[tstorj.io/storj/storagenode/contact.(\*Service](http://tstorj.io/storj/storagenode/contact.(*Service)).pingSatellite:95\n\[tstorj.io/storj/storagenode/contact.(\*Chore](http://tstorj.io/storj/storagenode/contact.(*Chore)).updateCycles.func1:87\n\[tstorj.io/common/sync2.(\*Cycle](http://tstorj.io/common/sync2.(*Cycle)).Run:92\n\[tstorj.io/common/sync2.(\*Cycle](http://tstorj.io/common/sync2.(*Cycle)).Start.func1:71\n\[tgolang.org/x/sync/errgroup.(\*Group](http://tgolang.org/x/sync/errgroup.(*Group)).Go.func1:57”}

---

<div class="post-metadata">

**Author:** ![SGC](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/sgc/32/1132_2.png) [@SGC](https://forum.storj.io/u/SGC)\
**Post date:** [October 1, 2021, 4:16pm UTC](https://forum.storj.io/t/truenas-install/15511/5 "2021-10-01T16:16:23Z")

</div>

> [@Kowy54](#):
>
> tls peer certificate verification: not signed by any CA in the whitelist: CA cert”

did you sign your identity correctly?  
not sure if that’s what it says but its all that comes to mind.

> **[Step 5. Create an Identity - Storj Docs](https://docs.storj.io/node/get-started/identity)**
>
> Make the world your data center

@Alexey what do you think?

---

<div class="post-metadata">

**Author:** ![penfold](https://storj.bcdn.literatehosting.com/letter_avatar/penfold/32/6_449c533f586939b6e5f246632a46421f.png) [@penfold](https://forum.storj.io/u/penfold)\
**Post date:** [October 1, 2021, 4:40pm UTC](https://forum.storj.io/t/truenas-install/15511/6 "2021-10-01T16:40:55Z")

</div>

It should be mentioned TrueNAS Scale is out now too - which is Debian based and may be somewhat easier for those with more interest in Linux systems than FreeBSD based.  
_caveat_ I have yet to try it myself. I’m certainly looking forward to the better hardware support.  
10 gig network cards in particular are set to become much easier.

---

<div class="post-metadata">

**Author:** ![Kowy54](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kowy54/32/9141_2.png) [@Kowy54](https://forum.storj.io/u/Kowy54)\
**Post date:** [October 1, 2021, 5:43pm UTC](https://forum.storj.io/t/truenas-install/15511/7 "2021-10-01T17:43:20Z")

</div>

With my identity a get nubers 1 and 2 😕 First time i had 3 and 2. Need i new token and new identity?

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 1, 2021, 6:17pm UTC](https://forum.storj.io/t/truenas-install/15511/8 "2021-10-01T18:17:09Z")

</div>

Hello @Kowy54 ,  
Welcome to the forum!

You need a new token. I think you messed up paths to the identity. The checker checks default paths. If you moved identity, you need to change path in the checker too.

The same is true when you sign the identity - if you did not specify a new path with `--config-dir` and `--identity-dir` (they will be the same for the identity), it will authorize identity in the default path.  
To see a default path you can run the `identity` binary with `--help` option.  
The name of the service = name of the folder in that path.  
I.e. for Linux `~/.local/storj/identity` and service with name `storagenode` for example, the identity will be created as a folder in that path, i.e. `~/.local/storj/identity/storagenode`.  
In this folder you would have four files by default. After authorize you would have 6.

---

<div class="post-metadata">

**Author:** ![Kowy54](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kowy54/32/9141_2.png) [@Kowy54](https://forum.storj.io/u/Kowy54)\
**Post date:** [October 1, 2021, 8:24pm UTC](https://forum.storj.io/t/truenas-install/15511/9 "2021-10-01T20:24:29Z")

</div>

![2021-10-01 22_23_31-192.168.1.94 - PuTTY](https://storj-s3.bcdn.literatehosting.net/original/2X/f/fe66cb1c2e737d58f37f8bfee575584ced5f5673.png)  
I cant start container with new identity. This is log after revert to old identity

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 1, 2021, 10:34pm UTC](https://forum.storj.io/t/truenas-install/15511/10 "2021-10-01T22:34:29Z")

</div>

You should not replace the identity on a working node. The identity is the node. If you replace it - it will be completely different node and it will not recognize a previous data, and finally this data would be slowly removed, and the old identity become disqualified.

The error points to the fact that identity still not signed.  
Please, show your `docker run` command (you can remove personal information from it) between two new lines with three backticks (```), like this:

````auto
```
docker run -d ... \
storjlabs/storagenode:latest
```

````

---

<div class="post-metadata">

**Author:** ![Kowy54](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kowy54/32/9141_2.png) [@Kowy54](https://forum.storj.io/u/Kowy54)\
**Post date:** [October 1, 2021, 10:53pm UTC](https://forum.storj.io/t/truenas-install/15511/11 "2021-10-01T22:53:25Z")

</div>

sudo docker run -d --restart unless-stopped --stop-timeout 300   
-e SETUP=“false”   
-p 28967:28967/tcp   
-p 14002:14002/udp   
-e STORAGE=“3.18TB”   
-e TZ=“Europe/Prague”   
–mount type=bind,source="/mnt/STORJ/identity/storagenode",destination=/app/identity   
–mount type=bind,source="/mnt/STORJ",destination=/app/config   
-v /etc/timezone:/etc/timezone:ro   
-v /etc/localtime:/etc/localtime:ro   
–network=“host”   
–name storagenode storjlabs/storagenode:latest

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 1, 2021, 11:57pm UTC](https://forum.storj.io/t/truenas-install/15511/12 "2021-10-01T23:57:04Z")

</div>

Please, remove:

> [@Kowy54](#):
>
> ```auto
> -e SETUP="false" \
> 
> ```

These remove as well:

> [@Kowy54](#):
>
> ```auto
> -p 28967:28967/tcp \
> -p 14002:14002/udp \
> 
> ```

because of

> [@Kowy54](#):
>
> ```auto
> --network="host" \
> 
> ```

These ports are assigned directly to your host without standard NAT. So, make sure there is only one node.

Please, show

```auto
ls -l /mnt/STORJ/identity/storagenode
grep -c BEGIN /mnt/STORJ/identity/storagenode/ca.cert
grep -c BEGIN /mnt/STORJ/identity/storagenode/identity.cert

```

---

<div class="post-metadata">

**Author:** ![Kowy54](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kowy54/32/9141_2.png) [@Kowy54](https://forum.storj.io/u/Kowy54)\
**Post date:** [October 2, 2021, 8:37am UTC](https://forum.storj.io/t/truenas-install/15511/13 "2021-10-02T08:37:06Z")

</div>

> [@Alexey](#):
>
> `grep -c BEGIN /mnt/STORJ/identity/storagenode/identity.cert`

![2021-10-02 10_36_32-192.168.1.94 - PuTTY](https://storj-s3.bcdn.literatehosting.net/original/2X/8/8e497836d9829b8f1836239c3e9f87e12fa4e2a5.png)

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 2, 2021, 5:36pm UTC](https://forum.storj.io/t/truenas-install/15511/14 "2021-10-02T17:36:34Z")

</div>

Now you need to request a new authorization token and sign this identity:

```auto
sudo identity --config-dir /mnt/STORJ/identity --identity-dir /mnt/STORJ/identity authorize storagenode kowy54@mail.net:1323kpjoerjerjpoerkrfop3ipoferkp..

```

---

<div class="post-metadata">

**Author:** ![Kowy54](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kowy54/32/9141_2.png) [@Kowy54](https://forum.storj.io/u/Kowy54)\
**Post date:** [October 2, 2021, 5:52pm UTC](https://forum.storj.io/t/truenas-install/15511/15 "2021-10-02T17:52:49Z")

</div>

> [@Alexey](#):
>
> `sudo identity --config-dir /mnt/STORJ/identity --identity-dir /mnt/STORJ/identity authorize storagenode`

I´m online \<3 So next time just i need to check confirmation and sign my identity?

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 2, 2021, 6:30pm UTC](https://forum.storj.io/t/truenas-install/15511/16 "2021-10-02T18:30:25Z")

</div>

There should not be a next time for the same node 🙂  
But for the new node - sure.
