Publii not opening on new Macbook Pro M1
- This topic has 2 replies, 2 voices, and was last updated 1 month, 3 weeks ago by .
- August 16, 2021 at 2:49 pm #6172DonT48
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.August 17, 2021 at 9:24 am #6177DonT48
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.August 23, 2021 at 7:38 pm #6206Tomasz Dziuda
Thank you for your feedback.
I will add more friendly message for such cases in v.0.39.0.
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!
- You must be logged in to reply to this topic.