fatal: detected dubious ownership in repository at '/var/www'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www in /var/www/classes/config.php on line 321
[09:19:11/717] Using task id 1
[09:19:11/717] Lock: update_daemon-715.lock
[09:19:11/716] Using task id 0
[09:19:11/716] Lock: update_daemon-714.lock
[09:19:11/717] Waiting before update (5)...
[09:19:11/716] Waiting before update (0)...
[09:19:11/716] Scheduled 21 feeds to update...
[09:19:11/716] Base feed: https://rhrn2.hwb0307.com/bilibili/user/video/308693140?key=xBxyEqTtGm
[09:19:11/716] => Bilibili-声物课 (ID: 127, U: admin [1]), last updated: 2023-05-08 05:18:06
PHP Warning: Undefined array key 1 in /var/www/classes/config.php on line 362
PHP Warning: Undefined array key 2 in /var/www/classes/config.php on line 362
PHP Warning: Unable to determine version: Git error [RC=128]: warning: unable to access '/root/.config/git/config': Permission denied
warning: unable to access '/root/.gitconfig': Permission denied
fatal: detected dubious ownership in repository at '/var/www'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www in /var/www/classes/config.php on line 321
[09:19:11/720] Lock: update_daemon-feed-127.lock
[09:19:15/716] <= 3.6035 (sec) exit code: 0
[09:19:15/716] Base feed: https://blog.devtang.com/atom.xml
[09:19:15/716] => 唐巧的博客 (ID: 116, U: admin [1]), last updated: 2023-05-08 09:03:05
PHP Warning: Undefined array key 1 in /var/www/classes/config.php on line 362
PHP Warning: Undefined array key 2 in /var/www/classes/config.php on line 362
PHP Warning: Unable to determine version: Git error [RC=128]: warning: unable to access '/root/.config/git/config': Permission denied
warning: unable to access '/root/.gitconfig': Permission denied
fatal: detected dubious ownership in repository at '/var/www'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www in /var/www/classes/config.php on line 321
[09:19:15/725] Lock: update_daemon-feed-116.lock
[09:19:15/716] <= 0.4853 (sec) exit code: 0
[09:19:15/716] Base feed: https://github.com/Chanzhaoyu/chatgpt-web/releases.atom
[09:19:15/716] => chatgpt-web (ID: 274, U: admin [1]), last updated: 2023-05-08 09:03:08
PHP Warning: Undefined array key 1 in /var/www/classes/config.php on line 362
PHP Warning: Undefined array key 2 in /var/www/classes/config.php on line 362
PHP Warning: Unable to determine version: Git error [RC=128]: warning: unable to access '/root/.config/git/config': Permission denied
warning: unable to access '/root/.gitconfig': Permission denied
fatal: detected dubious ownership in repository at '/var/www'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www in /var/www/classes/config.php on line 321
[09:19:15/728] Lock: update_daemon-feed-274.lock
[09:19:16/717] Scheduled 0 feeds to update...
[09:19:16/717] Sending digests, batch of max 15 users, headline limit = 1000
[09:19:16/717] All done.
[09:19:17/33] Child process with PID 715 reaped.
[09:19:17/33] Received SIGCHLD, 1 active tasks left.
[09:19:17/716] <= 2.3278 (sec) exit code: 0
[09:19:17/716] Base feed: https://rsshub.app/hellogithub/article
[09:19:17/716] => HelloGitHub - Article (ID: 168, U: admin [1]), last updated: 2023-05-08 09:03:08
PHP Warning: Undefined array key 1 in /var/www/classes/config.php on line 362
PHP Warning: Undefined array key 2 in /var/www/classes/config.php on line 362
PHP Warning: Unable to determine version: Git error [RC=128]: warning: unable to access '/root/.config/git/config': Permission denied
warning: unable to access '/root/.gitconfig': Permission denied
fatal: detected dubious ownership in repository at '/var/www'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www in /var/www/classes/config.php on line 321
[09:19:18/733] Lock: update_daemon-feed-168.lock
[09:19:18/716] <= 0.2422 (sec) exit code: 0
[09:19:18/716] Base feed: https://www.youtube.com/feeds/videos.xml?channel_id=UCA0gaB71yl2p_g5WlO5zljw
[09:19:18/716] => 洋葱 (ID: 264, U: admin [1]), last updated: 2023-05-08 09:03:09
PHP Warning: Undefined array key 1 in /var/www/classes/config.php on line 362
PHP Warning: Undefined array key 2 in /var/www/classes/config.php on line 362
PHP Warning: Unable to determine version: Git error [RC=128]: warning: unable to access '/root/.config/git/config': Permission denied
warning: unable to access '/root/.gitconfig': Permission denied
fatal: detected dubious ownership in repository at '/var/www'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www in /var/www/classes/config.php on line 321
[09:19:18/736] Lock: update_daemon-feed-264.lock
[09:19:19/716] <= 1.4165 (sec) exit code: 0
[09:19:19/716] Base feed: https://daimajia.com/feed
[09:19:19/716] => 代码家 (ID: 8, U: admin [1]), last updated: 2023-05-08 09:03:09
PHP Warning: Undefined array key 1 in /var/www/classes/config.php on line 362
PHP Warning: Undefined array key 2 in /var/www/classes/config.php on line 362
PHP Warning: Unable to determine version: Git error [RC=128]: warning: unable to access '/root/.config/git/config': Permission denied
warning: unable to access '/root/.gitconfig': Permission denied
fatal: detected dubious ownership in repository at '/var/www'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www in /var/www/classes/config.php on line 321
[09:19:19/741] Lock: update_daemon-feed-8.lock
[09:19:20/716] <= 0.6642 (sec) exit code: 0
[09:19:20/716] Base feed: https://blogs.rstudio.com/tensorflow/index.xml
[09:19:20/716] => RStudio AI Blog (ID: 191, U: admin [1]), last updated: 2023-05-08 09:03:12
PHP Warning: Undefined array key 1 in /var/www/classes/config.php on line 362
PHP Warning: Undefined array key 2 in /var/www/classes/config.php on line 362
PHP Warning: Unable to determine version: Git error [RC=128]: warning: unable to access '/root/.config/git/config': Permission denied
warning: unable to access '/root/.gitconfig': Permission denied
fatal: detected dubious ownership in repository at '/var/www'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www in /var/www/classes/config.php on line 321
[09:19:20/744] Lock: update_daemon-feed-191.lock
Bug 描述 将/var/www挂载到物理目录后出现权限问题,导致ttrss每分钟产生一个类似的error:
这个bug无法在进入ttrss后运行
git config --global --add safe.directory /var/www
解决。部署方法
首次安装后,我将/var/www/挂载到根目录,然后重新挂载整个目录。这样方便通过备份根目录来备份整个ttrss。
预期结果
该bug可以消失。
截屏
错误日志 当错误发生时,通过终端执行
docker logs ttrss --tail 100
获取日志,并将相关错误日志粘贴于此处。其他
暂无。