GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.21k stars 416 forks source link

[Bug]: "Please check if the directory ... exists or create it manually, then reopen the application." #1181

Open gellenburg opened 1 year ago

gellenburg commented 1 year ago

Operating system

Windows 11 22H2 Pro

Publii version

0.41.1

Post editor

None

Bug description

image

I had to move my %UserProfile% off Drive C: due to a failing drive.

Publii now refuses to launch and presents the above error and quits before allowing me an opportunity to choose a new location.

Steps to reproduce

  1. With Publii closed, move your Publii Sites folder to a new location.
  2. Launch Publii
  3. Receive error message.
  4. Profit?

Relevant log output

N/A
grivanov commented 1 year ago

Have the same issue but my Publii install on Windows is looking for a Linux home path and can't start. Freshly installed Windows machine.

s3nnet commented 1 year ago

Have you tried changing the SitesLocation in Publii > config folder (app-config.json) ?

SitesLocation_Screenshot_20230421_155932

gellenburg commented 1 year ago

No because this is the first time I ever heard of the app-config.json file. I have since replaced the drive and reinstalled Publii onto a fresh install of Windows so for me this issue is no longer relevant but I see that others are experiencing this same issue so I won't close it for them.