Unable to login to Management Console after patching from 4.16.05 to 4.17.01

Not applicable

Greetings,

We have upgraded from 4.16.05 to 4.17.01 On Premise version. After the upgrade some of the organisation admins unable to login to management console and even the forgot password link is not working. We also tried to remove used and re-add but notification e-Mails are not being sent.

Following error logged in the edge-ui log.

[ERROR] [02/28/2017 19:38:43.946] [application-akka.actor.default-dispatcher-84] [ActorSystem(application)] Uncaught fatal error from thread [application-akka.actor.default-dispatcher-84] shutting down ActorSystem [application] java.lang.NoClassDefFoundError: Could not initialize class services.ConfigService$Mail$SMTP at services.Mails.sendMail(Mails.java:92) at services.Mails.sendMailUserAddedExisting(Mails.java:76) at services.EnterpriseUsersService$7.invoke(EnterpriseUsersService.java:313) at services.EnterpriseUsersService$7.invoke(EnterpriseUsersService.java:308) at play.core.j.FPromiseHelper$anonfun$onRedeem$1.applyOrElse(FPromiseHelper.scala:100) at scala.concurrent.Future$anonfun$onSuccess$1.apply(Future.scala:117) at scala.concurrent.Future$anonfun$onSuccess$1.apply(Future.scala:115) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) at play.core.j.HttpExecutionContext$anon$2.run(HttpExecutionContext.scala:40) at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

1 2 562
2 REPLIES 2

It could be relate to password expiry.Check below link if it is applicable.

https://community.apigee.com/articles/21617/have-you-installed-opdk-versions-150x-1601-1605-16.html

Email issue could be separate.Check SMTP is configured correctly.

http://docs.apigee.com/private-cloud/latest/configuring-edge-smtp-server

Not applicable

Greetings,

Thanks for the reply. We found the issue. It was the SMTP settings under /apigee/edge-ui-4.17.01-0.0.3792/conf/apigee.conf file which were being replaced by/apigee/edge-ui/token/default.properties file so had to change the default.properties file and then restart the edge-ui to fix the issue.

Caused by: play.api.Configuration$$anon$1: Configuration error[/opt/apigee/edge-ui-4.17.01-0.0.3792/conf/apigee.conf: 21: Configuration key 'mail.smtp.credential' is set to null but expected STRING]

at play.api.Configuration$.configError(Configuration.scala:178) ~[com.typesafe.play.play_2.11-2.4.8.jar:2.4.8]

at play.api.Configuration.reportError(Configuration.scala:829) ~[com.typesafe.play.play_2.11-2.4.8.jar:2.4.8]

at play.api.Configuration.readValue(Configuration.scala:217) ~[com.typesafe.play.play_2.11-2.4.8.jar:2.4.8]

at play.api.Configuration.getString(Configuration.scala:237) ~[com.typesafe.play.play_2.11-2.4.8.jar:2.4.8]

at play.Configuration.getString(Configuration.java:113) ~[com.typesafe.play.play_2.11-2.4.8.jar:2.4.8]

at services.ConfigService.getString(ConfigService.java:179) ~[enterpriseui.enterpriseui-4.17.01.00-0b21e01-20170109-213339-sans-externalized.jar:na]

at services.ConfigService$Mail$SMTP.<clinit>(ConfigService.java:135) ~[enterpriseui.enterpriseui-4.17.01.00-0b21e01-20170109-213339-sans-externalized.jar:na]

at services.Mails.sendMail(Mails.java:92) ~[enterpriseui.enterpriseui-4.17.01.00-0b21e01-20170109-213339-sans-externalized.jar:na]

at services.Mails.sendMailPasswordReset(Mails.java:87) ~[enterpriseui.enterpriseui-4.17.01.00-0b21e01-20170109-213339-sans-externalized.jar:na]

at controllers.NonSecure$12.apply(NonSecure.java:852) ~[enterpriseui.enterpriseui-4.17.01.00-0b21e01-20170109-213339-sans-externalized.jar:na]

Caused by: com.typesafe.config.ConfigException$Null: /opt/apigee/edge-ui-4.17.01-0.0.3792/conf/apigee.conf: 21: Configuration key 'mail.smtp.credential' is set to null but expected STRING

at com.typesafe.config.impl.SimpleConfig.throwIfNull(SimpleConfig.java:138) ~[com.typesafe.config-1.3.0.jar:na]

at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:184) ~[com.typesafe.config-1.3.0.jar:na]

at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:189) ~[com.typesafe.config-1.3.0.jar:na]

at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:246) ~[com.typesafe.config-1.3.0.jar:na]

at play.api.Configuration$$anonfun$getString$1.apply(Configuration.scala:237) ~[com.typesafe.play.play_2.11-2.4.8.jar:2.4.8]

at play.api.Configuration$$anonfun$getString$1.apply(Configuration.scala:237) ~[com.typesafe.play.play_2.11-2.4.8.jar:2.4.8]

at play.api.Configuration.readValue(Configuration.scala:215) ~[com.typesafe.play.play_2.11-2.4.8.jar:2.4.8]

at play.api.Configuration.getString(Configuration.scala:237) ~[com.typesafe.play.play_2.11-2.4.8.jar:2.4.8]

at play.Configuration.getString(Configuration.java:113) ~[com.typesafe.play.play_2.11-2.4.8.jar:2.4.8]

at services.ConfigService.getString(ConfigService.java:179) ~[enterpriseui.enterpriseui-4.17.01.00-0b21e01-20170109-213339-sans-externalized.jar:na]