Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Migration to another machine

  • #3741
    Avatar photo[anonymous]

    I was having trouble migrating my Publii files from my Pop!_OS machine to my Mac but found this thread. I zipped the directory, unzipped on my Mac and all was fine.

    Now, I need to move my Publii files back to my Pop!_OS machine. Using the same method continues to deliver the same error message:

    View post on imgur.com

    Am I missing something? I only used Publii on my Mac for a week while my System76 machine was getting repaired. They’re (essentially) the same files.

    Thanks.

    #3770
    Avatar photo[anonymous]

    Do you have the same username on the new computer? The error is caused by fact that Publii cannot find a directory listed in the error message.

    #3773
    Avatar photo[anonymous]

    Yes, the username is the same on both computers. However, the path is different on Linux:

    /home/gadgetboy/Documents/Publii/sites

    vs Mac OS:

    /Users/gadgetboy/Documents/Publii/sites

    It looks like I can edit that in:

    /config/app-config.json

    …and that worked.

    Thanks for pointing that out. I expected the path to be relative to the user directory.