尝试将文件(图像)附加到Tracker中的工件时,出现错误:
2018/07/11 13:16:04 [error] 3553#0: *1299 FastCGI sent in stderr: "PHP message: PHP Warning: mkdir(): Permission denied in /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_File.class.php on line 955
PHP message: PHP Warning: chown(): Operation not permitted in /usr/share/tuleap/src/common/backend/Backend.class.php on line 185
PHP message: PHP Warning: chgrp(): Operation not permitted in /usr/share/tuleap/src/common/backend/Backend.class.php on line 222
PHP message: PHP Warning: move_uploaded_file(/var/lib/tuleap/tracker/447/105): failed to open stream: No such file or directory in /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_File.class.php on line 966
PHP message: PHP Warning: move_uploaded_file(): Unable to move '/tmp/phpinBdbP' to '/var/lib/tuleap/tracker/447/105' in /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_File.class.php on line 966" while reading response header from upstream, client: 10.73.12.147, server: tuleap, request: "POST /plugins/tracker/?aid=4&func=artifact-update HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "tuleap", referrer: "https://tuleap/plugins/tracker/?aid=4"
工件已更新,但GUI中没有可见错误,但是更改集为空,不显示图像。
设置Tuleap(没有Docker)时,我遵循了full installation process。
按照本指南的建议禁用SELinux。
CentOS 7,Tuleap™10.1.99.104
答案 0 :(得分:0)
在这个特殊的Tuleap版本中似乎是一个错误。
解决方法:
chown -R codendiadm:codendiadm /var/lib/tuleap/tracker/
官方bugtracker中的更多信息: https://tuleap.net/plugins/tracker/?aid=11821