# Unable to update ghost

**URL:** <https://forum.ghost.org/t/unable-to-update-ghost/18790>\
**Category:** Developer help\
**Created:** [December 9, 2020, 9:16am UTC](https://forum.ghost.org/t/unable-to-update-ghost/18790 "2020-12-09T09:16:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anubhav\_Singh](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Anubhav\_Singh](https://forum.ghost.org/u/Anubhav_Singh)\
**Post date:** [December 9, 2020, 9:16am UTC](https://forum.ghost.org/t/unable-to-update-ghost/18790/1 "2020-12-09T09:16:49Z")

</div>

I ran the following commands to update the ghost to the latest version

root@ghost-ubuntu-s-2vcpu-2gb-nyc1-01:~# cd /var/www/ghost  
root@ghost-ubuntu-s-2vcpu-2gb-nyc1-01:/var/www/ghost# ghost update  
You can’t run commands as the ‘root’ user.  
Switch to your regular user, or create a new user with regular account privileges and use this user to run ‘ghost update’.  
For more information, see [How to install & setup Ghost on Ubuntu 16.04, 18.04, 20.04 or 22.04](https://ghost.org/docs/install/ubuntu/#create-a-new-user-).

i have also created the new user but I’m unable to ssh via that user please help
