Raw SQL scripts for upgrading


#1

Hello,

I have recently inherited several omeka sites.
They range in version: 1.5, 2.1.4, 2.4, 2.5.
After some trial & error in attempting to upgrade from 1.5 to 2.5,
I have discovered an upgrade path with respect to the database:
1.5 --> 2.0 --> 2.4.1 --> 2.5
Are raw MySQL scripts available to perform the database upgrades, rather than using the dashboard?
Upgrading these sites would go much faster if I could run database upgrade scripts successively,
and then simply install the newest version of the software.

VR,

-Joe


#2

Unfortunately there’s no such thing as raw SQL scripts for the migrations: some are simple and could be simple SQL scripts, but others use PHP code and other logic to do their work.

You should be able to go all the way from 1.5 to the current version, and situations where you can’t are a bug. There’s a pending fix for the last step you’re having to do (2.4.1 -> 2.5) currently in testing.