--- b/updatedatabase.pl 2015-08-08 18:27:00.000000000 +0200 +++ a/updatedatabase.pl 2015-08-11 14:58:36.489928633 +0200 @@ -74,6 +74,10 @@ # Record the version we are coming from my $original_version = C4::Context->preference("Version"); +if ($original_version) { + print "Original version not found. Are there any data in the database? It seems like an empty instance.\n"; + exit; +} # Deal with virtualshelves my $DBversion = "3.00.00.001";