[GH-ISSUE #97] File /usr/share/nginx/html/api/../data/sha1.csv not found running on alpine:arm #388

Closed
opened 2026-02-27 12:43:48 +03:00 by kerem · 0 comments
Owner

Originally created by @iav on GitHub (Sep 22, 2019).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/97

I try to run your docker image on ARM Small Board Computers.
There have to use non-x86 based images, I lightly change your dockerfile.
When image runs on aRaspberryPi3 B+ I see an error on console during adding of picture

[22-Sep-2019 00:54:40] WARNING: [pool www] child 20 said into stderr: "NOTICE: PHP message: PHP Warning:  fopen(/usr/share/nginx/html/api/../data/sha1.csv): failed to open stream: No such file or directory in /usr/share/nginx/html/inc/core.php on line 368"
[22-Sep-2019 00:54:40] WARNING: [pool www] child 20 said into stderr: "NOTICE: PHP message: PHP Warning:  fopen(/usr/share/nginx/html/api/../data/sha1.csv): failed to open stream: No such file or directory in /usr/share/nginx/html/inc/core.php on line 368"
2019/09/22 00:54:40 [error] 15#15: *1 FastCGI sent in stderr: "PHP message: PHP Warning:  fopen(/usr/share/nginx/html/api/../data/sha1.csv): failed to open stream: No such file or directory in /usr/share/nginx/html/inc/core.php on line 368PHP message: PHP Warning:  fopen(/usr/share/nginx/html/api/../data/sha1.csv): failed to open stream: No such file or directory in /usr/share/nginx/html/inc/core.php on line 368" while reading response header from upstream, client: 192.168.1.33, server: _, request: "POST /api/upload.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "pi:81", referrer: "http://pi:81/"

Strange but I not see this error if run same dockerfile on x86 host.
But I check, there no /usr/share/nginx/html/api/../data/sha1.csv file, and seems like /usr/share/nginx/html/inc/core.php on line 368 true tries to open it.

Originally created by @iav on GitHub (Sep 22, 2019). Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/97 I try to run your docker image on ARM Small Board Computers. There have to use non-x86 based images, I lightly change your dockerfile. When image runs on aRaspberryPi3 B+ I see an error on console during adding of picture ``` [22-Sep-2019 00:54:40] WARNING: [pool www] child 20 said into stderr: "NOTICE: PHP message: PHP Warning: fopen(/usr/share/nginx/html/api/../data/sha1.csv): failed to open stream: No such file or directory in /usr/share/nginx/html/inc/core.php on line 368" [22-Sep-2019 00:54:40] WARNING: [pool www] child 20 said into stderr: "NOTICE: PHP message: PHP Warning: fopen(/usr/share/nginx/html/api/../data/sha1.csv): failed to open stream: No such file or directory in /usr/share/nginx/html/inc/core.php on line 368" 2019/09/22 00:54:40 [error] 15#15: *1 FastCGI sent in stderr: "PHP message: PHP Warning: fopen(/usr/share/nginx/html/api/../data/sha1.csv): failed to open stream: No such file or directory in /usr/share/nginx/html/inc/core.php on line 368PHP message: PHP Warning: fopen(/usr/share/nginx/html/api/../data/sha1.csv): failed to open stream: No such file or directory in /usr/share/nginx/html/inc/core.php on line 368" while reading response header from upstream, client: 192.168.1.33, server: _, request: "POST /api/upload.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "pi:81", referrer: "http://pi:81/" ``` Strange but I not see this error if run same dockerfile on x86 host. But I check, there no `/usr/share/nginx/html/api/../data/sha1.csv` file, and seems like `/usr/share/nginx/html/inc/core.php` on line 368 true tries to open it.
kerem closed this issue 2026-02-27 12:43:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pictshare#388
No description provided.