About says:
MailArchiva On-Premise license is invalid
License is expired
Licensed To Free Edition
Upgrade to MailArchiva On-Premise
License Count log says:
License Check Mailbox Sample 3/30/17 10:11 PM
MailArchiva 5.0.29
***************************************************
mailbox 01
***************************************************
Total Mailbox Count: 1
Total Licensed Mailboxes: 100000
***************************************************
Note: Not all installed mailboxes may be present above.
Use the mailbox count in your mail server as a guide.
Debug Log says:
[ERROR] license is invalid! License is expired {licensee='45 Day Trial', quantity='100000', daysleft='0', ipAddress='null'}
[ERROR] please visit us to purchase or upgrade your license.
I run on Linux Ubuntu on a hosted virtual server. Any recommendations on how to fix this "License Expired" issue? As said, before the upgrade everything was working perfectly (except for the upgrade button missing, and still missing). Automatic upgrades are also working, today it updated automatically to 5.0.30
Kind regards,
Stefano
2017-05-02 15:17:36 t.c.s.a.s.c [ERROR] exception occurred while conducting license check. license is assumed invalid.
java.lang.ExceptionInInitializerError: null
at com.stimulus.archiva.security.c.y(MailArchiva:1041)
at com.stimulus.archiva.security.c.s(MailArchiva:905)
at com.stimulus.archiva.security.c.c(MailArchiva:157)
at com.stimulus.archiva.domain.br$a.a(MailArchiva:144)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: License Not Found
at com.stimulus.archiva.vs.<init>(MailArchiva:52)
at com.stimulus.archiva.vr.<clinit>(MailArchiva:28)
... 7 common frames omitted
2017-05-02 15:17:36 t.c.s.a.d.br [ERROR] error:stop:java.lang.NoClassDefFoundError: Could not initialize class com.stimulus.archiva.vr
java.lang.NoClassDefFoundError: Could not initialize class com.stimulus.archiva.vr
at com.stimulus.archiva.security.c.a(MailArchiva:1006)
at com.stimulus.archiva.security.c.s(MailArchiva:943)
at com.stimulus.archiva.security.c.c(MailArchiva:157)
at com.stimulus.archiva.domain.br$a.a(MailArchiva:144)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-05-02 15:23:12 t.c.s.a.s.c [ERROR] license is invalid! ERROR {licensee='45 Day Trial', quantity='100000', daysleft='0', ipAddress='null'}
2017-05-02 15:23:12 t.c.s.a.s.c [ERROR] please visit us to purchase or upgrade your license.
license_count.txt:
Total Licensed Mailboxes: 100000
------------------------------------------------------------------
Licensee:45 Day Trial
Quantity:100000
Plan:On Premise License
Days Left:0
Any ideas?
Thanks.
[AR-1568] free users run into license issues when performing major version upgrades
Now tried to update from v5.1.2 to v5.1.4 to solve this problem but the update fails:
Please wait while the update is downloaded and installed...
Starting to perform the download...
Succeeded to perform the download.
Successfully compiled ZIP file /var/opt/mailarchiva/tomcat/temp/delta1533962168573909855.zip containing changes between the current version and update version 5.1.4.
Starting to perform the backup of the existing distribution.
Succeeded to perform the distribution.
Starting to perform the patching of the distribution.
Failed to perform the patching of the distribution.
Starting to rollback the patching of the distribution.
Succeeded to rollback the patching of the distribution.
Starting to rollback the backup of the existing distribution.
Succeeded to rollback the distribution.
Sadly, the update could not be installed.
To protect against continuous restarts, update 5.1.4 will not be attempted again until this server is manually restarted.
Failed to install update. Please manually download the latest release from the website and run the installer.
auto update ended
To solve this, I did the following:
Download 5.0.23 from the mailarchiva SFTP server.
Link at the top of the page: https://www.mailarchiva.com/downloads
Install 5.0.23 manually over the existing installation (rollback to 5.0.23). Then the license should become valid again.
Hopefully the problem will be solved soon...
sudo mv /etc/opt/mailarchiva/ROOT/license.lic /etc/opt/mailarchiva/ROOT/license.lic.bak
sudo /etc/init.d/mailarchiva stop
sudo /etc/init.d/mailarchiva start
2017-05-10 10:00:44 t.c.s.a.s.c [ERROR] license is invalid! ERROR {licensee='45 Day Trial', quantity='100000', daysleft='0', ipAddress='null'}
2017-05-10 10:00:44 t.c.s.a.s.c [ERROR] please visit us to purchase or upgrade your license.
sudo ls -l /etc/opt/mailarchiva/ROOT/license.lic
ls: cannot access '/etc/opt/mailarchiva/ROOT/license.lic': No such file or directory
MailArchiva has not re-created the license.lic after renaming it.
Than stoped MailArchiva and run:
~/mailarchiva_dist_v5.1.4$ sudo ./install
sudo ls -l /etc/opt/mailarchiva/ROOT/license.lic
ls: cannot access '/etc/opt/mailarchiva/ROOT/license.lic': No such file or directory
But license.lic is still missing.