I saw this solution late and updated the system to ubuntu 22.04.
Everything worked, but I do not see the studies that were before the system update. New studies are loaded correctly. The database remains the same with the name dicomdb and the size is 4TB.
How can I make orthanc see the previous studies?
Postgresql 12.
If you don’t see any studies, that’s because you are not connected to the same DB as in the previous version. If, for some reason, your postgreSQL config is missing, Orthanc might have started with an empty SQLite.