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.

Publii not opening on new Macbook Pro M1

  • #6172
    Avatar photo[anonymous]

    I installed Publii on my new Macbook Pro M1 because my old Mac died. When I start Publii on the new machine I get:

    Uncaught Exception:
    Error: EACCES: permission denied, mkdir '/Users/don19'
    at Object.mkdirSync (fs.js:925:3)
    at mkdirsSync (/Applications/
    at mkdirsSync (/Applications/
    at mkdirsSync (/Applications/
    at Object.mkdirsSync (/Applications/
    at App.loadSites (/Applications/
    at new App (/Applications/
    at App.<anonymous> (/Applications/
    at App.emit (events.js:315:20)
    at App.EventEmitter.emit (domain.js:483:12)

    The User don19 doesn’t exist any more on the new Mac. Is there any way I can just open Publii? I’m happy to reconstruct the site if needed. I realize it would have been better to have had the site root in Dropbox as you advise, but I don’t understand why a fresh install on a new computer still looks in the old root location. I did migrate the apps from an existing iCloud account but deleted Publii and reinstalled.

    Avatar photo[anonymous]

    All seems to be working now. Today Publii opened without the above error dialog, asking me to create a new site. I created a site with the same name as before and then copied the old files into Documents/Publii/site_name. After quitting and restarting Publii everything worked as before, the settings were all restored.

    Avatar photo[anonymous]


    Thank you for your feedback.
    I will add more friendly message for such cases in v.0.39.0.