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

    [SOLVED] 2.1 -> 2.1.2: Custom Repository not working

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    32 Posts 7 Posters 8.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.
    • H
      Hobby-Student
      last edited by

      @cromero:

      …I changed $path_to_files in xmlrpc.php and correct '../packages/' but not work. ¿Any ideas?

      xmlrpc.php, line 45:

      
      $path_to_files = './xmlrpc/';
      
      

      xmlrpc.php, line 124:

      
      $path_to_files = './packages/';
      
      

      This should do the trick.

      1 Reply Last reply Reply Quote 0
      • C
        cromero
        last edited by

        @Hobby-Student:

        This should do the trick.

        Yes, I did the "./packages/" change and the other no needed because always work with "./xmlrpc/" and have communication problem yet. No more changes needed in other files?

        1 Reply Last reply Reply Quote 0
        • H
          Hobby-Student
          last edited by

          @cromero:

          Yes, I did the "./packages/" change and the other no needed because always work with "./xmlrpc/" and have communication problem yet. No more changes needed in other files?

          Was the repo working on 2.1?
          Have you set right permissions on your webserver?
          .htaccess as mentioned in the official wiki?
          is test.php and xmlrpc_tester.php working? (just open in browser and see if it's reporting something)

          sure, that the "old" folder "pfSense" is now the root of your server?

          
          http://repo.domain.tld/xmlrpc.php
          http://repo.domain.tld/xmlrpc/
          http://repo.domain.tld/packages/
          
          (and so on)
          
          
          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            Oh, yeah the base URL also changed when we moved from www.pfsense.com to packages.pfsense.org, 2.1.1 and later do not look in /pfSense/ by default for packages, rather in the root.

            1 Reply Last reply Reply Quote 0
            • H
              Hobby-Student
              last edited by

              @cmb:

              Oh, yeah the base URL also changed when we moved from www.pfsense.com to packages.pfsense.org, 2.1.1 and later do not look in /pfSense/ by default for packages, rather in the root.

              Could this info please be added to the wiki?

              1 Reply Last reply Reply Quote 0
              • ?
                Guest
                last edited by

                My advice is to ignore doktornotor.  He claims to be trained as a lawyer, but seemingly the only benefit he gained from law school was learning to act poorly in public.

                The fact that he doesn't practice what he learned should give anyone pause.

                As cmb related, we moved the repositories to their own server.  Anyone running an official build likely followed without noticing.

                We never signed up to supporting custom repos, etc.

                1 Reply Last reply Reply Quote 0
                • D
                  doktornotor Banned
                  last edited by

                  @gonzopancho:

                  My advice is to ignore doktornotor.  … We never signed up to supporting custom repos, etc.

                  Where's the -tools repo? Will you finally either publish that or stop misadvertising this as open-source? Perhaps FTC might be interested as well.  ::)

                  1 Reply Last reply Reply Quote 0
                  • ?
                    Guest
                    last edited by

                    As I've explained elsewhere, I don't respond to doktornotor or other abusive asshole like him (her?  it?)

                    1 Reply Last reply Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by

                      Where's the -tools repo?

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

                        doktornotor; we are looking forward to hear about your own opensource work (like pfsense) as soon as possible, untill then please at least be kind enough to shut up and respect theese nice people, they are not obligated to do anything you or anyone required

                        1 Reply Last reply Reply Quote 0
                        • D
                          doktornotor Banned
                          last edited by

                          @mendilli:

                          they are not obligated to do anything you or anyone required

                          Actually, they are as long as they advertise this as open source. They of course are free to stop this deceptive advertising.

                          P.S. As for "your own" - this is a m0n0wall fork based on FreeBSD. Not something written from scratch by ESF. And those "nice people" get as much respect as they deserve. In case of certain Jim T. who happens to own the Netgate/ESF thing, the respect has currently dropped below freezing point.  ::)

                          1 Reply Last reply Reply Quote 0
                          • ?
                            Guest
                            last edited by

                            Unlike doktornotor, Jim Thompson doesn't hide behind a pseudonym.

                            1 Reply Last reply Reply Quote 0
                            • D
                              doktornotor Banned
                              last edited by

                              You should stick with washing the bottles, and keep WAY away from any customer/public relations. Frankly, your today's posts on this forum could be used as classic learning materials in a "How NOT to EVER deal with OSS community" course.  ::)

                              1 Reply Last reply Reply Quote 0
                              • ?
                                Guest
                                last edited by

                                doktornotor seems frustrated, and views himself as "the community".

                                "Desperado Effect"in action?

                                1 Reply Last reply Reply Quote 0
                                • D
                                  doktornotor Banned
                                  last edited by

                                  Perhaps some other admins should investigate whether Jim T's account has been hacked? If not, I feel sincerely sorry for all those the ESF employees who have been actually helpful and extremely professional, compared to this pathetic trademark "boss".

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    Guest
                                    last edited by

                                    Controlled or not controlled?

                                    The same die shows two faces.
                                    Not controlled or controlled,
                                    Both are a grievous error.

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

                                      @doktornotor:

                                      @mendilli:

                                      they are not obligated to do anything you or anyone required

                                      Actually, they are as long as they advertise this as open source. They of course are free to stop this deceptive advertising.

                                      P.S. As for "your own" - this is a m0n0wall fork based on FreeBSD. Not something written from scratch by ESF. And those "nice people" get as much respect as they deserve. In case of certain Jim T. who happens to own the Netgate/ESF thing, the respect has currently dropped below freezing point.  ::)

                                      feel free to develop your own project on monowall, freebsd or any platform you like,  if you don't like pfsense or the behaviours of the developers, no one is stopping you, there are a bunch of open source projects out there, leave us and go for them

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        cromero
                                        last edited by

                                        Sorry Hobby-Student, easter holiday  :P

                                        Was the repo working on 2.1? 
                                        ```Yes.
                                        

                                        Have you set right permissions on your webserver?

                                        .htaccess as mentioned in the official wiki?

                                        is test.php and xmlrpc_tester.php working? (just open in browser and see if it's reporting something)

                                        test.php
                                        Array ( [0] => foo [1] => baz )
                                        
                                        xmlrpc_tester.php
                                        Array ( [platform] => pfSense [firmware] => Array ( [version] => 0.62.5 [branch] => stable ) [kernel] => Array ( [version] => 5.4 ) [base] => Array ( [version] => 5.4 ) ) Formed message. Formed client.
                                        
                                        –-GOT---
                                        HTTP/1.1 200 OK
                                        Date: Thu, 24 Apr 2014 16:16:30 GMT
                                        (...)
                                          }
                                          ["mytype"]=>
                                          int(3)
                                        }
                                        –-END---
                                        
                                        Message sent. Array ( [firmware] => latest_in_branch [latest] => Array ( [firmware] => 1.0b2 [kernel] => 6.1 [base] => 6.1 ) [kernel] => latest_in_branch [base] => latest_in_branch )
                                        
                                        sure, that the "old" folder "pfSense" is now the root of your server?
                                        

                                        http://repo.domain.tld/xmlrpc.php
                                        http://repo.domain.tld/xmlrpc/
                                        http://repo.domain.tld/packages/

                                        (and so on)

                                        
                                        Yes, "old" files are now in root folder of my webserver.
                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          cromero
                                          last edited by

                                          Hi again!!

                                          Finally I use https://forum.pfsense.org/index.php?topic=55504.0 with a host override for packages.pfsense.org to my X.X.X.X webserver and works perfect.

                                          I think the problem is because my pfsenses hasn't direct internet connection, I use openvpn tunnels.

                                          1 Reply Last reply Reply Quote 0
                                          • H
                                            Hobby-Student
                                            last edited by

                                            @cromero:

                                            I think the problem is because my pfsenses hasn't direct internet connection, I use openvpn tunnels.

                                            Just a guess… Without having the correct routes, it's not possible to get any repo ;)

                                            In the end you got it working, that's all it depends on.

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