Lychee-Docker
Lychee-Docker copied to clipboard
unable to fork errors
I recently updated an older version of lychee (4.0.6 I think) to 4.7.0, using the lycheeorg/lychee:v4.7.0
docker image. It seems to run, but when I try to upload a photo, I get an error: `exec(): Unable to fork [command -v exiftool].

I tried to run the "Diagnostics" feature, but I get a similar error when I click the link: exec(): Unable to fork [command -v git]
. The "Logs" link shows:
2023-02-21 00:49:53 UTC -- error -- Illuminate\Foundation\Bootstrap\HandleExceptions::Illuminate\Foundation\Bootstrap\{closure} -- 38 -- exec(): Unable to fork [command -v git]
2023-02-21 00:49:53 UTC -- error -- App\Actions\Diagnostics\Pipes\Checks\UpdatableCheck::assertUpdatability -- 70 -- exec(): Unable to fork [command -v git]; caused by
2023-02-21 00:49:47 UTC -- error -- Illuminate\Foundation\Bootstrap\HandleExceptions::Illuminate\Foundation\Bootstrap\{closure} -- 38 -- exec(): Unable to fork [command -v git]
2023-02-21 00:49:47 UTC -- error -- App\Actions\Diagnostics\Pipes\Checks\UpdatableCheck::assertUpdatability -- 70 -- exec(): Unable to fork [command -v git]; caused by
2023-02-21 00:40:04 UTC -- error -- App\Metadata\Extractor::createFromFile -- 98 -- exec(): Unable to fork [command -v exiftool]; caused by
Where are the logs stored on disk? I'd love to know what follows "caused by". :)
If anyone has suggestions on how to remedy or debug this situation, I would love to hear it. Thanks in advance!
I can login to the lychee container, switch to the lychee user, and run the exiftool command without problems.
root@dcdb038d19c1:/var/www/html/Lychee# su - lychee
su: warning: cannot change directory to /home/lychee: No such file or directory
lychee@dcdb038d19c1:/var/www/html/Lychee$ exiftool -h
Syntax: exiftool [OPTIONS] FILE
Consult the exiftool documentation for a full list of options.
Why is the web server unable to fork it?
I tried switching to the lycheeorg/lychee:dev
image, and got the same result.