Console has to be executed with the same user as the web server is operated

500 20天前 42

Cannot load Zend OPcache - it was already loaded
Console has to be executed with the same user as the web server is operated
Current user: root
Web server user: www



这个怎么办呀。我已经在appnode的计划任务新建立的任务里面 设置用户为www了



计划任务填 sudo -H -u www bash -c "/opt/appnode/appnode-php73/root/usr/bin/php -f /data/mystack/sites/nextcloud/www/cron.php" 这样也不行


这里是官方文档
https://docs.nextcloud.com/server/16/admin_manual/configuration_server/background_jobs_configuration.html

最新回复 (1)
  • 虚竹 19天前
    引用 2

    编辑 www 用户的计划任务:
    crontab -u www -e

返回
发新帖