I upgraded via the Puppet repos from puppetdb-6.9.1-1.el7.noarch
(Installed 3/12) to puppetdb-6.10.0-1.el7.noarch today, and restarting
puppetdb fails with this error:

Your PuppetDB database contains a schema migration numbered 1, but
this version of PuppetDB does not recognize that version.

Sure enough (trimmed):

puppetdb=> SELECT * FROM schema_migrations;
 version |          time
---------+-------------------------
       1 | 2015-02-27 14:48:32.445
       2 | 2015-02-27 14:48:32.452
...
      72 | 2020-02-14 15:16:19.01
      73 | 2020-02-14 15:16:20.313
(73 rows)

Looking in migrate.clj, though I'm not familiar with the language, it
seems that between the commits for 6.9.1 and 6.10.0 some things were
changed including the addition of a migration number '00' for testing
for the presence of the table.  But the rest of the numbers only start
at 28.  It almost seems as if adding the 00 but not 01..27 has caused
the test for unknown migrations to trigger, but again I'm not familiar
with the language so just trying to see what's going on.

-- 
Steve Huston - W2SRH - Unix Sysadmin, PICSciE/CSES & Astrophysical Sci
  Princeton University  |    ICBM Address: 40.346344   -74.652242
    345 Lewis Library   |"On my ship, the Rocinante, wheeling through
  Princeton, NJ   08544 | the galaxies; headed for the heart of Cygnus,
    (267) 793-0852      | headlong into mystery."  -Rush, 'Cygnus X-1'

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CANnpg5SZOej-94FrJiJZx4BGoS1%3DUabKcr6qpFjPLFZvkF-aoA%40mail.gmail.com.

Reply via email to