**Describe the bug**
When the server starts with the geom module loaded, but the database had been created by a server where the geom module was not loaded, upgrade code is run, but that upgrade code produces an error.

**To Reproduce**
dnf install MonetDB
mserver5 --dbpath=...
# stop mserver
dnf install MonetDB-geom-MonetDB5
mserver5 --dbpath=...

Look at mserver5 output and note the errors.

**Expected behavior**
No errors.

**Software versions**
 - Dec2023-SP3
mserver reports errors when starting if geom module is enabled but database was created without
This is a GitHub Issue
repo:MonetDB
owner:MonetDB
Title : mserver reports errors when starting if geom module is enabled but database was created without
Issue date:

--- start body ---
**Describe the bug**
When the server starts with the geom module loaded, but the database had been created by a server where the geom module was not loaded, upgrade code is run, but that upgrade code produces an error.

**To Reproduce**
dnf install MonetDB
mserver5 --dbpath=...
# stop mserver
dnf install MonetDB-geom-MonetDB5
mserver5 --dbpath=...

Look at mserver5 output and note the errors.

**Expected behavior**
No errors.

**Software versions**
 - Dec2023-SP3
--- end body ---
