-
-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Could not set timer: Invalid argument (22)" when trying to run laravel docker image with non-root #713
Comments
This is the relevant section of my dockerfile:
This is the relevant section of the services:
fp:
image: me/image
ports:
# laravel
- '8002:443'
environment:
PORT: 81 # eventually I want to control the port also via ENV as heroku requires this
user: '33:33'
networks:
- app-network Yes, I know running it with an external provided uid is uncommon, but I want to deploy on heroku and they run their images with arbitrary uids, so this is a first step to getting there. |
What are you passing to I'm just trying to rule out configuration errors, as this could be an actual issue in php-src that may need to be fixed. edit to add: we are using a multi-threaded version of timers that isn't used in fpm/apache for setting max execution time. That's why I'm curious what you are passing there. It might be an edge case, or an untested code path, or something, so being able to reproduce it, so we can create a test upstream in PHP, and a patch PR would be super helpful. |
My bet is that using |
Possibly |
$ uname -r
6.5.0-15-generic when I run the container without the
I am not passing anything specific in there (as this is statatmic code), but when I debug, I see that @withinboredom I tried adding
to the dockerfile but that caused the container to stop immediately (note that I dont know how to properly use |
-1 is in fact an invalid number to pass to Either way, |
Looks like it is already merged: statamic/cms#9297 Are your dependencies up to date? |
Todo:
|
https://externals.io/message/123108 to discuss proper behavior |
Closing in favor of externals.io/message/123108 and php/php-src#13942 as it's a PHP bug, not related to FrankenPHP. |
I am using
which is approx 1 month old, the referenced fix was merged in January, so I would have thought that this should have been fixed already. So now I only need to figure out what else is wrong in my actual application :) |
What happened?
I am trying to serve a laravel statamic application via the non-root version of the docker container
When accessing the admin panel I get the following error
Build Type
Docker (Debian Bookworm)
Worker Mode
No
Operating System
GNU/Linux
CPU Architecture
Apple Silicon
PHP configuration
The text was updated successfully, but these errors were encountered: