New node won't start up

Hi,

I’m having trouble getting my node running. It’s a new node running minimal Ubuntu with docker.
I’ve doublechecked the node installation instructions and have followed them to the letter. I have the identity confirmed, have the file permissions checked and even tried to disable apparmor without success. I’ve went through the forums reading several similar posts but none of the resolutions there helped.
It keeps restarting and giving the error:

2025-05-07T12:15:20Z ERROR failure during run {“Process”: “storagenode”, “error”: “Failed to load identity: file or directory not found: open /opt/storj/id/identity.cert: no such file or directory\n\tstorj.io/common/identity.Config.Load:326\n\tmain.cmdRun:56\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:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tmain.main:34\n\truntime.main:272”, “errorVerbose”: “Failed to load identity: file or directory not found: open /opt/storj/id/identity.cert: no such file or directory\n\tstorj.io/common/identity.Config.Load:326\n\tmain.cmdRun:56\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:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tmain.main:34\n\truntime.main:272\n\tmain.cmdRun:58\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:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tmain.main:34\n\truntime.main:272”}
Error: Failed to load identity: file or directory not found: open /opt/storj/id/identity.cert: no such file or directory
storj.io/common/identity.Config.Load:326
main.cmdRun:56
main.newRunCmd.func1:33
storj.io/common/process.cleanup.func1.4:392
storj.io/common/process.cleanup.func1:410
github.com/spf13/cobra.(*Command).execute:985
github.com/spf13/cobra.(*Command).ExecuteC:1117
github.com/spf13/cobra.(*Command).Execute:1041
storj.io/common/process.ExecWithCustomOptions:112
main.main:34
runtime.main:272
2025-05-07 12:15:20,296 WARN exited: storagenode (exit status 1; not expected)

If I do ls /opt/storj/id:

ca.1745697848.cert ca.cert ca.key identity.1745697848.cert identity.cert identity.key

The file are readable to the user running the node (even tried to run it as root, same error). I have no more ideas on debugging so please someone tell me what I am missing :slight_smile:

EDIT: I’ve also tried different identity folders, the default under the usernames .local -folder and the one in the example.

Hi, have you confirmed your identity?
I have 6 files in the identity folder.

1 Like

Um, I literally listed the 6 files in the post. 6 files also.

You need to show you docker command or your docker-compose file. I have this bind in my docker-compose.yaml file. So I have my identity files in a folder called identity in the same folder as the docker-compose.yaml file.

volumes:
      - type: bind
        source: "./identity"
        target: /app/identity

Sorry, forgot to include that. Here, sanitized :slight_smile:

docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967/tcp
-p 28967:28967/udp
-p 14002:14002
-e WALLET=“0xABCDESOMETHING”
-e EMAIL="mario@brothers.com"
-e ADDRESS=“itsame.ddns.net:28967
-e STORAGE=“50TB”
–user $(id -u):$(id -g)
–mount type=bind,source=“/opt/storj/id/”,destination=/app/identity
–mount type=bind,source=“/opt/storj/”,destination=/app/config
–name storagenode storjlabs/storagenode:latest
–operator.wallet-features=zksync

This could be your issue. Try without it.

You’re in for the long run?? :grinning_face_with_smiling_eyes:

I suppose problems permissions. How are permissions set to /opt/storj on host?
Try (whith node container running):

docker exec -it storagenode sh

It shoud log you into container. Check in what directory you are (/app), what directories are there (bin, config, identity), check your rights to them and if you see certificates in identity

We have had a similar issue here: Error: open /app/config/config.yaml1654586245: permission denied - #19 by cyber-arknet

Resolution seems:

Or running docker without it.

1 Like

Ok, thanks everyone for answers. I deleted everything (except identity) and redid the setup. Then made the start script again without the userline and now it started. So, either I messed something up earlier, you helped me in some unknown way or ít was just the “third time’s the charm” -rule :smiley:

Thank you all

1 Like

Nice that you got it working and welcome to the forum btw.

1 Like