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

    Services menu bug?

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    12 Posts 3 Posters 2.5k 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.
    • B
      brianc69
      last edited by

      I just notice I have entries called proxy server AND squid proxy server in my services menu. They both open to the same page. Why is it here twice?

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        might be leftover from a previous version of squid. try removing squid, see which of both gets removed.
        then manually edit config.xml and look for:

        
        <menu>
                    <name>Squid Proxy Server</name> (or the other one)
                    <tooltiptext>Modify the proxy server settings</tooltiptext>
                    Services
                    <url>/pkg_edit.php?xml=squid.xml&id=0</url>
                </menu>
        
        

        remove whatever is left after uninstalling squid pkg.
        then reinstall squid pkg

        1 Reply Last reply Reply Quote 0
        • B
          brianc69
          last edited by

          What is the path for the file?

          The one that remained is Proxy Server so that's what needs to be removed.

          1 Reply Last reply Reply Quote 0
          • H
            heper
            last edited by

            /conf/
            
            1 Reply Last reply Reply Quote 0
            • B
              brianc69
              last edited by

              Ok I made the edit but it automatically restores the old file when I get back to the menu.

              1 Reply Last reply Reply Quote 0
              • H
                heper
                last edited by

                https://doc.pfsense.org/index.php/How_can_I_reload_the_config_after_manually_editing_config.xml

                1 Reply Last reply Reply Quote 0
                • B
                  brianc69
                  last edited by

                  It happens too quick. I remove:

                  
                  <menu>
                  			<name>Proxy server</name>
                  			<tooltiptext>Modify the proxy server's settings</tooltiptext>
                  			Services
                  			<url>/pkg_edit.php?xml=squid.xml&id=0</url>
                  		</menu>
                  
                  

                  Then go to rm /tmp/config.cache and its right back with a warning at the top of the screen telling me the file was missing then restoring. Think this bug is best left for the developers.

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    There is no bug for us to fix. The old squid package left that there. If you're getting an error, it's because the config edit wasn't right.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • B
                      brianc69
                      last edited by

                      Shouldn't the upgrade to squid 3 that replaced my 2.x when I installed pf 2.3 had fixed that?

                      1 Reply Last reply Reply Quote 0
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        No, because the squid 3.x package has no idea what that tag is. It's from the old squid package on pfSense 2.2.x, if it didn't come out properly there is nothing the current squid package can do for that since it's not a tag put there by the current package.

                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 0
                        • B
                          brianc69
                          last edited by

                          I get that but I was not running squid 3 on 2.2.x which mean the upgrade to 2.3 left a piece when prior version of squid was removed. The question is how to fix it? I tried the above but the backup gets restored automatically. What am I missing? Why does it keep coming back?

                          1 Reply Last reply Reply Quote 0
                          • jimpJ
                            jimp Rebel Alliance Developer Netgate
                            last edited by

                            @brianc69:

                            The question is how to fix it? I tried the above but the backup gets restored automatically. What am I missing? Why does it keep coming back?

                            Editing the entry out of the config is the easiest way. If you get the message that a config is being restored it means you removed too much or the wrong chunk, leaving it with invalid XML. Be sure to only remove the one menu tag and its contents and no lines above/below it.

                            Downloading a config backup, editing it, and then restoring it is the safest way, rather than editing live.

                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                            Need help fast? Netgate Global Support!

                            Do not Chat/PM for help!

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