How to change theme with bash shell


#1

I try to update my blog to 2.0.0+.
I think I used the correct commands. I updated to 1.25 and then 2.0.0+.
But when I visited my blog, I got " 502 Bad Gateway nginx/1.10.3 (Ubuntu) ".

I tried to solve this problem.
Nginx’s settings were no problem.
when I use ghost log, I got the following logs.
(For privacy reasons, I did not give the correct domain name.)

[2018-09-11 09:32:31] WARN Theme’s file locales/zh.json not found.
[2018-09-11 09:32:31] WARN Falling back to locales/en.json.
[2018-09-11 09:32:31] INFO Ghost is running in production…
[2018-09-11 09:32:31] INFO Your blog is now available on https://www.example.com
[2018-09-11 09:32:31] INFO Ctrl+C to shut down
[2018-09-11 09:32:31] INFO Ghost boot 3.517s
[2018-09-11 09:46:19] WARN Ghost has shut down
[2018-09-11 09:46:44] WARN Theme’s file locales/zh.json not found.
[2018-09-11 09:46:44] WARN Falling back to locales/en.json.
[2018-09-11 09:46:45] INFO Ghost is running in production…
[2018-09-11 09:46:45] INFO Your blog is now available on https://www.example.com
[2018-09-11 09:46:45] INFO Ctrl+C to shut down
[2018-09-11 09:46:45] INFO Ghost boot 5.104s

My question is how to set the configuration file locales/zh.json correctly?
Thank you very much.
I will restore default theme if I need update.


#2

Just to to your admin section.

i.e: mysite.com/ghost

Cheers!


#3

Sadly, I can not access it, only got “502 Bad Gateway nginx/1.10.3 (Ubuntu)”.
The question is wrong theme causes blog to crash.
so I want to modify configuration file to let my blog back to normal.


#4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.