When I did a mmctl channel move, I got an error regarding the port I used when I did the migration. I don’t see the logic in a channel containing migration info down to the port used, as a port can change.
I added this post in the CLI category but the more I think about it the more I think it is a bug.
Seems like a connection issue to me. mmctl seems to be getting an error while authenticating with the server. Did you check if the domain name is correct or not? For instance the connection can be https instead of http, or even something else.
The error was on my part. @isacikgoz made a comment that shed light on the issue. I still had the login credentials from the migration. I didn’t ( but should have) realised that this has to be kept current.
However I did see something that is not quite right in this process.
when I ran the following command
mmctl channel move NewTeam OldTeam:myChannel
I got the message
Error: 1 error occurred:
* unable to find channel "OldTeam:myChannel"
I then discovered that. the is no record of “OldTeam” , however whereas in the GUI I see the team “OldTeam” owning channels, when I run
mmctl team list
I see that “OldTeam” is in fact listed as “main”.
Nevertheless I ran the command with the “main” and it worked.