Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Strange looking captive zones

    Scheduled Pinned Locked Moved Captive Portal
    8 Posts 4 Posters 2.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nothing
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • N
        nothing
        last edited by

        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...
        
        1 Reply Last reply Reply Quote 0
        • T
          thurines
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • N
            nothing
            last edited by

            Already tried that. Voucher backup of 2.0.3 can't be restored on 2.1.

            1 Reply Last reply Reply Quote 0
            • E
              eri--
              last edited by

              No between different versions is not supported.

              Probably should instruct the code to warn you as the normal synchronization does.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                @nothing:

                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.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • N
                  nothing
                  last edited by

                  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).

                  1 Reply Last reply Reply Quote 0
                  • N
                    nothing
                    last edited by

                    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?

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.