# Struggling to figure out which user has ghost installed so that i can update ghost

**URL:** <https://forum.ghost.org/t/struggling-to-figure-out-which-user-has-ghost-installed-so-that-i-can-update-ghost/25116>\
**Category:** Installation\
**Created:** [August 23, 2021, 5:58pm UTC](https://forum.ghost.org/t/struggling-to-figure-out-which-user-has-ghost-installed-so-that-i-can-update-ghost/25116 "2021-08-23T17:58:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elan816](https://avatars.discourse-cdn.com/v4/letter/e/49beb7/32.png) [@elan816](https://forum.ghost.org/u/elan816)\
**Post date:** [August 23, 2021, 5:58pm UTC](https://forum.ghost.org/t/struggling-to-figure-out-which-user-has-ghost-installed-so-that-i-can-update-ghost/25116/1 "2021-08-23T17:58:54Z")

</div>

Hi all,

I have a ghost blog setup on a digital ocean droplet. I’m a little bit of a command line novice and struggle with this sort of thing, but everything has worked fine thus far. I’m now trying to update my ghost instance and running into trouble. If I’m logged in as either root@ or ghost-migr@, I get the error “Working directory is not a recognisable Ghost installation.” I followed directions from a different forum post and navigated to the subdirectory /var/www/ghost/ and got a little further with ghost update, at first there were permissions problems but I pasted whatever the logging told me to to fix the errors, and then lastly I got a “EACCES: permission denied, open '/var/www/ghost/.ghost-cli” error. Any suggestions? How would I go about finding out which user installed ghost?

---

<div class="post-metadata">

**Author:** ![ahuman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ahuman/32/14232_2.png) [@ahuman](https://forum.ghost.org/u/ahuman)\
**Post date:** [August 24, 2021, 8:24pm UTC](https://forum.ghost.org/t/struggling-to-figure-out-which-user-has-ghost-installed-so-that-i-can-update-ghost/25116/2 "2021-08-24T20:24:04Z")

</div>

I’m not a huge CLI expert either, but I just tried this. Type `which ghost` and then use the path to that file after typing `ls -l` and it should show you the owner and group.
