Private package repository problem
-
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
-
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.26XML error: No pfsensepkgs object found!
Which just kills the script instead of indicating the error. Or what it means.
-
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
-
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.
-
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 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
-
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
-
Ha. Ooops. ;)