Hello Jonathan,

> but with my limited knowledge of Java, I don't know what to make of it.

I was looking for the rest of the error message, which you showed in the 
pastebin. Thanks. Unfortunately, the stack-trace isn't too helpful. I tried 
running the migration tool on a running GoCD server and it was fine -- nothing 
happened.

I would try with DB and config in a fresh GoCD server:

1.  Get a fresh copy of the GoCD server (maybe the zip) of your version from 
<https://gocd.github.io/gocd-plugin-info/gocd-releases>

2.  Unzip it. Copy over these files from the old / broken server instance to 
the new one:

    -   ./db/h2db/cruise.h2.db
    -   ./config/cruise-config.xml
    -   ./config/cipher.aes

3.  Start the new server. If it starts successfully, then maybe there is an 
issue with something like the h2deltas folder. This *shouldn't* be the case 
unless you updated your GoCD server to 20.5.0.

4.  If it doesn't start, you might need to recreate that DB using [these 
instructions](<https://gist.github.com/arvindsv/c7934bee26ce1c47e9d24f0a493d3c87>)
 and try steps 1 to 3 again to see if it helps. If it does, it might mean that 
your DB has somehow got corrupted. I'd say it's very unlikely to be anything to 
do with the migrator -- it seemed to be harmless when I tried it. But, I cannot 
say for sure.

If none of these work ... I'm out of ideas. :(

Regards,
Aravind

PS: Please try all these on a copy in a separate directory. Not on the broken 
server.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/m2lezcqa8m.fsf%40arvindsv.com.

Reply via email to