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

    Captive Portal Voucher DB issue

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 3 Posters 745 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.
    • W
      wazim4u
      last edited by

      I have recently upgraded 2.5 Development version to latest 2.5.0.a.20210107.2142 got issue with Voucher DB from one roll all active voucher marked as used. there was another issue that active users vs active voucher has big difference. Unable to understand this. I even did full backup and tried to backup from XML backup file still same.

      Active Users.jpg

      Active Vouchers.png

      Rolls.jpg

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @wazim4u
        last edited by

        @wazim4u said in Captive Portal Voucher DB issue:

        I even did full backup and tried to backup from XML backup file still same.

        The 2.4.5-p1 version uses DB files to store which roll/voucher has a usage records.
        This information is not stored in the config (xml) file.
        If I recall well, hese file should be backup in parallel with the config, and restored together.

        Dono if the 2.5.0 dev version works the same way, so better check this out.

        @wazim4u said in Captive Portal Voucher DB issue:

        there was another issue that active users vs active voucher has big difference

        The two images lists the same vouchers <=> users.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        W 1 Reply Last reply Reply Quote 0
        • W
          wazim4u @Gertjan
          last edited by

          @gertjan I copied db files as well. XML only takes the lists of vouchers then manually you have to copy the db files to db directory. Whenever upgraded never worked properly. there should be option to download vouchers database from backup page or it should make zip file including XML & voucher database files.

          viktor_gV 1 Reply Last reply Reply Quote 0
          • viktor_gV
            viktor_g Netgate @wazim4u
            last edited by

            @wazim4u unable to reproduce your issue - I can successfully backup/restore Captive Portal Vouchers + Vouchers DB (extra data checkbox) on pfSense 2.5.0.a.20210202.2250

            Could you provide more info about your configuration?

            W 1 Reply Last reply Reply Quote 0
            • W
              wazim4u @viktor_g
              last edited by

              @viktor_g There was issue with HDD and I've replaced it with SSD and now everything works fine. Vouchers backup is working properly.

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