Fatal Error KeyError: 'ck_port_range' after upgrade

From: Mark McMillan <mark(at)nc-mcmillans(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Fatal Error KeyError: 'ck_port_range' after upgrade
Date: 2023-06-05 14:11:15
Message-ID: CAGk0fxhm-HiDAy13fm9AqMZoopYp_3aRwcojXcW_SJX1jWui7w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello, I upgraded to pgAdmin 4 v7 (from v3 I think) on Windows and I cannot
start pgAdmin any more, the fatal error says:

2023-06-05 09:51:58,190: ERROR pgadmin: Database migration failed

2023-06-05 09:51:58,194: ERROR pgadmin: Traceback (most recent call last):
File "C:\Users\Mark\AppData\Local\Programs\pgAdmin
4\v7\python\lib\site-packages\alembic\operations\batch.py", line 692, in
drop_constraint
const = self.named_constraints.pop(const.name)
KeyError: 'ck_port_range'

I cannot find any reference to this error in the mail list archives or
online. Any help would be appreciated....

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Katherine Mcmillan 2023-06-05 14:20:46 Re: Fatal Error KeyError: 'ck_port_range' after upgrade
Previous Message Laurenz Albe 2023-06-05 13:53:55 Re: Error while exporting large objects.