Wiki.js Migration and Import SSH GIT Error

  • Trying to migrate data from Wiki.js 1 to Wiki.js 2. The import process keeps erroring out with this error:

    Bad port 'undefined' fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. error: Could not fetch origin 

    The same setup when connected to the regular repo works fine. So I know the key and everything is good and that Wiki.js 2 can definitely see the repo when things are working. I tried putting the port manually into the connection string, but no luck there either.