Downgrade to FOSS License error

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
jerryboi
Advanced member
Advanced member
Posts: 125
Joined: Fri Sep 12, 2014 10:09 pm

Downgrade to FOSS License error

Post 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!
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Downgrade to FOSS License error

Post by DualBoot »

Hello,

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

Regards,
jerryboi
Advanced member
Advanced member
Posts: 125
Joined: Fri Sep 12, 2014 10:09 pm

Re: Downgrade to FOSS License error

Post 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?
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Downgrade to FOSS License error

Post 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,
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Downgrade to FOSS License error

Post 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
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Downgrade to FOSS License error

Post 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,
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Downgrade to FOSS License error

Post 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.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Post Reply