Whatever the file format one gets this error in nginx.log:
2018/12/08 15:07:08 [error] 6250#0: *2 FastCGI sent in stderr: "PHP message: PHP Warning: imagepng(/var/lib/tuleap/user/avatar//0/2/102/avatar): failed to open stream: Aucun fichier ou dossier de ce type in /usr/share/tuleap/src/vendor/gumlet/php-image-resize/lib/ImageResize.php on line 315
PHP message: PHP Warning: chmod(): Aucun fichier ou dossier de ce type in /usr/share/tuleap/src/vendor/gumlet/php-image-resize/lib/ImageResize.php on line 320" while reading response header from upstream, client: 10.91.12.6, server: dev.sibio.fr, request: "POST /account/avatar HTTP/2.0", upstream: "
fastcgi://127.0.0.1:9000", host: "dev.sibio.fr", referrer: "
https://dev.sibio.fr/account/"
2018/12/08 15:07:08 [error] 6250#0: *2 FastCGI sent in stderr: "PHP message: PHP Warning: hash_file(/var/lib/tuleap/user/avatar//0/2/102/avatar): failed to open stream: Aucun fichier ou dossier de ce type in /usr/share/tuleap/src/common/User/User.class.php on line 1377" while reading upstream, client: 10.91.12.6, server: dev.sibio.fr, request: "GET /account/ HTTP/2.0", upstream: "
fastcgi://127.0.0.1:9000", host: "dev.sibio.fr", referrer: "
https://dev.sibio.fr/account/"
2018/12/08 15:07:08 [error] 6250#0: *2 FastCGI sent in stderr: "PHP message: PHP Warning: hash_file(/var/lib/tuleap/user/avatar//0/2/102/avatar): failed to open stream: Aucun fichier ou dossier de ce type in /usr/share/tuleap/src/common/User/User.class.php on line 1377
PHP message: PHP Warning: hash_file(/var/lib/tuleap/user/avatar//0/2/102/avatar): failed to open stream: Aucun fichier ou dossier de ce type in /usr/share/tuleap/src/common/User/User.class.php on line 1377" while reading upstream, client: 10.91.12.6, server: dev.sibio.fr, request: "GET /account/ HTTP/2.0", upstream: "
fastcgi://127.0.0.1:9000", host: "dev.sibio.fr", referrer: "
https://dev.sibio.fr/account/"
2018/12/08 15:07:08 [error] 6250#0: *2 FastCGI sent in stderr: "PHP message: PHP Warning: hash_file(/var/lib/tuleap/user/avatar//0/2/102/avatar): failed to open stream: Aucun fichier ou dossier de ce type in /usr/share/tuleap/src/common/User/User.class.php on line 1377" while reading response header from upstream, client: 10.91.12.6, server: dev.sibio.fr, request: "GET /users/lahondes/avatar-.png HTTP/2.0", upstream: "
fastcgi://127.0.0.1:9000", host: "dev.sibio.fr", referrer: "
https://dev.sibio.fr/account/"
2018/12/08 15:07:08 [error] 6250#0: *2 FastCGI sent in stderr: "PHP message: PHP Warning: hash_file(/var/lib/tuleap/user/avatar//0/2/102/avatar): failed to open stream: Aucun fichier ou dossier de ce type in /usr/share/tuleap/src/common/User/User.class.php on line 1377" while reading response header from upstream, client: 10.91.12.6, server: dev.sibio.fr, request: "GET /users/lahondes/avatar-.png HTTP/2.0", upstream: "
fastcgi://127.0.0.1:9000", host: "dev.sibio.fr", referrer: "
https://dev.sibio.fr/account/"
I've tried to create /var/lib/tuleap/user/avatar/ with good owner to help but it did not improve things.