Migration number 40 is for version 3.2.3, not version 3.2.2. Looks like someone has previously installed version 3.2.3 and pointed it at your database.
See: https://github.com/puppetlabs/puppetdb/blob/3.2.3/src/puppetlabs/puppetdb/scf/migrate.clj#L1553 versus https://github.com/puppetlabs/puppetdb/blob/3.2.2/src/puppetlabs/puppetdb/scf/migrate.clj#L1534 So ... why not just use 3.2.3 anyway? Since it looks like the migration has taken place, and its the latest release. ken. On Wed, Feb 24, 2016 at 10:40 AM, Fabrice Bacchella <fabrice.bacche...@orange.fr> wrote: > I'm running puppetdb on ScientificLinux 6.7 (a RHEL clone). > > I upgraded from puppetdb-3.1.0 to puppetdb-3.2.2, but know I'm getting in the > log : > > 2016-02-24 11:22:58,585 ERROR [p.t.internal] Error during service start!!! > java.lang.IllegalStateException: Your PuppetDB database contains a schema > migration numbered 40, but this version of PuppetDB does not recognize that > version. > at > puppetlabs.puppetdb.scf.migrate$migrate_BANG_.invoke(migrate.clj:1601) > ~[na:na] > at > puppetlabs.puppetdb.cli.services$initialize_schema.invoke(services.clj:202) > ~[na:na] > at > puppetlabs.puppetdb.cli.services$init_with_db.invoke(services.clj:220) > ~[na:na] > > I'm using postgresql for the backend. > > Any hint about the migration number 40 ? > > -- > 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/5FF56C65-9335-41EC-A81E-EFA27E4BA3A4%40orange.fr. > For more options, visit https://groups.google.com/d/optout. -- 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/CAE4bNTkQ7ygsrRQ3amwXv_WKBd1SAckQc%2BGUbhMunC3uysDrVQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.