coollabsio/coolify

[Bug]: Server errors when creating and editing the Posthog service

pshemek opened this issue · 2 comments

Error Message and Logs

When adding a Posthog resource from the template:
Error: Attempt to read property "value" on null

When viewing an (incomplete, I guess) service from the project:
Error: Attempt to read property "value" on null (View: /var/www/html/resources/views/livewire/project/service/navbar.blade.php) (View: /var/www/html/resources/views/livewire/project/service/navbar.blade.php)

Steps to Reproduce

  1. Create a new project and try to add resource "Posthog"
  2. It produces the error message Attempt to read property "value" on null
  3. Posthog service - apparently corrupted - appears within the project, so try to delete it.
  4. However you cannot enter into it because the attempt produces an error: Attempt to read property "value" on null (View: /var/www/html/resources/views/livewire/project/service/navbar.blade.php) (View: /var/www/html/resources/views/livewire/project/service/navbar.blade.php)

Example Repository URL

No response

Coolify Version

v4.0.0-beta.369

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 22.04

Additional Information

I'm new and I'm playing with different services so I'd be glad to clean up after myself but I can't. :)

BTW, I was able to workaround UI issue by using CLI for services deletion.

docker exec -ti coolify bash -c "php artisan services:delete"

A fix for this issue has been implemented and will be available in an upcoming release. Thank you for your patience.