GoCD crash after upgrading from 20.4 to 20.7

75 views
Skip to first unread message

Luca G. Soave

unread,
Sep 4, 2020, 6:59:43 AM9/4/20
to go-cd

Hi all,

I upgraded GoCD from 20.4 to 20.7 following the official documentation here https://docs.gocd.org/current/installation/upgrade_to_gocd_20.5.0.html

The DB migration went well (PostgreSQL 9.6.10 on x86_64-redhat-linux-gnu) but when I start GoCD server it crash with the following error :
2020-09-04 12:26:39,838 WARN  [WrapperJarAppMain] AbstractHandler:96 - No Server set for ResourceHandler@31519c37{STOPPED}
2020-09-04 12:26:48,875 WARN  [WrapperJarAppMain] XmlWebApplicationContext:550 - Exception encountered during context initialization
...
...
2020-09-04 12:26:48,880 ERROR [WrapperJarAppMain] ContextLoader:350 - Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pluginInfosControllerV7' defined in URL
...
...

(please see the full log here: https://controlc.com/4419fb0d)

Any help ?

Thanks
Luca



Aravind SV

unread,
Sep 4, 2020, 10:08:12 AM9/4/20
to Luca G. Soave, go-cd

Hello Luca,

Something seems wrong in your installation. I see lines like this:

Failed to instantiate [com.thoughtworks.go.server.database.DatabaseStrategy]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed loading database provider [com.thoughtworks.go.postgresql.PostgresqlDatabase]

The class DatabaseStrategy was removed in 20.5.0 in PR #7646 and so it shouldn’t exist in 20.7.0. Maybe the GoCD server upgrade didn’t finish properly or something. I’d try with a normal zip “installer”, point it to your PG DB and see if it’s ok.

Cheers,
Aravind

Luca G. Soave

unread,
Sep 7, 2020, 4:45:36 AM9/7/20
to go-cd

Yes you are right,
I tried removing and reinstalling the packages and I got this error;

Running transaction
  Installing : go-server-20.7.0-12097.noarch                                                        1/1
Error unpacking rpm package go-server-20.7.0-12097.noarch
error: unpacking of archive failed on file /usr/share/go-server/lib/go.jar;5f55f255: cpio: read
  Verifying  : go-server-20.7.0-12097.noarch                                                        1/1

Failed:
  go-server.noarch 0:20.7.0-12097

Any suggestion?

Ketan Padegaonkar

unread,
Sep 7, 2020, 4:59:50 AM9/7/20
to go...@googlegroups.com
Looks like you downloaded a corrupt rpm file. Perhaps verify the checksum and redownload?

- Ketan



--
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 go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/8fd8d10f-bf9f-4af0-9440-9f1654df2de1n%40googlegroups.com.

Luca G. Soave

unread,
Sep 9, 2020, 4:36:38 AM9/9/20
to go...@googlegroups.com
Yes, fixed now.
Many thanks

Reply all
Reply to author
Forward
0 new messages