Page 1 of 1

Downgrade to FOSS License error

Posted: Thu Jul 30, 2020 9:12 am
by jerryboi
Hi, On my CentOS7 system I had ZCS8.8 Network Edition installed (zcs-NETWORK-8.8.15_GA_3869.RHEL7_64.20190918004220) with a trial license. The license expired and I decided to downgrade to FOSS (zcs-8.8.15_GA_3869.RHEL7_64.20190918004220).
At first sight it went well, it was all dandy on 'zmcontrol status' but zmprov -v gave me this:

Code: Select all

[zimbra@mail ~]$ zmprov -v
ERROR: service.PROXY_ERROR (error while proxying request to target server: Service Unavailable)
com.zimbra.common.service.ServiceException: error while proxying request to target server: Service Unavailable
ExceptionId:main:1596099132342:8b1125887d07974c
Code:service.PROXY_ERROR Arg:(url, STR, "https://localhost:7071/service/admin/soap/AuthRequest")
        at com.zimbra.common.service.ServiceException.PROXY_ERROR(ServiceException.java:379)
        at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:326)
        at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:196)
        at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:189)
        at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:447)
        at com.zimbra.common.soap.SoapTransport.invokeWithoutSession(SoapTransport.java:432)
        at com.zimbra.cs.account.soap.SoapProvisioning.invokeRequest(SoapProvisioning.java:623)
        at com.zimbra.cs.account.soap.SoapProvisioning.invoke(SoapProvisioning.java:668)
        at com.zimbra.cs.account.soap.SoapProvisioning.soapAdminAuthenticate(SoapProvisioning.java:558)
        at com.zimbra.cs.account.soap.SoapProvisioning.soapZimbraAdminAuthenticate(SoapProvisioning.java:587)
        at com.zimbra.cs.account.ProvUtil.initProvisioning(ProvUtil.java:1045)
        at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java:4122)
Neither can I log in to the frontend: "A network service error has occurred." and can't access admin page on port 7071 (console says: "HTTP ERROR 503 / Problem accessing /service/admin/soap/GetDomainInfoRequest. Reason: Service Unavailable") This is from the mailbox.log:

Code: Select all

2020-07-30 08:29:37,560 ERROR [qtp1143371233-56:https://142.XX.XX.106/service/extension/nginx-lookup] [] misc - Unable to get domain config 
com.zimbra.common.service.ServiceException: error while proxying request to target server: Service Unavailable
ExceptionId:qtp1143371233-56:https://142.XX.XX.106/service/extension/nginx-lookup:1596097777559:2366e7ac75d9922a
Code:service.PROXY_ERROR Arg:(url, STR, "https://localhost:7071/service/admin/soap/AuthRequest")
        at com.zimbra.common.service.ServiceException.PROXY_ERROR(ServiceException.java:379)
        at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:326)
        at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:196)
        at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:189)
which is preceded by

Code: Select all

2020-07-30 08:27:27,839 INFO  [main] [] extensions - Initializing extensions
2020-07-30 08:27:27,840 FATAL [main] [] soap - Unable to start servlet
java.lang.NoClassDefFoundError: com/zimbra/cs/license/LicenseException
        at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3138)
        at java.base/java.lang.Class.getConstructor0(Class.java:3343)
        at java.base/java.lang.Class.newInstance(Class.java:572)
I suppose this has something to do with NG which requires a 'zextras' type of license? Downgrading to FOSS removed the zmlicense command, not sure how to check now, please help, it's kinda urgent.
Thanks!

Re: Downgrade to FOSS License error

Posted: Thu Jul 30, 2020 11:01 am
by DualBoot
Hello,

As far as I know, you can not downgrade from NE to FOSS.

Regards,

Re: Downgrade to FOSS License error

Posted: Thu Jul 30, 2020 11:58 am
by jerryboi
Naaah, if that was the case then the script would not specifically warn about losing Network Edition features, methinks.

Or did you mean you can not downgrade from EXPIRED Network Edition?

Re: Downgrade to FOSS License error

Posted: Thu Jul 30, 2020 12:09 pm
by DualBoot
Until now, from what I know, it was impossible. But things could changed.
By the way, did you try after downgrade to remove all the packages related to the Network option ? And for the first error is the proxy installed and well configured ?

Regards,

Re: Downgrade to FOSS License error

Posted: Sun Aug 02, 2020 8:11 am
by phoenix
DualBoot wrote:Until now, from what I know, it was impossible. But things could changed.
It has always been possible to 'downgrade' from NE to OSS. After a license expires the NE version effectively becomes the OSS version by disabling the NE features. You can run the OSS installer to make an expired server the OSS version, all that was needed was the same version of ZCS and run the installer et voila!

For the first error you could try the solution in this thread: viewtopic.php?t=67506

Re: Downgrade to FOSS License error

Posted: Mon Aug 17, 2020 12:56 pm
by DualBoot
phoenix wrote:
DualBoot wrote:Until now, from what I know, it was impossible. But things could changed.
It has always been possible to 'downgrade' from NE to OSS. After a license expires the NE version effectively becomes the OSS version by disabling the NE features. You can run the OSS installer to make an expired server the OSS version, all that was needed was the same version of ZCS and run the installer et voila!

For the first error you could try the solution in this thread: viewtopic.php?t=67506
I was taught it was impossible when I started to work with Zimbra 5 and I must I admit that in my ex company where I started to work, technical team prefer to not perform this kind of downgrade.

Regards,

Re: Downgrade to FOSS License error

Posted: Mon Aug 17, 2020 4:56 pm
by phoenix
It's not a 'downgrade', as I mentioned the NE license expires and the NE features stop working after thirty-days and it is effectively the OSS version. It wouldn't make sense to be unable to run the OSS version installer because you'd never be able to upgrade that 'old' NE version to any future release upgrades. Believe me, it's possible to run the installer and 'upgrade' the former NE version and that's always been the case AFAIR. Obviously that is all prefaced with the fact that a user should also have a working backup/restore solution for their Zimbra server.