-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
pm2-runtime: env spawn E2BIG #4725
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sharing error logs : -
|
I forgot to share my twix, rewrite the variable env only with my usage. The problem is that gitlab have too much argument in args. I have reset all variable env just for this command with
Work fine |
@dmpvost pm2-runtime will not be available if you are doing env -i , how are you managing this ? |
Like that, I just copy paste my case, some variable are maybe useless for you
|
great thanks a lot @dmpvost , I think that PATH env var is important |
What's going wrong?
When I start my app with pm2-runtime in gitlab CI.
The current env is inherint from gitlab env.
And it appear that it's too big.
PM2 error: Trace: Error: spawn E2BIG
The command filter_env is not available for pm2-runtime
How could we reproduce this issue?
Try to start pm2-runtime under GitlabCI
Supporting information
keymetrics/docker-pm2#81
The text was updated successfully, but these errors were encountered: