GitHub - typecho/typecho: A PHP Blogging Platform. Simple and Powerful.
https://github.com/typecho/typecho

Typecho Blogging Platform
Typecho is a PHP Blogging Platform. Simple and Powerful.

Telegram Channel
https://t.me/typechodev

Homepage
http://typecho.org/

Documents
http://docs.typecho.org/

Community
http://forum.typecho.org/

Download
http://typecho.org/download

@joyqi
joyqi fix #945
Latest commit
5ba2f03
22 hours ago
Files
Type    Name    Latest commit message    Commit time
.github    调整拼写及顺序    3 years ago
admin    Merge pull request #853 from Seevil/patch-2    3 months ago
install    fix #710    2 years ago
tools    BUG    14 months ago
usr    update normalize.css for admin panel and default theme    2 years ago
var    fix #945    22 hours ago
.editorconfig    避免第三方插件模板开发时影响提交    4 years ago
.gitattributes    用marked.js以及MarkdownExtraExtended替换旧的markdown解析引擎    7 years ago
.gitignore    避免第三方插件模板开发时影响提交    4 years ago
.gitmodules    fix langs    6 years ago
.travis.yml    fix #644    3 years ago
LICENSE.txt    避免第三方插件模板开发时影响提交    4 years ago
README.md    增加一个官方的 Telegram 消息发布渠道    3 years ago
changelog.txt    初始化    7 years ago
index.php    fix some bugs    6 years ago
install.php    delete some redundant code in file install.php(config.inc.php as well)    2 years ago
 README.md

2020-04-08T15:22:50.png
typecho-master.zip


您在这里: Typecho文档站点 » 开始升级

开始升级
下载最新版
删除服务器上的旧文件
注意
上传新文件
使用应用引擎部署程序
完成升级
开始升级
升级typecho是一件非常轻松的事情,按照下面的步骤完成即可。如果你在升级步骤中遇到了什么问题,可以到我们的社区或者邮件列表中寻求帮助

下载最新版
请访问 http://typecho.org/download 获得最新的稳定版本,并下载

删除服务器上的旧文件
请在服务器上删除如下目录和文件

/admin/
/var/
/index.php
/install.php
注意
请千万不要删除/usr/目录,因为这个目录包含了你的主题,插件和上传的文件,它无需被升级

上传新文件
请把你下载的压缩文件解压后,上传以上已经删除的文件和目录,这实际上是执行了一次覆盖操作,让我再来重复一遍需要上传的目录和文件

/admin/
/var/
/index.php
/install.php
使用应用引擎部署程序
如果你正在使用GAE, SAE, BAE等等这些应用引擎来部署程序,由于它们使用GIT或者SVN管理版本。你可以直接在本地更新以上这些目录和文件,然后再将这个修改后的版本部署到应用服务器上。

完成升级
:!: 当你没有进行下面的步骤时,访问前台页面可能回出现错误提示,请不要管他们,直接访问你的 admin 页面,按提示完成升级即可恢复正常

用一个具有管理员权限的用户登录后台,系统会提示检测到新版本需要升级,点击完成升级按钮即可完成升级

如果在升级完成后,进入首页出现 500 或其他错误,请进入 admin 页面禁用所有的插件,并启用默认模板。如果正常,请逐步排查插件或模板存在的问题。

Last modification:April 8, 2020
如果觉得我的文章对你有用,请随意赞赏