Not sure I just did something dumb but today I ran “ghost update”. The update “worked” but my content was deleted and the site was reset to default values.
Here is my ghost ls output:
┌─────────────┬────────────────────────────────────────────────┬─────────┬───────────────────────┬───────────────────────────┬──────┬─────────────────┐
│ Name │ Location │ Version │ Status │ URL │ Port │ Process Manager │
├─────────────┼────────────────────────────────────────────────┼─────────┼───────────────────────┼───────────────────────────┼──────┼─────────────────┤
│ ghost-local │ /usr/local/lsws/sites/removed/public_html │ 2.6.1 │ running (development) │ https://removed.com/ │ 2369 │ local │
└─────────────┴────────────────────────────────────────────────┴─────────┴───────────────────────┴───────────────────────────┴──────┴─────────────────┘
Also I am not sure why but when I updated ghost the port number changed from 2368 to 2369 and I had to edit my litespeed webserver config to get the site online again (otherwise 503 service unavailable error)
Please advise how the proper way I can safely update ghost on Centos to avoid this problem in the future
thanks