Today the entire contents of …/blog/system/files/* were deleted. (not by me) Anyone else seen this?
I was on the road and received and pingdom alert that the blog was offline. When I got home and checked the server, all files from Ghost directory /var/www/blog/system/files/content/ were deleted.
I checked server last and lastlog as well as system logs and didn’t see any logins to the key-auth only non-standard ssh port.
It worked fine for a month till magically deleted today.
Could it be that Ghost was compromised? Or does it have an auto upgrade feature and maybe I have something setup incorrectly? Other issue? New to Ghost so seeking help.
Normally the install directory is /var/www/ghost. I’m assuming you changed ‘ghost’ to ‘blog’ and that is your install directory?
So if I understand correctly, your site is installed at /var/www/blog and you’re saying that the folder /var/www/blog/content has gone missing.
There’s nothing in Ghost or Ghost-CLI that would delete that folder, no automatic updates or other behaviour and I’ve never seen anything like this happen before.
Fairly certain it’s not a Ghost issue.
Was the folder setup as a normal directory? Not symlinked or mounted from anywhere that could have failed?