Start your node - YAML file not found - YAML exception *HELP setting up new pool using stake pool course

Try again, but at the end of each line add \ except last one

Ok type cardano node run - -help

Also, this node is the relay right?

If yes, u need to edit the topology file

NOTE: Here you can find peers to connect to, and submit your own relay’s data: https://explorer.cardano-testnet.iohkdev.io/relays/topology.json

Please follow the steps from bellow guide

https://cardano-foundation.gitbook.io/stake-pool-course/stake-pool-guide/stake-pool/core_relay

I don’t have a cardano-node dir in the relay folder. It’s only in the cardano-node folder… if that’s what you mean?

See my comment above, u need to edit the topology file

ok, that’s the guide i’m following…

so the video ends after Setting up your node / Get configuration files and it’s obviously not working for me…

So you suggest to move ahead in the “Stake Pool Handbook” and figure out how to configure my topology file from there.

Thanks Alex! I’ll check back later.

Looks like an awesome pool you’re running! I’m hoping to do a similar charity thing with my pool to help fund children’s education… when I can figure this out!!

Cheers man, Thanks again!

Thank u … we will start the node… no worrys

I am curious if you type nano testnet-topology.json what is the output…?

1 Like

{
“Producers”: [
{
“addr”: “relays-new.cardano-testnet.iohkdev.io”,
“port”: 3001,
“valency”: 2
}
]
}

Try to run the scriot without path … delete relay from the path

invalid argument --topology

I really appreciate your help!

…I’m gonna dig back into the videos and link you sent to get a better grasp of whats going on.

I’m a front side guy with 3d art and video game content, so I’m re-learning.

Cheers

element3dstudios dot com

1 Like

Hey Alex,

I’ve been working on this for a while and still getting the same error… InvalidYaml (Just (YamlException “Yaml file not found: configuration/cardano/mainnet-config.json”))

I changed the testnet-topology.json and tried 2 different versions listed on the page you mentioned :

jimmy3d@grow-testnet:~/relay$ cardano-node run \

–topology testnet-topology.json
–database-path db
–socket-path db/node.socket
–host-addr 34.122.200.44
InvalidYaml (Just (YamlException “Yaml file not found: configuration/cardano/mainnet-config.json”))

cardano-node: YAML exception:
Yaml file not found: configuration/cardano/mainnet-config.jsonjimmy3d@grow-testnet:~/relay$ --port 3001 \

–config testnet-config.json
–port: command not found

jimmy3d@grow-testnet:~/relay$ nano testnet-topology.json

Gives this:

{
“Producers”: [
{
“addr”: “34.122.200.44”,
“port”: 3001,
“valency”: 1
}
]
}

The tutorial says to create a pool dir and download and install the same files to that dir. Does the pool dir live in the relay dir?

jimmy3d@grow-testnet:~/relay/pool$ nano testnet-topology.json

Gives this
{
“Producers”: [
{
“addr”: “34.122.200.44”,
“port”: 3001,
“valency”: 1
},
{
“addr”: “62.138.3.118”,
“port” :46000,
“continent”:“Europe”,
“state”: DE"
},
{
“addr”: “194.62.6.38”,
“port”: 9080,
“continent”:“Europe”,
“state”: “DE”
}
]
}

So is the correct directory: ~/relay/pool for the new files??

Nothing is working for me…

I think pool is same with relay but

U create pool folder on Producer and relay folder on relay node

Let me ask …

ok, thanks!

the modified testnet-topology.json file:

{
“Producers”: [
{
“addr”: “34.122.200.44”,
“port”: 3001,
“valency”: 1
}
]
}

is still not working to run the cardano node from the relay folder as intended in the “Get configuration files and run the node” portion of the tutorial…

Man… your commands are not ok when u try to start the node

Try from the relay folder where are the files

Try to add each command separatly

cardano-node run \

(press tab) - - topology testnet-topology.json
(press tab) - - database-path db
(press tab) - - socket-path db/node.socket
(preas tab) - - host-addr 34.122.200.44
(press tab) - - port3000
(press tab) - - config testnet-config.json

ok will do,

what do you mean “not ok”

I don’t know why the \ not appears in comments

U need to add \ at the end of each line except the last one

ok, didn’t notice that.

I’m getting a different error now so it looks like its being read in…

Great… try with host address 0.0.0.0

running…!

1 Like

Do u have ada? I mean if u are thinking to start a real node