# Start ~/00\_Start\_Storj.sh

**URL:** <https://forum.storj.io/t/start-00-start-storj-sh/7386>\
**Category:** troubleshooting\
**Created:** [June 7, 2020, 2:01pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386 "2020-06-07T14:01:38Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [June 8, 2020, 7:39pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/21 "2020-06-08T19:39:26Z")

</div>

lol the first post is _literally_ before the change in the script…

We need the output of the script _after_ he changed to an absolute path.

---

<div class="post-metadata">

**Author:** ![nerdatwork](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/nerdatwork/32/1135_2.png) [@nerdatwork](https://forum.storj.io/u/nerdatwork)\
**Post date:** [June 8, 2020, 7:52pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/22 "2020-06-08T19:52:37Z")

</div>

Nope.  
OP got error and copy-pasted what he/she used in the script.  
We thought it was script error then  
OP showed the script which nullifies error we assumed were there in the script.

The first post now becomes absolute path error and screenshot of the script used.

---

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [June 8, 2020, 8:31pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/23 "2020-06-08T20:31:08Z")

</div>

Maybe we’re all confused now… If the OP still has the problem, he should post his script and the output if he runs it now.

---

<div class="post-metadata">

**Author:** ![046738](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/046738/32/1130_2.png) [@046738](https://forum.storj.io/u/046738)\
**Post date:** [June 9, 2020, 6:50am UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/24 "2020-06-09T06:50:03Z")

</div>

$ ~/00\_Start\_Storj.sh

docker: Error response from daemon: Conflict. The container name “/storagenode” is already in use by container “8663ef05172d68c48a5df1ee24ec27208ee46fcd52955d99bdbdeb3820b556d4”. You have to remove (or rename) that container to be able to reuse that name.

See ‘docker run --help’.

---

<div class="post-metadata">

**Author:** ![nerdatwork](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/nerdatwork/32/1135_2.png) [@nerdatwork](https://forum.storj.io/u/nerdatwork)\
**Post date:** [June 9, 2020, 7:13am UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/25 "2020-06-09T07:13:52Z")

</div>

Try these commands

> docker stop -t 300 storagenode  
> docker rm storagenode

Then execute your script

---

<div class="post-metadata">

**Author:** ![046738](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/046738/32/1130_2.png) [@046738](https://forum.storj.io/u/046738)\
**Post date:** [June 9, 2020, 8:24am UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/26 "2020-06-09T08:24:13Z")

</div>

> [@nerdatwork](#):
>
> docker rm storagenode

Ok, I was able to the above using “sudo”.

I then ran the script and this came up  
$~/00\_Start\_Storj.sh

WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.

fb042fcc6c5f2aae482a46cbea5c5376fd7630d64278bf48593d40a456cb6af5

---

<div class="post-metadata">

**Author:** ![donald.m.motsinger](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/donald.m.motsinger/32/71_2.png) [@donald.m.motsinger](https://forum.storj.io/u/donald.m.motsinger)\
**Post date:** [June 9, 2020, 9:04am UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/27 "2020-06-09T09:04:27Z")

</div>

Your node seems to be working. Check with `docker ps` or with the dashboard. The warning is just what it is, a warning. Maybe somebody knows what it means and how to fix it, if it needs to.

---

<div class="post-metadata">

**Author:** ![046738](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/046738/32/1130_2.png) [@046738](https://forum.storj.io/u/046738)\
**Post date:** [June 9, 2020, 9:06am UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/28 "2020-06-09T09:06:15Z")

</div>

> [@donald.m.motsinger](#):
>
> docker ps

$ sudo docker ps  
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES  
fb042fcc6c5f storjlabs/storagenode:beta “/entrypoint” 42 minutes ago Restarting (1) 36 seconds ago storagenode

---

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [June 9, 2020, 9:57am UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/29 "2020-06-09T09:57:47Z")

</div>

> [@046738](#):
>
> 42 minutes ago Restarting (1) 36 seconds ago

Does your node keep restarting?

Please check your log for errors. Something doesn’t seem right. Is your dashboard available?

---

<div class="post-metadata">

**Author:** ![nerdatwork](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/nerdatwork/32/1135_2.png) [@nerdatwork](https://forum.storj.io/u/nerdatwork)\
**Post date:** [June 9, 2020, 10:32am UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/30 "2020-06-09T10:32:02Z")

</div>

> sudo docker logs --tail 20 storagenode

---

<div class="post-metadata">

**Author:** ![046738](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/046738/32/1130_2.png) [@046738](https://forum.storj.io/u/046738)\
**Post date:** [June 9, 2020, 12:31pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/31 "2020-06-09T12:31:30Z")

</div>

I may just start fresh. I am also having trouble with my port forwarding. I have opened the port 28967 on my router, and confirmed that I am not behind a carrier grade NAT, but when I use any websites to see if my port can be reached, I get " Port 28697 is closed on XXX.XXX.XXX.XXX IP Address  
(I am using a FRITZ!Box 4040 router that is connected to my fibre modem that is in bridge mode)

removed photo due to revealing some personal info. oops

---

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [June 9, 2020, 1:18pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/32 "2020-06-09T13:18:26Z")

</div>

How big is your HDD? Is your mountpoint correctly mounted? Because the logs say that your disk space doesn’t meet the requirements.  
If your node keeps restarting, the port won’t show up as open. Is your node staying online?

---

<div class="post-metadata">

**Author:** ![nerdatwork](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/nerdatwork/32/1135_2.png) [@nerdatwork](https://forum.storj.io/u/nerdatwork)\
**Post date:** [June 9, 2020, 1:26pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/33 "2020-06-09T13:26:06Z")

</div>

Show result of

> df -h

---

<div class="post-metadata">

**Author:** ![046738](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/046738/32/1130_2.png) [@046738](https://forum.storj.io/u/046738)\
**Post date:** [June 9, 2020, 1:29pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/34 "2020-06-09T13:29:09Z")

</div>

I have a 4 TB external drive.  
pi@raspberrypi:~ $ df  
Filesystem 1K-blocks Used Available Use% Mounted on  
/dev/root 30450024 3619336 25542444 13% /  
devtmpfs 1817728 0 1817728 0% /dev  
tmpfs 1949312 0 1949312 0% /dev/shm  
tmpfs 1949312 25044 1924268 2% /run  
tmpfs 5120 4 5116 1% /run/lock  
tmpfs 1949312 0 1949312 0% /sys/fs/cgroup  
/dev/mmcblk0p1 258095 53453 204643 21% /boot  
tmpfs 389860 0 389860 0% /run/user/1000  
/dev/sda1 3844607992 90140 3649152324 1% /mnt/storj

I cannot access the dashboard when I type in my local IP address from another computer on my network.

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [June 9, 2020, 1:30pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/35 "2020-06-09T13:30:32Z")

</div>

> [@046738](#):
>
> /dev/sda1 3844607992 90140 3649152324 1% /mnt/storj

![image](https://storj-s3.bcdn.literatehosting.net/original/2X/1/1d0cde0689c40cbdc92d5ad8de00225adcfa3015.png)  
/mnt/storj != /mnt/storagenode

Edit: I recommend using a sub-folder in the mount point for the data, that way when the mount is not available the node won’t start instead of starting without any data.

---

<div class="post-metadata">

**Author:** ![046738](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/046738/32/1130_2.png) [@046738](https://forum.storj.io/u/046738)\
**Post date:** [June 9, 2020, 1:42pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/36 "2020-06-09T13:42:42Z")

</div>

So I need to change this line?  
–mount type=bind,source=/mnt/storagenode,destination=/app/config \

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [June 9, 2020, 1:45pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/37 "2020-06-09T13:45:42Z")

</div>

Yes

```auto
--mount type=bind,source=/mnt/storj,destination=/app/config \

```

This would work now, but I suggest actually creating a sub-folder and using something like this:

```auto
--mount type=bind,source=/mnt/storj/data,destination=/app/config \

```

You need to first create that folder though, otherwise your node won’t start.

---

<div class="post-metadata">

**Author:** ![046738](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/046738/32/1130_2.png) [@046738](https://forum.storj.io/u/046738)\
**Post date:** [June 9, 2020, 2:02pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/38 "2020-06-09T14:02:44Z")

</div>

Ok, this is what I have now.  
(you guys are likely thinking “what an idiot??” - I have a brain injury, so I challenge myself with different things to try overcome memory issues)

 ![2020-06-09_20-58-37](https://storj-s3.bcdn.literatehosting.net/original/2X/b/b6e8d2e4248bc6fdbaf46fdd3ecc1ec55df998bc.jpeg)

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [June 9, 2020, 2:07pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/39 "2020-06-09T14:07:39Z")

</div>

> [@046738](#):
>
> you guys are likely thinking “what an idiot??”

I promise you we don’t. We help lots of people with different levels of technical knowledge. You’re doing better than a lot of others.

Try:

```auto
mkdir /mnt/storj/data

```

Then start the node again using your script.

---

<div class="post-metadata">

**Author:** ![046738](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/046738/32/1130_2.png) [@046738](https://forum.storj.io/u/046738)\
**Post date:** [June 9, 2020, 2:09pm UTC](https://forum.storj.io/t/start-00-start-storj-sh/7386/40 "2020-06-09T14:09:59Z")

</div>

> [@BrightSilence](#):
>
> `mkdir /mnt/storj/data`

**pi@raspberrypi** : **~/.local/share/storj/data $** sudo mkdir /mnt/storj/data

**pi@raspberrypi** : **~/.local/share/storj/data $** ~/00\_Start\_Storj.sh

docker: Error response from daemon: Conflict. The container name “/storagenode” is already in use by container “fb042fcc6c5f2aae482a46cbea5c5376fd7630d64278bf48593d40a456cb6af5”. You have to remove (or rename) that container to be able to reuse that name.

See ‘docker run --help’.

[Previous page](https://forum.storj.io/t/start-00-start-storj-sh/7386.md?page=1)

[Next page](https://forum.storj.io/t/start-00-start-storj-sh/7386.md?page=3)
