NextCloud 升级

2024-07-29 538 0

物理安装

升级前执行
sudo -u www-data php -f /var/www/nextcloud/cron.php
软件升级
sudo -u www-data php /var/www/nextcloud/updater/updater.phar
数据升级
sudo -u www-data php /var/www/nextcloud/occ upgrade
退出维护模式
sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off

docker

cd /data/web/nextcloud
docker exec -it -u www-data nextcloud-php-1  bash
php ./updater/updater.phar
php occ upgrade
php occ maintenance:mode --off
php -f  cron.php

php occ db:add-missing-indices
occ db:convert-filecache-bigint

#php occ maintenance:mode --on

https://www.cmdschool.org/archives/19702
https://cloud.tencent.com/developer/article/2143038
https://docs.nextcloud.com/server/18/admin_manual/installation/system_requirements.html#server
https://hub.docker.com/_/nextcloud

相关文章

MacBook系统升级到Sequoia15.1 SSH密钥无权限解决
haproxy 负载rabbitmq集群 报client unexpectedly closed TCP connection
Nginx Apache CORS OPTIONS预检请求配置
windows 2012 命令行批量修改文件权限 删除
CICD持续部署 Jenkins 部署
CICD持续集成 SonarQube 代码检测部署

发布评论