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

    Unable to add menu items from custom package unless manually editing /conf/config.xml. Neither package shows up in /conf/config.xml.

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 1 Posters 766 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.
    • C
      christopherbradski
      last edited by

      Simple Hello_World package: (src) https://github.com/christopherbradski/pfsense-addons/tree/main/standalone/pfsense-pkg-hello_world pkg
      pfBlockerNG-addon-whitelist-rulegen:(src) https://github.com/christopherbradski/pfsense-addons/tree/main/pfBlockerNG-addons/pfsense-pkg-pfblockerng_whitelist_rulegen pkg

      Steps to reproduce:

      1. Download the package to pfSense 2.7.1 instance
      2. Install the package using "pkg add /tmp/<package name>"

      Expected results:
      View the menu item in the Services dropdown
      See an entry in /conf/config.xml

      Notes:
      I can manually view the PHP pages using the direct links in a web browser for both packages.
      For the pfBlockerNG-addon... package, manually visiting the URL and entering an API credential generates the data in the /conf/config.xml file correctly.

      Any assistance or thoughts are much appreciated. I tried mirroring the config based on several examples.

      Oh, this is true for the rc-style services, they do not appear either but I can confirm the hello_world service does start on its own correctly.

      C 1 Reply Last reply Reply Quote 0
      • C
        christopherbradski @christopherbradski
        last edited by

        @christopherbradski

        Just following up that I figured this out and that the CLI doesn't behave exactly like the UI when adding packages. Anyways, you can check the results of my effort here: https://github.com/christopherbradski/pfsense-addons

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