Hi,
I want to post my solution in case it works for anyone. I had this same problem and I was able to solve it, this happened after upgrading from version 3.x to 6.3.
I manually added a value for site table.
I generated a new UUID: d94cb9fa-ce34-4225-8e0d-96c08e599b3f
insert into dspaceobject (uuid) values ('d94cb9fa-ce34-4225-8e0d-96c08e599b3f');
insert into handle (handle_id, handle, resource_type_id, resource_id) values(3329, '123456789/0',5, 'd94cb9fa-ce34-4225-8e0d-96c08e599b3f');
insert into site (uuid) values ('d94cb9fa-ce34-4225-8e0d-96c08e599b3f');
Regards
Hernán