coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Preview deployments are failing with "Argument #2 ($context) must be of type array"

Open Rei-x opened this issue 2 months ago • 10 comments

Description

Preview deployments no longer work, I checked it on two independent coolify instances and two different apps (in both of them it worked earlier). Normal deployments work as usual.

Minimal Reproduction (if possible, example repository)

Try to deploy pull request from here: https://github.com/Rei-x/portfolio

Exception or Error

[2024-Apr-21 10:24:37.696170] If you need further customization, please check the documentation of Nixpacks: https://nixpacks.com/docs/providers/node 
[2024-Apr-21 10:24:38.499767] Oops something is not okay, are you okay? 😢
[2024-Apr-21 10:24:38.501409] Illuminate\Log\LogManager::info(): Argument #2 ($context) must be of type array, string given, called in /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 355
[2024-Apr-21 10:24:38.504878] Deployment failed. Removing the new version of your application.

Version

v4.0.0-beta.265

Rei-x avatar Apr 21 '24 18:04 Rei-x

Got the same error with Preview Deployments for Resource that deploys without issues

ton77v avatar Apr 22 '24 02:04 ton77v

This is a blocker fo us as well. Any ETA about this?

sscarduzio avatar Apr 22 '24 08:04 sscarduzio

Same error here as well.

3alpha avatar Apr 22 '24 11:04 3alpha

+1 same error here

ch4r-ch4r avatar Apr 23 '24 01:04 ch4r-ch4r

Same issue here, it seems to have been introduced in v4.0.0-beta.265 or v4.0.0-beta.264 as it was working fine until these

ck-euan avatar Apr 23 '24 08:04 ck-euan

after this is fixed I will definitely disable the auto-update feature. Not sure even how to downgrade?

sscarduzio avatar Apr 23 '24 10:04 sscarduzio

+1 same is happening to me. Anyone know how to downgrade?

P3ntest avatar Apr 23 '24 12:04 P3ntest

+1 same problem

Lopfi avatar Apr 23 '24 12:04 Lopfi

You can run this on your coolify server to temporarily fix this issue (it will work until your container is removed)

docker exec -it coolify /bin/bash -c "curl https://patch-diff.githubusercontent.com/raw/coollabsio/coolify/pull/2056.patch | git apply -v"

It will apply a patch from this pull request: https://github.com/coollabsio/coolify/pull/2056

Rei-x avatar Apr 23 '24 15:04 Rei-x

Oh man! Just came across this issue!

mcnaveen avatar Apr 23 '24 17:04 mcnaveen

We purchased the Cloud version but this is a main blocker for our use case. Can we fix this on priority? Thanks.

imjiten avatar Apr 24 '24 11:04 imjiten

We purchased the Cloud version but this is a main blocker for our use case. Can we fix this on priority? Thanks.

We are in the same situation. But zero response so far: tried here on GH, later in Discord. It's been 3 days without acknowledgement, sadly 😞

//cc @andrasbacsai 🏓

sscarduzio avatar Apr 24 '24 12:04 sscarduzio

Sorry for the late answer. Fix is coming soon.

andrasbacsai avatar Apr 24 '24 12:04 andrasbacsai

Released.

andrasbacsai avatar Apr 24 '24 12:04 andrasbacsai