node.js - ghost 博客 突然不行了
PHP中文网
PHP中文网 2017-04-17 13:20:59
0
5
605

今天 服务器重启了一下,发现 服务器的 ghost 博客 运行不起来了

ghost@0.6.3 忘记备份了 看见升级了 想新建一个 可以前的文章 都没了 也运行不起来了,想找回原来文章的数据, 如何找回呢

node index.js

ERROR: Cannot find module 
'/home/wwwroot/blog.zanjs.com/node_modules/sqlite3/
lib/binding/node-v46-linux-x64/node_sqlite3.node
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(5)
左手右手慢动作

Try itnpm install

小葫芦

I don’t have a way to restore it, but one thing I have to remind you is that you need to back up your data regularly. Especially the database file of sqlite3. First of all, the file is not large under normal circumstances and it is easy to back up. Secondly, all your articles are in it. If you don’t back it up, it will be tragic~

大家讲道理

The content directory stores data. If this is still in the data, there will be no problem

I haven’t upgraded yet, so I can’t help much. Please read the official upgrade tutorial

黄舟

Your articles are all in the database

Peter_Zhu

sqllite3 crashed. Try to install it as 1L said. If you want to restore the data segment, find the source file of sqllite and use a third-party tool to open and copy.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template