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

    Private package repository problem

    General pfSense Questions
    4
    8
    1.9k
    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.
    • M
      mendilli
      last edited by

      I have setup a new hosting, and fallowed the directives in pfsense docs to make my own package repo, but I keep getting this error when ı click  pkg_tester.php

      I am desperate, please help

      Call to a member function kindOf() on a non-object in /home/a3764983/public_html/pfSense/xmlrpc_client.inc on line 1856

      1 Reply Last reply Reply Quote 0
      • M
        miken32
        last edited by

        Ditto here, though I am not desperate. Just very, very, annoyed that creating a package for pfSense can't just involve uploading a tgz file or something. It seems that the server at pfsense.com is returning this:

        Server: nginx
        Date: Fri, 09 May 2014 19:34:11 GMT
        Content-Type: text/html
        Connection: close
        X-Powered-By: PHP/5.4.26

        XML error: No pfsensepkgs object found!

        Which just kills the script instead of indicating the error. Or what it means.

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Some recent changes to the packages hosting may have rendered the docs in need of updating. Have you read this thread: https://forum.pfsense.org/index.php?topic=75163.0
          Try to ignore the unhelpful shouty comments!  ::)

          Steve

          1 Reply Last reply Reply Quote 0
          • M
            miken32
            last edited by

            @stephenw10:

            Some recent changes to the packages hosting may have rendered the docs in need of updating. Have you read this thread: https://forum.pfsense.org/index.php?topic=75163.0
            Try to ignore the unhelpful shouty comments!  ::)

            Steve

            I had not read that, thanks. Still not working (although at least whatever server I'm talking to now is spitting out XML instead of an error message!) Very discouraging for those hoping to contribute packages! I'll try back in a few months after things are sorted out with all these recent changes.

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              As far as I know the only thing that changed was that the official package repo moved from pfsense.org/packages to packages.pfsense.org. It should still be perfectly possible to set up your own package server as long as you realise it now expects to find things in the server root. Been quite a while since I tried it though.  ::)

              Steve

              1 Reply Last reply Reply Quote 0
              • bmeeksB
                bmeeks
                last edited by

                I worked around this issue in my testing environment with this Apache rewrite engine configuration:

                   RewriteEngine On
                   RewriteRule ^xmlrpc\.php$ pfSense/xmlrpc.php
                
                

                I have a local packages repository I use for testing updates I produce for Snort and Suricata.  That packages server is a FreeBSD 8.3 box with Apache installed and configured as the web server.

                The directive above tells Apache to rewrite any URI requests looking for xmlrpc.php in the root to instead look in the pfSense sub-directory.

                Bill

                1 Reply Last reply Reply Quote 0
                • M
                  miken32
                  last edited by

                  @stephenw10:

                  As far as I know the only thing that changed was that the official package repo moved from pfsense.org/packages to packages.pfsense.org. It should still be perfectly possible to set up your own package server as long as you realise it now expects to find things in the server root. Been quite a while since I tried it though.  ::)

                  Steve

                  I can't even get past the pkg_tester.php step in the instructions. At least I know I'm in good company: https://packages.pfsense.org/pkg_tester.php

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Ha. Ooops.  ;)

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