Fixed this with some help from Anne, also troubleshooting packages myself.
Some Rocky Linux dependency hell fixes:
#Disable system postgresql module and use postgres15 client
sudo dnf -qy module disable postgresql
# Lack of this package prevents postgres15 from installing successfully
dnf --enablerepo=powertools install perl-IPC-Run -y
# psql - Was missing this table in the current rocky RPMs please fix
CREATE TABLE public.did_client_log (
id integer NOT NULL,
did character varying(50) NOT NULL,
client_id integer,
assigned_on timestamp with time zone,
assigned_by integer,
released_on timestamp with time zone DEFAULT now(),
released_by integer,
assign_method smallint,
release_method smallint,
created_on timestamp with time zone DEFAULT now(),
sell_billing_plan_id integer,
egress_res_id integer,
ingress_res_id integer,
start_date timestamp with time zone,
buy_billing_plan_id integer
);
# But then this problem occurs... ERROR Null Value In Column "Id" Of Relation "DidClientLog" Violates Not-Null Constraint Detail: Failing Row Contains (Null,
17028880001, 2, 2023-06-23 09:33:58.065066-05, 1, Null, Null, 0, Null, 2023-06-23 09:33:58.122461-05, 1, Null, 1, Null, 2). with = passed in , does not exist in the Database
# Some help from ChatGPT our lord and savior came up with this fix:
class4_dnl=# ALTER TABLE public.did_client_log DROP COLUMN id;
ALTER TABLE
class4_dnl=# ALTER TABLE public.did_client_log
class4_dnl-# ADD COLUMN id integer DEFAULT nextval('public.did_client_log_id_seq') NOT NULL;
ALTER TABLE
NOW,
I found a different UI bug where in normal DID repository listing you can not un-reserve a DID (uncheck and save does nothing). You have to go to DID Vendor first, and click the View DIDs button which takes you to
https://switch-host/#/origination/did_repository_list/by_vendor/1 and on this page the repo checkbox works right. Can you please fix this in the code on the regular DID repo page.