upgrading labkey server to 16.3 version

LabKey Support Forum
upgrading labkey server to 16.3 version martyp  2017-02-07 09:13
Status: Closed
 
Hello,

It seems that at least one of your datasets is not in the expected state while this upgrade is taking place. I can't tell from the attached logs how it got in this state, possibly due to a server reboot while the upgrade was taking place.

Your best option to correct, if you have a server backup from prior to the upgrade, restore that backup and perform the upgrade again.

If you don't have a backup, you'll need to manually add the container column to that dataset in your Postgres db. You may need to do this in other datasets as well if they do not have it.

ALTER TABLE studydataset.c19d733_demographics ADD COLUMN container entityid

This upgrade is reorganizing the indexes on study datasets so it can take a while if you have a lot of datasets.