Error while installing new Edge Experience 4.19.01

We are trying to install New Edge Experience (4.19.01). There is no clear error in the setup log, but the edge-management-ui is unable to be started. Please see error log below. Could someone please help ?

2020/01/08 20:47:15 Read config file: /opt/apigee/edge-management-ui/conf/routes.yaml

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4e0677]

0 8 917
8 REPLIES 8

Hi William,

Did you get the solution for the same as we are facing the same issue while installing

new Edge Experience 4.19.06

Thanks,

Mohammad Jafar Raza

I am getting a SEGV on the 4.19.06 new edge-management-ui after startup also. Has anyone resolved this issue?

2020/07/03 00:10:07 cwc.searchRoot: /apps/opt/apigee/edge-management-ui-4.19.06-0.0.20012
2020/07/03 00:10:07 Read config file: /apps/opt/apigee/edge-management-ui-4.19.06-0.0.20012/conf/uebe.yaml
2020/07/03 00:10:07 Read config file: /apps/opt/apigee/edge-management-ui-4.19.06-0.0.20012/conf/alm.yaml
2020/07/03 00:10:07 Read config file: /apps/opt/apigee/edge-management-ui-4.19.06-0.0.20012/conf/routes.yaml
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4e2837]

goroutine 1 [running]:
log.(*Logger).Output(0x0, 0x2, 0xc0002fe0a0, 0x96, 0x0, 0x0)
/usr/local/go/src/log/log.go:153 +0x47
log.(*Logger).Println(0x0, 0xc00021dce8, 0x1, 0x1)
/usr/local/go/src/log/log.go:188 +0x6a
edge-internal/unified-experience/ue-be/logging.Error(0xabffe0, 0x7eedce, 0x25, 0xc00021dd40, 0x1, 0x1)
/tmpfs/src/git/ue-be/logging/logging.go:104 +0xe4
edge-internal/unified-experience/ue-be/alm.SetPublicKeyCache()
/tmpfs/src/git/ue-be/alm/routes.go:38 +0x97
edge-internal/unified-experience/ue-be/alm.init.0()
/tmpfs/src/git/ue-be/alm/routes.go:74 +0x327

I was missing the edge-management-ui-static link. Recreated the link ran the setup again and it runs fine now.

edge-management-ui-static -> edge-management-ui-static-4.19.06-0.0.20015

/opt/apigee/apigee-setup/bin/setup.sh -p ue -f configFileNewEdgeUI

We are upgrading from 4.19.01 to 4.50.00 and also upgrading ClassicEdge UI to NewEdge UI.

How did you Recreated the link ?

your answer: Recreated the link ran the setup again and it runs fine now

Hi Neil,

can you share the steps that you followed We are facing the same issue and created the symbolic link as you mentioned . But for us it is still not working

hi Pranjali,

Is the apigee-sso installed on the same server as the new Edge UI? It needs to be on a different server.

Hi,

Has anyone resolved the above issue? Noticing same error even thought static link is available.

Version: 4.19.06

Can you please help us or provide any suggestions on below error:

goroutine 1 [running]: log.(*Logger).Output(0x0, 0x2, 0xc0002d80a0, 0x96, 0x0, 0x0) /usr/local/go/src/log/log.go:153 +0x47 log.(*Logger).Println(0x0, 0xc00021fce8, 0x1, 0x1) /usr/local/go/src/log/log.go:188 +0x6a edge-internal/unified-experience/ue-be/logging.Error(0xabffe0, 0x7eedce, 0x25, 0xc00021fd40, 0x1, 0x1) /tmpfs/src/git/ue-be/logging/logging.go:104 +0xe4 edge-internal/unified-experience/ue-be/alm.SetPublicKeyCache() /tmpfs/src/git/ue-be/alm/routes.go:38 +0x97 edge-internal/unified-experience/ue-be/alm.init.0() /tmpfs/src/git/ue-be/alm/routes.go:74 +0x327 apigee-configutil: edge-management-ui: # OK # in pid 20648, pgrp=20550 -> 20648 2020/10/14 11:52:53 cwc.searchRoot: /opt/apigee/edge-management-ui-4.19.06-0.0.20012 2020/10/14 11:52:53 Read config file: /opt/apigee/edge-management-ui-4.19.06-0.0.20012/conf/uebe.yaml 2020/10/14 11:52:53 Read config file: /opt/apigee/edge-management-ui-4.19.06-0.0.20012/conf/alm.yaml 2020/10/14 11:52:53 Read config file: /opt/apigee/edge-management-ui-4.19.06-0.0.20012/conf/routes.yaml panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4e2837] goroutine 1 [running]: log.(*Logger).Output(0x0, 0x2, 0xc0002f60a0, 0x97, 0x0, 0x0) /usr/local/go/src/log/log.go:153 +0x47 log.(*Logger).Println(0x0, 0xc00021fce8, 0x1, 0x1) /usr/local/go/src/log/log.go:188 +0x6a edge-internal/unified-experience/ue-be/logging.Error(0xabffe0, 0x7eedce, 0x25, 0xc00021fd40, 0x1, 0x1) /tmpfs/src/git/ue-be/logging/logging.go:104 +0xe4 edge-internal/unified-experience/ue-be/alm.SetPublicKeyCache() /tmpfs/src/git/ue-be/alm/routes.go:38 +0x97 edge-internal/unified-experience/ue-be/alm.init.0() /tmpfs/src/git/ue-be/alm/routes.go:74 +0x327

Make sure new Edge UI install is on a separate server not same server as old Edge UI. Also try a complete uninstall and remove directories then install again.