Recently when I tried to update the ghost installation(this was my first ghost update) of this blog I encountered few errors upon running ghost update command and here is how solved them.
You can't run commands as the 'root' user. Switch to your regular user,