Strange looking captive zones
-
This is after upgrade of slave node from 2.0.3 to 2.1:
Any ideas should it look like this and what can I do? -
Is it possible at all to sync vouchers between 2.0.1 and 2.1?
I have disabled CARP sync for Captive and manually cleared Captive configuration on slave node. Then I tried to sync vouchers entering IP, user pass etc (on the slave node). After clicking on "Save" button no error is shown and the edit fields for IP, port, user, pass are empty, the vouchers are also not synced and red cross saying "captiveportal Service is Stopped" is shown only in Vouchers tab.
That's all what I see in syslog:php[99049]: /services_captiveportal_vouchers.php: voucher XMLRPC sync data https://1.1.1.1:443. php[99049]: /services_captiveportal_vouchers.php: The Captive Portal voucher database has been synchronized with https://1.1.1.1:443 (pfsense.exec_php). logportalauth[99049]: Writing voucher db from sync data...
-
I havent had this experience myself but what if you take a backup of the 2.0x pfsen,se, install a 2.1 and import the backed up settings into it, Do you think that would work? I havent tried it myself.
-
Already tried that. Voucher backup of 2.0.3 can't be restored on 2.1.
-
No between different versions is not supported.
Probably should instruct the code to warn you as the normal synchronization does.
-
Already tried that. Voucher backup of 2.0.3 can't be restored on 2.1.
A voucher section backup, no. A full backup, yes.
The upgrade code that handles changing configs to the new format between versions only works on a full config.
-
Yup full backup worked!
1. Backed up the master node.
2. Changed the IP's int the backup file to the IP's of the slave node.
3. Restore on slave node.
4. Wait for reboot.
5. Manually switch over CARP.
All OK. Issued vouchers are copied on the slave (voucher and captive sync still disabled). -
Well, managed to upgrade the master node to 2.1 too. So both nodes are running on 2.1.
Voucher synchronization still not working - after I fill Voucher database IP, sync port, username, password and click Save, no error is shown, no synchronization is done and the "Voucher database synchronization" fileds are empty.Also I see Zones in Captiveportal, but haven't seen where I can fill the zone name?