# Error 1067: the process terminated unexpectedly

**URL:** <https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658>\
**Category:** troubleshooting\
**Tags:** smb, windows\
**Created:** [November 17, 2019, 1:45pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658 "2019-11-17T13:45:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cross91](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/cross91/32/1139_2.png) [@Cross91](https://forum.storj.io/u/Cross91)\
**Post date:** [November 17, 2019, 1:45pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/1 "2019-11-17T13:45:30Z")

</div>

Sorry if I may ask a stupid question, but what is the solution to this problem?  
Because I have the same problem and dont know how to fix it.  
I have the config.yaml  
 ![image](https://lc-storj.ams3.digitaloceanspaces.com/original/1X/cbd3d27f2b9e0b9e10746240f0461c84ee097a59.png)

Actual:  
 ![image](https://lc-storj.ams3.digitaloceanspaces.com/original/1X/8bd79910729af5bc931cc52f7d46624769455362.png)  
If I try to start “Storj V3 Storage Node”:  
 ![image](https://lc-storj.ams3.digitaloceanspaces.com/original/1X/0e81133d827c610394d66a74eb6fabd93a3cab4d.png)  
Which means: “error 1067: the process terminated unexpectedly”

---

<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:** [November 17, 2019, 1:56pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/2 "2019-11-17T13:56:04Z")

</div>

Such error is mean that storagenode service can’t start for some reason. Perhaps, you have changed something in the `config.yaml`, and now the storagenode can’t start.  
Please, give me an output of this command (Powershell):

```auto
cat "$env:ProgramFiles/Storj/Storage Node/storagenode.log" -tail 40

```

---

<div class="post-metadata">

**Author:** ![Cross91](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/cross91/32/1139_2.png) [@Cross91](https://forum.storj.io/u/Cross91)\
**Post date:** [November 17, 2019, 4:47pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/3 "2019-11-17T16:47:54Z")

</div>

Ok, now we get to the problem.

2019-11-17T13:59:12.458+0100 FATAL Unrecoverable error {“error”: “Error starting master database on storagenode: group:\n— mkdir Z:: Das System kann den angegebenen Pfad nicht finden.\n— mkdir Z:: Das System kann den angegebenen Pfad nicht finden.\n— mkdir Z:: Das System kann den angegebenen Pfad nicht finden.”, “errorVerbose”: “Error starting master database on storagenode: group:\n— mkdir Z:: Das System kann den angegebenen Pfad nicht finden.\n— mkdir Z:: Das System kann den angegebenen Pfad nicht finden.\n— mkdir Z:: Das System kann den angegebenen Pfad nicht finden.\n\tmain.cmdRun:155\n\[tstorj.io/storj/pkg/process.cleanup.func1.2:278\n\tstorj.io/storj/pkg/process.cleanup.func1:296\n\tgithub.com/spf13/cobra.(\*Command](http://tstorj.io/storj/pkg/process.cleanup.func1.2:278%5Cn%5Ctstorj.io/storj/pkg/process.cleanup.func1:296%5Cn%5Ctgithub.com/spf13/cobra.(*Command)).execute:826\n\[tgithub.com/spf13/cobra.(\*Command](http://tgithub.com/spf13/cobra.(*Command)).ExecuteC:914\n\[tgithub.com/spf13/cobra.(\*Command](http://tgithub.com/spf13/cobra.(*Command)).Execute:864\n\[tstorj.io/storj/pkg/process.Exec:74\n\tmain.(\*service](http://tstorj.io/storj/pkg/process.Exec:74%5Cn%5Ctmain.(*service)).Execute.func1:66\n\[tgolang.org/x/sync/errgroup.(\*Group](http://tgolang.org/x/sync/errgroup.(*Group)).Go.func1:57”}

For your Background: Drive “Z” is my unraid networkfolder wich I connected to my pc.

---

<div class="post-metadata">

**Author:** ![Cross91](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/cross91/32/1139_2.png) [@Cross91](https://forum.storj.io/u/Cross91)\
**Post date:** [November 17, 2019, 5:08pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/4 "2019-11-17T17:08:53Z")

</div>

Seems like I solved it. Thank you for your hint with the storagenode.log

Obviously Storj dont likes connected networkfolder.  
So I changed in the config.yaml the direct path of my Storj storage:  
 ![image](https://storj-s3.bcdn.literatehosting.net/original/1X/f4c60fb648caf446f266a5b5bb356584b008f3e6.png)  
(instead of /Z:)  
Then I saved and rebooted the system and since then it worked.

 ![image](https://storj-s3.bcdn.literatehosting.net/original/1X/0a659f50f241096598bc202cb22b2113a5310d51.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:** [November 18, 2019, 8:14am UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/5 "2019-11-18T08:14:27Z")

</div>

I should warn you - the setup with a network connected drive is not supported, it could work, but can stop working in any time.  
You have a high chances to got a corrupted database or missed data in such setup.  
Any network connected drive will have a higher latency than a local connected, and your node will loose the race for pieces more often than with a local connected drive.  
I would recommend to run your storagenode directly on your storage server, either as a Windows service (if it’s a Windows) or a docker container (if it’s a Linux).

---

<div class="post-metadata">

**Author:** ![Cross91](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/cross91/32/1139_2.png) [@Cross91](https://forum.storj.io/u/Cross91)\
**Post date:** [November 18, 2019, 7:44pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/6 "2019-11-18T19:44:55Z")

</div>

I run a unraid system.  
On that system I had the Storj docker installed. But out of nowhere the docker got corrupted.  
It had something to do with SQL and the solution was to downgrade unraid.  
That was my problem: (I’m not the author, but had this problem)

> [@Database disk image is malformed - Error coming from nowhere](https://forum.storj.io/t/database-disk-image-is-malformed-error-coming-from-nowhere/1968):
>
> I’ve had this problem before when stopping the Storj docker with to low timeout and getting the Database disk image is malformed error, but recently i got it from nowhere. Here’s some logs when it happened: 2019-09-27T21:54:03.339Z e[34mINFOe[0m piecestore downloaded {"Piece ID": "L5WA75AKNLXV4EFN5EIV5HB4TWDE7MKPDRKAOQSIC5EZKSAXRZ6Q", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "GET"} 2019-09-27T21:54:31.519Z e[34mINFOe[0m piecestore upload started {"Piece ID"…

That is not the solution I want for my system.  
So I created a Win 10 Pro VM on my unraid system and on that Windows runs now Storj (with the same data from the unraid container).  
I agree with you, that this is not a shiny solution, but it works. At least until now.  
I would really like to switch to my docker again, not only beacause my system pulls now 15 W/h more.

Is there a “how to install storj on unraid 6.7.2”?

---

<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:** [November 18, 2019, 7:47pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/7 "2019-11-18T19:47:55Z")

</div>

You also can install the Linux VM and use the docker from there. However, I’m not sure is it safe either with Windows or Linux, if problem in the Unraid filesystem.

---

<div class="post-metadata">

**Author:** ![Cross91](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/cross91/32/1139_2.png) [@Cross91](https://forum.storj.io/u/Cross91)\
**Post date:** [November 18, 2019, 7:51pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/8 "2019-11-18T19:51:06Z")

</div>

Now that I read that article again, I might know why I had that problem.  
After I installed the docker, an update for the docker was available, so I installed it.  
And right after the update, that problem occured.  
Seems that this would be the solution?

“It’s also important to not stop the Storj docker from the ui, but instead type `docker stop -t 300 storagenode` in the terminal. If using an autoupdater, make sure to also set its timeout to 300 before stopping.”

How do I change this timeout?

---

<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:** [November 18, 2019, 7:52pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/9 "2019-11-18T19:52:13Z")

</div>

> [@Cross91](#):
>
> How do I change this timeout?

> **[Software Updates - Storj Docs](https://docs.storj.io/node/get-started/install-node-software/cli/software-updates)**
>
> Make the world your data center

---

<div class="post-metadata">

**Author:** ![Cross91](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/cross91/32/1139_2.png) [@Cross91](https://forum.storj.io/u/Cross91)\
**Post date:** [November 18, 2019, 8:02pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/10 "2019-11-18T20:02:29Z")

</div>

Ok. Thank you.  
Then I give unraid a chance with that new timeout.

---

<div class="post-metadata">

**Author:** ![Cristian](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/cristian/32/1124_2.png) [@Cristian](https://forum.storj.io/u/Cristian)\
**Post date:** [November 22, 2020, 11:42am UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/11 "2020-11-22T11:42:26Z")

</div>

hola me esta ocurriendo este error, he seguido los pasos del foro y el programa sigue sin funcionar bien

---

<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:** [November 28, 2020, 8:48pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/12 "2020-11-28T20:48:02Z")

</div>

Hola @Cristian,  
Bienvenido al foro!

Por favor, publique las últimas 20 líneas de su registro: [https://documentation.storj.io/resources/faq/check-logs](https://documentation.storj.io/resources/faq/check-logs)

---

<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:** [May 4, 2021, 7:57pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/13 "2021-05-04T19:57:59Z")

</div>

4 posts were split to a new topic: [“error”: “trust: malformed cache: invalid character](https://forum.storj.io/t/error-trust-malformed-cache-invalid-character/13640)

---

<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:** [August 4, 2021, 8:12pm UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/14 "2021-08-04T20:12:03Z")

</div>

A post was split to a new topic: [Error creating tables for master database on storagenode: migrate: no such table: satellites](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-no-such-table-satellites/14819)

---

<div class="post-metadata">

**Author:** ![bbvedf](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bbvedf/32/1133_2.png) [@bbvedf](https://forum.storj.io/u/bbvedf)\
**Post date:** [March 3, 2022, 7:56am UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/15 "2022-03-03T07:56:21Z")

</div>

Lately I also have this error, probably because of a few unexpected power outages.

 ![debug](https://storj-s3.bcdn.literatehosting.net/original/2X/2/22f75b554e6cb953c02d3254a596051dec217f6e.png)

---

<div class="post-metadata">

**Author:** ![Stob](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/stob/32/1137_2.png) [@Stob](https://forum.storj.io/u/Stob)\
**Post date:** [March 3, 2022, 10:15am UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/16 "2022-03-03T10:15:24Z")

</div>

Hi @bbvedf  
Your bandwidth.db file appears to be corrupt or an incorrect schema compared to the storagenode version. The previous fix from @Alexey was here:

> [@Bandwidthdb error: file is not a database](https://forum.storj.io/t/bandwidthdb-error-file-is-not-a-database/3093/24):
>
> You also can create it yourself. Stop the storagenode Remove the broken bandwidth.db Execute either with native sqlite3 or with a docker (you can use the [https://support.storj.io/hc/en-us/articles/360029309111-How-to-fix-a-database-disk-image-is-malformed-](https://support.storj.io/hc/en-us/articles/360029309111-How-to-fix-a-database-disk-image-is-malformed-) as a reference) sqlite3 bandwidth.db CREATE TABLE bandwidth\_usage ( satellite\_id BLOB NOT NULL, action INTEGER NOT NULL, …

---

<div class="post-metadata">

**Author:** ![bbvedf](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bbvedf/32/1133_2.png) [@bbvedf](https://forum.storj.io/u/bbvedf)\
**Post date:** [March 3, 2022, 10:26am UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/17 "2022-03-03T10:26:24Z")

</div>

Done, but error persists.  
Just repair only bandwith.db?

![image](https://storj-s3.bcdn.literatehosting.net/original/2X/f/f3673b18a6875d59b12b55dd8d6777be9c191c36.png)

---

<div class="post-metadata">

**Author:** ![Stob](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/stob/32/1137_2.png) [@Stob](https://forum.storj.io/u/Stob)\
**Post date:** [March 3, 2022, 10:31am UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/18 "2022-03-03T10:31:48Z")

</div>

That was the only one mentioned in the error. Is the log error now different or mentioning a different database?

edit - it’s also possible the schema has changed so the rebuild commands would be different now.

---

<div class="post-metadata">

**Author:** ![bbvedf](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bbvedf/32/1133_2.png) [@bbvedf](https://forum.storj.io/u/bbvedf)\
**Post date:** [March 3, 2022, 10:34am UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/19 "2022-03-03T10:34:40Z")

</div>

I have checked all the db files. This is the only one that has errors. Can the problem be there? Can be solved?

```auto
C:\Users\bbvedf\Downloads\sqlite-tools-win32-x86-3380000>sqlite3 f:\storage_usage.db "PRAGMA integrity_check;"
***in database main***
On tree page 167 cell 37: Rowid 116129 out of order
On tree page 167 cell 36: Rowid 116130 out of order
On tree page 167 cell 35: Rowid 116130 out of order
On tree page 167 cell 34: Rowid 116130 out of order
On tree page 167 cell 33: Rowid 116131 out of order

```

…

---

<div class="post-metadata">

**Author:** ![Stob](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/stob/32/1137_2.png) [@Stob](https://forum.storj.io/u/Stob)\
**Post date:** [March 3, 2022, 10:37am UTC](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658/20 "2022-03-03T10:37:47Z")

</div>

What does the storagenode log file show?

You could take a backup, recreate all the db’s, then copy back the working ones - [https://support.storj.io/hc/en-us/articles/4403032417044-How-to-fix-database-file-is-not-a-database-error](https://support.storj.io/hc/en-us/articles/4403032417044-How-to-fix-database-file-is-not-a-database-error)

[Next page](https://forum.storj.io/t/error-1067-the-process-terminated-unexpectedly/2658.md?page=2)
