# Error creating tables for master database on storagenode: migrate: database: info opening file \\"E:\\\\\\\\info.db\\" failed

**URL:** <https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905>\
**Category:** troubleshooting\
**Tags:** windows-gui, database\
**Created:** [October 2, 2023, 4:47am UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905 "2023-10-02T04:47:32Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![flwstern](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/flwstern/32/7821_2.png) [@flwstern](https://forum.storj.io/u/flwstern)\
**Post date:** [October 2, 2023, 4:47am UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/1 "2023-10-02T04:47:32Z")

</div>

3-10-02T06:44:22+02:00 FATAL Unrecoverable error {“error”: “Error creating tables for master database on storagenode: migrate: database: info opening file "E:\\info.db" failed: context canceled\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).openDatabase:347\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).Migration.func1:657\n\tstorj.io/storj/private/migrate.(\*Migration).Run:164\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).MigrateToLatest:370\n\tmain.cmdRun:95\n\tmain.newRunCmd.func1:32\n\tstorj.io/private/process.cleanup.func1.4:399\n\tstorj.io/private/process.cleanup.func1:417\n\tgithub.com/spf13/cobra.(\*Command).execute:852\n\tgithub.com/spf13/cobra.(\*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(\*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomOptions:113\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:79\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(\*service).Execute.func1:77\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:75”, “errorVerbose”: “Error creating tables for master database on storagenode: migrate: database: info opening file "E:\\info.db" failed: context canceled\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).openDatabase:347\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).Migration.func1:657\n\tstorj.io/storj/private/migrate.(\*Migration).Run:164\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).MigrateToLatest:370\n\tmain.cmdRun:95\n\tmain.newRunCmd.func1:32\n\tstorj.io/private/process.cleanup.func1.4:399\n\tstorj.io/private/process.cleanup.func1:417\n\tgithub.com/spf13/cobra.(\*Command).execute:852\n\tgithub.com/spf13/cobra.(\*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(\*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomOptions:113\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:79\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(\*service).Execute.func1:77\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:75\n\tmain.cmdRun:97\n\tmain.newRunCmd.func1:32\n\tstorj.io/private/process.cleanup.func1.4:399\n\tstorj.io/private/process.cleanup.func1:417\n\tgithub.com/spf13/cobra.(\*Command).execute:852\n\tgithub.com/spf13/cobra.(\*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(\*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomOptions:113\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:79\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(\*service).Execute.func1:77\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:75”}

Exactly what do i need to do here?

---

<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, 2023, 5:09am UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/2 "2023-10-02T05:09:39Z")

</div>

You need to stop the storagenode service, check the disk for errors and fix them, after that start the service back.  
Make sure that disk E: is exist and it’s a correct one.

---

<div class="post-metadata">

**Author:** ![flwstern](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/flwstern/32/7821_2.png) [@flwstern](https://forum.storj.io/u/flwstern)\
**Post date:** [October 2, 2023, 6:56am UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/3 "2023-10-02T06:56:04Z")

</div>

The disk is working fine, its a raid6 and i have other nodes on the same raid without issues. Did a disk check and no errors.

---

<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, 2023, 7:51am UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/4 "2023-10-02T07:51:11Z")

</div>

The node is unable to finish a database migration - the disk is unresponsive.  
The RAID6 is slow and you run several nodes on the same RAID, they affects each other, so it’s expected to be unresponsive in a such setup.

However, please check permissions on databases - the SYSTEM user should have read-write permissions for database files. It’s better to make a SYSTEM be an owner for databases and folders with node’s data.

You may also try to move databases to SSD, if the reason is not permissions:

> [@Move databases on Windows storagenode](https://forum.storj.io/t/topic/9552/2):
>
> Yes, you can. Stop the storagenode Move databases to a new place (C:\storagenode\cache\ for example) Add a new path to databases to the storage2.database-dir: option: storage2.database-dir: C:\storagenode\cache\ Save the config Start the storagenode Check that you do not have a new databases in a old place and the dashboard shows a correct numbers. However, keep in mind - you will introduce a new point of failure.

---

<div class="post-metadata">

**Author:** ![flwstern](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/flwstern/32/7821_2.png) [@flwstern](https://forum.storj.io/u/flwstern)\
**Post date:** [October 2, 2023, 7:55am UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/5 "2023-10-02T07:55:37Z")

</div>

the database files is on raid1 enterprise ssds. The storage is on raid6 sorry for the confusion.

---

<div class="post-metadata">

**Author:** ![daki82](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/daki82/32/1128_2.png) [@daki82](https://forum.storj.io/u/daki82)\
**Post date:** [October 2, 2023, 8:13am UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/6 "2023-10-02T08:13:09Z")

</div>

info.db for that node is maybe locked?

recreateing the dbs could help? @Alexey

---

<div class="post-metadata">

**Author:** ![flwstern](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/flwstern/32/7821_2.png) [@flwstern](https://forum.storj.io/u/flwstern)\
**Post date:** [October 2, 2023, 10:20am UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/7 "2023-10-02T10:20:52Z")

</div>

Is there any documentation on how to recreate the dbs?

---

<div class="post-metadata">

**Author:** ![daki82](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/daki82/32/1128_2.png) [@daki82](https://forum.storj.io/u/daki82)\
**Post date:** [October 2, 2023, 10:49am UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/8 "2023-10-02T10:49:38Z")

</div>

> **[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)**
>
> If your node was abruptly terminated due to power failure, the database file could be irreversible corrupted, you can see an error Error starting master database on storagenode: database: file is n...

if docker, remove container after stop of node

---

<div class="post-metadata">

**Author:** ![flwstern](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/flwstern/32/7821_2.png) [@flwstern](https://forum.storj.io/u/flwstern)\
**Post date:** [October 2, 2023, 3:42pm UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/9 "2023-10-02T15:42:06Z")

</div>

database issue resolved now i get this,

2023-10-02T17:39:43+02:00 WARN trust Failed to fetch URLs from source; used cache {“source”: “[https://www.storj.io/dcs-satellites](https://www.storj.io/dcs-satellites)”, “error”: “HTTP source: "[https://www.storj.io/dcs-satellites\](https://www.storj.io/dcs-satellites%5C)”: unexpected status code 403: ""“, “errorVerbose”: “HTTP source: "[https://www.storj.io/dcs-satellites\](https://www.storj.io/dcs-satellites%5C)”: unexpected status code 403: ""\n\tstorj.io/storj/storagenode/trust.(\*HTTPSource).FetchEntries:76\n\tstorj.io/storj/storagenode/trust.(\*List).fetchEntries:90\n\tstorj.io/storj/storagenode/trust.(\*List).FetchURLs:49\n\tstorj.io/storj/storagenode/trust.(\*Pool).fetchURLs:251\n\tstorj.io/storj/storagenode/trust.(\*Pool).Refresh:188\n\tstorj.io/storj/storagenode.(\*Peer).Run:904\n\tmain.cmdRun:120\n\tmain.newRunCmd.func1:32\n\tstorj.io/private/process.cleanup.func1.4:399\n\tstorj.io/private/process.cleanup.func1:417\n\tgithub.com/spf13/cobra.(\*Command).execute:852\n\tgithub.com/spf13/cobra.(\*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(\*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomOptions:113\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:79\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(\*service).Execute.func1:77\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:75”}  
2023-10-02T17:39:43+02:00 INFO preflight:localtime start checking local system clock with trusted satellites’ system clock.  
2023-10-02T17:40:04+02:00 ERROR preflight:localtime unable to get satellite system time {“Satellite ID”: “12tRQrMTWUWwzwGh18i7Fqs67kmdhH9t6aToeiwbo5mfS2rUmo”, “error”: “rpc: tcp connector failed: rpc: dial tcp 35.229.65.196:7777: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”, “errorVerbose”: “rpc: tcp connector failed: rpc: dial tcp 35.229.65.196:7777: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\n\tstorj.io/common/rpc.HybridConnector.DialContext.func1:190”}  
2023-10-02T17:40:04+02:00 ERROR preflight:localtime unable to get satellite system time {“Satellite ID”: “1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE”, “error”: “rpc: tcp connector failed: rpc: dial tcp 34.94.153.46:7777: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”, “errorVerbose”: “rpc: tcp connector failed: rpc: dial tcp 34.94.153.46:7777: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\n\tstorj.io/common/rpc.HybridConnector.DialContext.func1:190”}  
2023-10-02T17:40:04+02:00 ERROR preflight:localtime unable to get satellite system time {“Satellite ID”: “12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB”, “error”: “rpc: tcp connector failed: rpc: dial tcp 35.228.31.57:7777: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”, “errorVerbose”: “rpc: tcp connector failed: rpc: dial tcp 35.228.31.57:7777: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\n\tstorj.io/common/rpc.HybridConnector.DialContext.func1:190”}  
2023-10-02T17:40:04+02:00 ERROR preflight:localtime unable to get satellite system time {“Satellite ID”: “121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6”, “error”: “rpc: tcp connector failed: rpc: dial tcp 34.80.215.116:7777: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”, “errorVerbose”: “rpc: tcp connector failed: rpc: dial tcp 34.80.215.116:7777: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\n\tstorj.io/common/rpc.HybridConnector.DialContext.func1:190”}  
2023-10-02T17:40:25+02:00 ERROR preflight:localtime unable to get satellite system time {“Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “error”: “rpc: tcp connector failed: rpc: dial tcp 34.172.100.72:7777: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”, “errorVerbose”: “rpc: tcp connector failed: rpc: dial tcp 34.172.100.72:7777: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\n\tstorj.io/common/rpc.HybridConnector.DialContext.func1:190”}  
2023-10-02T17:40:25+02:00 ERROR preflight:localtime unable to get satellite system time {“Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “error”: “rpc: tcp connector failed: rpc: dial tcp 34.159.134.91:7777: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”, “errorVerbose”: “rpc: tcp connector failed: rpc: dial tcp 34.159.134.91:7777: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\n\tstorj.io/common/rpc.HybridConnector.DialContext.func1:190”}  
2023-10-02T17:40:25+02:00 ERROR Failed preflight check. {“error”: “system clock is out of sync: system clock is out of sync with all trusted satellites”, “errorVerbose”: “system clock is out of sync: system clock is out of sync with all trusted satellites\n\tstorj.io/storj/storagenode/preflight.(\*LocalTime).Check:96\n\tstorj.io/storj/storagenode.(\*Peer).Run:908\n\tmain.cmdRun:120\n\tmain.newRunCmd.func1:32\n\tstorj.io/private/process.cleanup.func1.4:399\n\tstorj.io/private/process.cleanup.func1:417\n\tgithub.com/spf13/cobra.(\*Command).execute:852\n\tgithub.com/spf13/cobra.(\*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(\*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomOptions:113\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:79\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(\*service).Execute.func1:77\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:75”}  
2023-10-02T17:40:25+02:00 FATAL Unrecoverable error {“error”: “system clock is out of sync: system clock is out of sync with all trusted satellites”, “errorVerbose”: “system clock is out of sync: system clock is out of sync with all trusted satellites\n\tstorj.io/storj/storagenode/preflight.(\*LocalTime).Check:96\n\tstorj.io/storj/storagenode.(\*Peer).Run:908\n\tmain.cmdRun:120\n\tmain.newRunCmd.func1:32\n\tstorj.io/private/process.cleanup.func1.4:399\n\tstorj.io/private/process.cleanup.func1:417\n\tgithub.com/spf13/cobra.(\*Command).execute:852\n\tgithub.com/spf13/cobra.(\*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(\*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomOptions:113\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:79\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(\*service).Execute.func1:77\n\tgolang.org/x/sync/errgroup.(\*Group).Go.func1:75”}

no issues with the communication from the node to internet.

---

<div class="post-metadata">

**Author:** ![daki82](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/daki82/32/1128_2.png) [@daki82](https://forum.storj.io/u/daki82)\
**Post date:** [October 2, 2023, 3:52pm UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/10 "2023-10-02T15:52:55Z")

</div>

> [@flwstern](#):
>
> 2023-10-02T17:40:25+02:00 FATAL Unrecoverable error {“error”: “system clock is out of sync: system clock is out of sync with all trusted satellites”, “errorVerbose”: “system clock is out of sync: system clock is out of sync with all trusted satellites

maybe try again and check the clock

---

<div class="post-metadata">

**Author:** ![flwstern](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/flwstern/32/7821_2.png) [@flwstern](https://forum.storj.io/u/flwstern)\
**Post date:** [October 2, 2023, 4:03pm UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/11 "2023-10-02T16:03:15Z")

</div>

The time is 110% synced, i dont know what to do.

---

<div class="post-metadata">

**Author:** ![flwstern](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/flwstern/32/7821_2.png) [@flwstern](https://forum.storj.io/u/flwstern)\
**Post date:** [October 2, 2023, 4:04pm UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/12 "2023-10-02T16:04:54Z")

</div>

Wierd now it just started working after some time…

---

<div class="post-metadata">

**Author:** ![daki82](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/daki82/32/1128_2.png) [@daki82](https://forum.storj.io/u/daki82)\
**Post date:** [October 2, 2023, 6:11pm UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/13 "2023-10-02T18:11:00Z")

</div>

i suspect some dns ooga booga 🙂

---

<div class="post-metadata">

**Author:** ![flwstern](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/flwstern/32/7821_2.png) [@flwstern](https://forum.storj.io/u/flwstern)\
**Post date:** [October 2, 2023, 7:09pm UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/14 "2023-10-02T19:09:56Z")

</div>

Super weird, I could see that there were issues resolving DNS, or well, that error: contact service ping satellite failed. So it clearly isn’t resolving like you said. Switched from Cloudflare’s to Google’s and now it’s working. But it’s only this machine that has this issue, though I did go through a VPN tunnel. Anyway, it seems to be working fine now, such a strange issue. Thanks a lot for the help daki82, have a great evening

---

<div class="post-metadata">

**Author:** ![daki82](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/daki82/32/1128_2.png) [@daki82](https://forum.storj.io/u/daki82)\
**Post date:** [October 2, 2023, 7:24pm UTC](https://forum.storj.io/t/error-creating-tables-for-master-database-on-storagenode-migrate-database-info-opening-file-e-info-db-failed/23905/15 "2023-10-02T19:24:13Z")

</div>

May the data flow be with you!
