Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Captive Portal File Manager leaving broken symlinks

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    6 Posts 3 Posters 2.1k 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.
    • R
      regonius
      last edited by

      I'm using snapshot pfSense-2.1-RC0-2g-i386-nanobsd-20130630-0822.img.gz

      Files uploaded with the Captive Portal File Manager are written to  /var/db/cpelements/ and a symlink will be placed at /usr/local/captiveportal/

      Deleting files via the Captive Portal File Manager will delete the file at  /var/db/cpelements/, but not the symlink at /usr/local/captiveportal/, leaving a broken link

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

        Should be fixed on newer snapshots.
        Thank you for reporting.

        1 Reply Last reply
        Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          I'm having trouble with making changes to a second captive portal instance clobbering all the files in /var/db/cpelements but leaving all the symlinks in /usr/local/captiveportal.

          Are there supposed to be different namespaces for each instance?

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

            Hrm you using the same filenames?

            1 Reply Last reply
            Reply Quote 0
            • DerelictD
              Derelict LAYER 8 Netgate
              last edited by

              No.  When I bring up a second portal and save it.  All the files in /var/db/cpelements that are not listed in the second portal's file manager are deleted, with the symlinks in /usr/local/captiveportal remaining.  This appears to be fixed in the July 4 build.  (Was using July 1).

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

                Yeah i fixed the issues you mentioned just 2 days before.
                For same filename you might have issues and i have to give a look for that.

                1 Reply Last reply
                Reply Quote 0

                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
                • First post
                  Last post
                Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                Privacy Policy · Cookie Policy