就在刚刚,api.github.com 已经在大多数国内服务器上连接不上了,以下是解决办法:
在容器终端运行以下命令后重新运行升级命令就好:
sed -i 's|https://api.github.com/repos/zhuchunshu/SForum/releases|http://api-github.runpod.cn/repos/zhuchunshu/SForum/releases|' /data/www/app/CodeFec/Upgrading.php && composer config -g repos.packagist composer https://mirrors.tencent.com/composer/