I am starting a new node with new identity authorised. However, i come across this error:
2020-12-11T16:00:24.862274611Z 2020-12-11T16:00:24.861Z INFO Operator email {“Address”: “…”}
2020-12-11T16:00:24.862442607Z 2020-12-11T16:00:24.862Z INFO Operator wallet {“Address”: “…”}
2020-12-11T16:00:24.862857640Z Error: Error starting master database on storagenode: group:
2020-12-11T16:00:24.863006678Z — stat config/storage/blobs: no such file or directory
2020-12-11T16:00:24.863051010Z — stat config/storage/temp: no such file or directory
2020-12-11T16:00:24.863074635Z — stat config/storage/garbage: no such file or directory
2020-12-11T16:00:24.863096218Z — stat config/storage/trash: no such file or directory<
[root@localhost storj]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5725257fcbf9 storjlabs/storagenode:latest “/entrypoint” 3 minutes ago Restarting (1) 17 seconds ago storagenode
[root@localhost storj]# docker logs storagenode
2020-12-12T14:12:14.872Z INFO Operator email {“Address”: “xxx@gmail.com”}
2020-12-12T14:12:14.872Z INFO Operator wallet {“Address”: “xxx”}
Error: Error starting master database on storagenode: group:
— stat config/storage/blobs: no such file or directory
— stat config/storage/temp: no such file or directory
— stat config/storage/garbage: no such file or directory
— stat config/storage/trash: no such file or directory
I have a same issue. Over the couple of years installed storj many times with no problems. Yesterday stuck at the same place. Tried to find solution here in forum, but could not
node4@node4:~/storj docker run -d --restart unless-stopped --stop-timeout 300 -p 28967:28967 -p 127.0.0.1:14002:14002 -e WALLET=“xxxxxxxxxx” -e EMAIL=“xxxxxxxxx" -e ADDRESS="xxxxxxxxx:28967" -e STORAGE="800GB" --mount type=bind,source="/home/node4/storj/4/cert4/",destination=/app/identity --mount type=bind,source="/home/node4/storj/4/data4",destination=/app/config --name storagenode4 storjlabs/storagenode:latest
6bdc1c9a52f7fe74115764996914f3ad23b516875b5b494bbc51697474e96869
node4@node4:~/storj docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6bdc1c9a52f7 storjlabs/storagenode:latest “/entrypoint” 23 seconds ago Restarting (1) 9 seconds ago storagenode4
node4@node4:~/storj docker logs -f --tail 40 storagenode4
2021-05-03T00:23:48.202Z INFO Operator email {"Address": "xxxxx"}
2021-05-03T00:23:48.203Z INFO Operator wallet {"Address": "xxxxx"}
Error: Error starting master database on storagenode: group:
--- stat config/storage/blobs: no such file or directory
--- stat config/storage/temp: no such file or directory
--- stat config/storage/garbage: no such file or directory
--- stat config/storage/trash: no such file or directory
2021-05-03T00:24:01.978Z INFO Operator email {"Address": "xxxxx"}
2021-05-03T00:24:01.978Z INFO Operator wallet {"Address": "xxxxx"}
Error: Error starting master database on storagenode: group:
--- stat config/storage/blobs: no such file or directory
--- stat config/storage/temp: no such file or directory
--- stat config/storage/garbage: no such file or directory
--- stat config/storage/trash: no such file or directory
2021-05-03T00:24:11.572Z INFO Operator email {"Address": "xxxxx"}
2021-05-03T00:24:11.573Z INFO Operator wallet {"Address": "xxxxx"}
Error: Error starting master database on storagenode: group:
--- stat config/storage/blobs: no such file or directory
--- stat config/storage/temp: no such file or directory
--- stat config/storage/garbage: no such file or directory
--- stat config/storage/trash: no such file or directory
2021-05-03T00:24:23.904Z INFO Operator email {"Address": "xxxxx"}
2021-05-03T00:24:23.904Z INFO Operator wallet {"Address": "xxxxx"}
Error: Error starting master database on storagenode: group:
--- stat config/storage/blobs: no such file or directory
--- stat config/storage/temp: no such file or directory
--- stat config/storage/garbage: no such file or directory
--- stat config/storage/trash: no such file or directory
node4@node4:~/storj
I even tried manually create those folders, but it did not helped.
@Alexey looks like your consultation is needed again
You have /home/node4/storj/4/data4/config.yaml already, please, remove it first.
The storage must be empty for a new node. This is for protection of your earnings, if you run the setup by mistake in the second time. So, you should understand what are you doing and as a last resort to fail, if config file already exist.
Error: Error starting master database on storagenode: group:
--- stat config/storage/blobs: no such file or directory
--- stat config/storage/temp: no such file or directory
--- stat config/storage/garbage: no such file or directory
--- stat config/storage/trash: no such file or directory
I’ve tried stopping then removing the docker container and re-running the update command. I’m running as root but ran as a user the first time. I’ve double checked my paths. Podman was installed from dnf. The machine is a VM on a Synology NAS. I’ve run sealert -l “*” a bunch of times and cleared out any related selinux issues. Not sure what to try next.
Great question. I was looking for isolation from my network and thought this would be the best way but I suppose I could setup the docker container to only use an isolated network port too? Do you recommend any specific synology instructions?
I’m also facing the same problem while trying to deploy a second node on the same server. The first one is working fine and the parameters are similar, just followed the sequence number for port and path.
This is my command and parameters:
2024-10-28T17:13:53Z ERROR failure during run {“Process”: “storagenode”, “error”: “Error opening database on storagenode: group:\n— stat config/storage/blobs: no such file or directory\n— stat config/storage/temp: no such file or directory\n— stat config/storage/trash: no such file or directory”, “errorVerbose”: “Error opening database on storagenode: group:\n— stat config/storage/blobs: no such file or directory\n— stat config/storage/temp: no such file or directory\n— stat config/storage/trash: no such file or directory\n\tmain.cmdRun:69\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\n\tgithub.com/spf13/cobra.(*Command).execute:983\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1115\n\tgithub.com/spf13/cobra.(*Command).Execute:1039\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tmain.main:34\n\truntime.main:271”}
Error: Error opening database on storagenode: group:
— stat config/storage/blobs: no such file or directory
— stat config/storage/temp: no such file or directory
— stat config/storage/trash: no such file or directory
2024-10-28 17:13:53,556 WARN stopped: storagenode (exit status 1)
2024-10-28 17:13:53,557 WARN stopped: processes-exit-eventlistener (terminated by SIGTERM)