search

Home  >  Q&A  >  body text

node.js - ghost 博客 突然不行了

今天 服务器重启了一下,发现 服务器的 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中文网2781 days ago592

reply all(5)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 13:22:59

    Try itnpm install

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 13:22:59

    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~

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 13:22:59

    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

    reply
    0
  • 黄舟

    黄舟2017-04-17 13:22:59

    Your articles are all in the database

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 13:22:59

    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.

    reply
    0
  • Cancelreply