To Reproduce
- selfhost gitlab with version 14.10
- Dokploy config gitlab source and action
Current vs. Expected behavior
current:
Dokploy web log:
query: 'update "gitlab" set "access_token" = $1, "refresh_token" = $2, "expires_at" = $3 where "gitlab"."gitlabId" = $4 returning "gitlabId", "gitlabUrl", "gitlabInternalUrl", "application_id", "redirect_uri", "secret", "access_token", "refresh_token", "group_name", "expires_at", "gitProviderId"',
params: [Array],
[cause]: Error [PostgresError]: invalid input syntax for type integer: "NaN"
at ignore-listed frames {
severity_local: 'ERROR',
severity: 'ERROR',
code: '22P02',
where: "unnamed portal parameter $3 = '...'",
file: 'numutils.c',
line: '617',
routine: 'pg_strtoint32_safe'
}
}
It seems like expires_at ($3) field value is NaN.
expect in Dokploy:
if (expires_at is NaN)
expires_at = 3600
and insert into gitlab table
Provide environment information
Which area(s) are affected? (Select all that apply)
Databases
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
No response
Will you send a PR to fix it?
No
To Reproduce
Current vs. Expected behavior
current:
Dokploy web log:
query: 'update "gitlab" set "access_token" = $1, "refresh_token" = $2, "expires_at" = $3 where "gitlab"."gitlabId" = $4 returning "gitlabId", "gitlabUrl", "gitlabInternalUrl", "application_id", "redirect_uri", "secret", "access_token", "refresh_token", "group_name", "expires_at", "gitProviderId"',
params: [Array],
[cause]: Error [PostgresError]: invalid input syntax for type integer: "NaN"
at ignore-listed frames {
severity_local: 'ERROR',
severity: 'ERROR',
code: '22P02',
where: "unnamed portal parameter $3 = '...'",
file: 'numutils.c',
line: '617',
routine: 'pg_strtoint32_safe'
}
}
It seems like expires_at ($3) field value is NaN.
expect in Dokploy:
Provide environment information
Which area(s) are affected? (Select all that apply)
Databases
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
No response
Will you send a PR to fix it?
No