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.

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/Publii.app/Contents/Resources/app.asar/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:31:9)
    at mkdirsSync (/Applications/Publii.app/Contents/Resources/app.asar/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:36:14)
    at mkdirsSync (/Applications/Publii.app/Contents/Resources/app.asar/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:36:14)
    at Object.mkdirsSync (/Applications/Publii.app/Contents/Resources/app.asar/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:36:14)
    at App.loadSites (/Applications/Publii.app/Contents/Resources/app.asar/back-end/app.js:286:16)
    at new App (/Applications/Publii.app/Contents/Resources/app.asar/back-end/app.js:71:39)
    at App.<anonymous> (/Applications/Publii.app/Contents/Resources/app.asar/main.js:32:19)
    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.

    #6177
    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.

    #6206
    Avatar photo[anonymous]

    Hi,

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