I am using DigitalOcean’s One-Click droplets to host my blog but recently I tried to issue an update command and it shows the following message. So will DigitalOcean’s OneClick Droplet system automatically update my Ghost in the future or is there any other solution to this problem?
The error message is telling you that you’re not in the folder where Ghost was installed. The command has to be issued from the Ghost folder as it’s perfectly legitimate to have more than one ghost install.
@staticpixel check in the current directory where you are running that commands with “pwd” and check if it’s correct. If not, go to the folder where you installed Ghost and then try again
But during installation I have not gone to any other folder. I followed the instructions as was given here and accordingly I have not gone into any other folder. How do I know wher Ghost was installed if didn’t go into any folder in the first place?!
ghost ls Lists all of your ghost installs and their locations. The same messaging that tells you about using sudo -i -u ghost-mgr should also be telling you where Ghost was installed.