I'm trying to add an organisation to a channel following the documentation tutorial. Everything goes all right but the last command, the one to join the new organisation to the channel.
peer channel join -b channel-artifacts/channel1.block
I've read that this indicates that the peers have already joined the channel, but that's not the case. When I try to deploy a contract, for example, it can't be installed on the peers of the new organisation.
The problem was that some docker volumes were kept after restarting the network. So I shut down the network and ran the following command to delete the all docker volumes in the system.
docker system prune --volumes -f
After restarting, the organisation could be joined to the networks without errors.