[GH-ISSUE #81] Latest docker image, upload image operation returns 500 error #58

Closed
opened 2026-02-25 23:40:32 +03:00 by kerem · 2 comments
Owner

Originally created by @nelsondspy on GitHub (Jan 2, 2019).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/81

In /var/log/php-fpm/fpm-error.log:

02-Jan-2019 20:41:29] WARNING: [pool www] child 238 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 362"
[02-Jan-2019 20:41:29] WARNING: [pool www] child 238 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function exif_imagetype() in /usr/share/nginx/html/content-controllers/image/image.controller.php:18"
[02-Jan-2019 20:41:29] WARNING: [pool www] child 238 said into stderr: "Stack trace:"
[02-Jan-2019 20:41:29] WARNING: [pool www] child 238 said into stderr: "#0 /usr/share/nginx/html/api/upload.php(43): ImageController->handleUpload('/tmp/phpHihaJh', false)"
[02-Jan-2019 20:41:29] WARNING: [pool www] child 238 said into stderr: "#1 {main}"
[02-Jan-2019 20:41:29] WARNING: [pool www] child 238 said into stderr: "  thrown in /usr/share/nginx/html/content-controllers/image/image.controller.php on line 18"

Originally created by @nelsondspy on GitHub (Jan 2, 2019). Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/81 In **/var/log/php-fpm/fpm-error.log**: ``` 02-Jan-2019 20:41:29] WARNING: [pool www] child 238 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 362" [02-Jan-2019 20:41:29] WARNING: [pool www] child 238 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught Error: Call to undefined function exif_imagetype() in /usr/share/nginx/html/content-controllers/image/image.controller.php:18" [02-Jan-2019 20:41:29] WARNING: [pool www] child 238 said into stderr: "Stack trace:" [02-Jan-2019 20:41:29] WARNING: [pool www] child 238 said into stderr: "#0 /usr/share/nginx/html/api/upload.php(43): ImageController->handleUpload('/tmp/phpHihaJh', false)" [02-Jan-2019 20:41:29] WARNING: [pool www] child 238 said into stderr: "#1 {main}" [02-Jan-2019 20:41:29] WARNING: [pool www] child 238 said into stderr: " thrown in /usr/share/nginx/html/content-controllers/image/image.controller.php on line 18" ```
kerem closed this issue 2026-02-25 23:40:32 +03:00
Author
Owner

@geek-at commented on GitHub (Jan 2, 2019):

are you building the image yourself or are you using the one from docker hub?

Because the official install on pictshare.net is running directly from the docker container so I'm pretty sure it works

<!-- gh-comment-id:451002596 --> @geek-at commented on GitHub (Jan 2, 2019): are you building the image yourself or are you using the one from docker hub? Because the official install on pictshare.net is running directly from the docker container so I'm pretty sure it works
Author
Owner

@nelsondspy commented on GitHub (Jan 7, 2019):

I get the new image without cache, and work fine.

<!-- gh-comment-id:451914238 --> @nelsondspy commented on GitHub (Jan 7, 2019): I get the new image without cache, and work fine.
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#58
No description provided.