FOP2 2.31.01 is unregistered after OS update/reboot
-
Yep, the problem is that the filesystem returns a different hard drive file system id after every reboot, so it breaks the license system (because of FAT16, something that does not happen with ext2/ext3). It is like changing the hardware mac address after every reboot. It is not a simple problem to fix. A workaround would be to run a script to revoke the license on system shutdown, and register on system boot. With Amazon EC2 some people used that schema when EC2 did not have the option for static mac addresses. The ultimate solution would be to extend/adapt the FOP2 license mechanism no that kind of flash filesystem.
best regards, -
OK. So why don't you simply check for a second partition if the first is FAT16? It it always there, has a label of "ASTURW" and it is ext2.
If you like, you can also check for AstLinux: if "/etc/astlinux-release" exists, the system is running AstLinux. With version 2.28 the license system worked fine on all of my customer boxes. Can it have to to with 32-/64-bit, we recently switched new systems to 64-bit?Can you not check for the MAC-address of the NIC instead? This is static.
The revoke script would need a working internet connection, right? But sometimes the customer reboots because of problems with the internet, so this would not be a foolproof solution.The partition UUIDs stay always the same after rebooting or upgrading (UUIDs faked):
blkid
/dev/sda1: SEC_TYPE="msdos" LABEL="RUNNIX" UUID="abcd-efg" TYPE="vfat"
/dev/sda2: LABEL="ASTURW" UUID="12345-67890" TYPE="ext2"
/dev/sda3: LABEL="ASTKD" UUID="23456-78901" TYPE="ext2"Michael
-
-
-
You can spin up AstLinux in a VM ...
AstLinux Project
http://www.astlinux-project.orgOne idea, add a new additional method using "blkid" to obtain the UUID, then allow either the current disk media check or the new "blkid" check to pass the test. Only if they both fail does your disk test fail.
I'm sure this will help other paying users on other platforms as well.
Edit: you can install an arbitrary FOP2 version by using the CLI command in AstLinux:
upgrade-package fop2 upgrade http://path-to/fop2-2.31.01-debian-x86_64.tgzBut note that a SHA1 fop2-2.31.01-debian-x86_64.tgz.sha1 file must also exist at that location.
Nicolás, if you added the "blkid" test, I'm sure Michael would be happy to test it for you, no need to install AstLinux yourself if you don't have the time.
-
Hi,
Try this new server binary, first revoke then replace the fop2 server binary and register the license, then reboot a couple or more times and see if the license sticks.http://download.fop2.com/fop2_server_debian_32
http://download.fop2.com/fop2_server_debian_64I will have to test myself on non astlinux systems and try to be sure it does not break the license before releasing it in 2.31.03.
Best regards,
-
I tried it, but I cannot revoke or again register it:
License Revoke (or Activiation) -------------- Enter your serial code: xxxx Serial code not available for revocation on this machine!Update: I upgraded from 2.31.01 to version 2.31.02 now, but still cannot revoke the license. And your new testversion always run as Lite version without revoking, so I cannot test the new version. But version 2.31.02 (official version) behaves better on reboots now.
-
I do not know your activation code. Please come to the live help or open a ticket at http://support.asternic.biz requesting a manual revocation so you can test it out.
-
-
Hi Nicolas,
thanks --register has now worked (after manual revocation) with the new server-binary version for AstLinux. The license sticks now on my testbox (64-bit)!
I rebooted 4 times including upgrading, downgrading and upgrading again. Thanks a lot for your quick help. I hope this new server version still works with non AstLinux systems. It would be great to have this addition in the next official FOP2 version.
Michael
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
