本文最后更新于 2025-09-29,文章内容可能已经过时。

一、设置-概览里选择运行更新程序

系统会调用站点根目录/updater/index.php进行更新,如果遇到问题比如 failed to Download等问题可以选择第二种方法

二、使用命令行进行更新

这种方法可以显示错误详细信息

# nginx
cd <nextcloud根目录/updater>
sudo -u www php updater.phar --no-interaction

# apache
cd <nextcloud根目录/updater>
sudo -u www-data php updater.phar --no-interaction