Issue about Creating New Device Profile

Hi everyone,

When I try to create a new device profile, I get an error message saying “null value in column “rx1_delay” of relation “device_profile” violates not-null constraint”. It comes even though “Device Supports OTAA” is selected. Even if I unselect the “Device Supports OTAA” option and enter the Rx1_delay value, I continue to receive the error. Afterwards, I tried with endpoint, but I kept getting the same error.

Is there anyone who has the same problem or knows the cause?

Thanks for your help.

image (2)

It looks like you have upgraded to the latest version, but then rolled back (or one of your instances hasn’t been updated). THe rx1_delay field was added in the latest release and is set. However, when you roll back to an older version without rolling back the introduced database changes, you will get this error because ChirpStack will not set this field and PostrgreSQL will complain.