Skip to content

[Bug]: 500 error when selecting a service to add #9221

@rami-majdoub2

Description

@rami-majdoub2

Error Message and Logs

SQLSTATE[42703]: Undefined column: 7 ERROR: column "uuid" of relation "local_persistent_volumes" does not exist LINE 1: ...th", "host_path", "resource_id", "resource_type", "uuid", "u... ^ (Connection: pgsql, Host: coolify-db, Port: 5432, Database: coolify, SQL: insert into "local_persistent_volumes" ("name", "mount_path", "host_path", "resource_id", "resource_type", "uuid", "updated_at", "created_at") values (mongodb-configdb-ulsu79dadgcu8wkr3wimycz6, /data/configdb, ?, 18, App\Models\StandaloneMongodb, t7uyso1vyxgytqn7wp84r57m, 2026-03-28 09:08:55, 2026-03-28 09:08:55) returning "id")

Steps to Reproduce

  1. go to /projects
  2. select a project
  3. select environments (if you have multiple)
  4. click "+ New" button to add a new resource
  5. select any resource (selected mongodb for example)
  6. error shows up

Example Repository URL

No response

Coolify Version

v4.0.0-beta.470

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 24.04.3 LTS

Additional Information

/project/mwuyy73j2filqqqe9frqnwsg/environment/nebu2t1qw9ojcdwur0b5mujr/new?type=one-click-service-mailpit&destination=iwgkso0gsg4woscgk4k8o44o&server_id=0

Image

Errors adding some resources

Mongodb

resource created, can be deployed

Redis

resource created with issues, no password, can't change configs.
Error when saving, after adding a password

Cannot assign null to property App\Livewire\Project\Database\Redis\General::$redisPassword of type string

Mailpit

Error when deploying

SQLSTATE[42703]: Undefined column: 7 ERROR: column "uuid" of relation "local_persistent_volumes" does not exist LINE 1: ...e", "resource_id", "resource_type", "mount_path", "uuid", "u... ^ (Connection: pgsql, Host: coolify-db, Port: 5432, Database: coolify, SQL: insert into "local_persistent_volumes" ("name", "resource_id", "resource_type", "mount_path", "uuid", "updated_at", "created_at") values (fqyo89ygbqwwo1odrvkmof17_mailpit-data, 81, App\Models\ServiceApplication, /data, v12lq2bz6pic985yhfnpuv02, 2026-03-28 09:19:31, 2026-03-28 09:19:31) returning "id")

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔍 TriageIssues that need assessment and prioritization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions