• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    r7478 Advanced Boot Menu not worked

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    16
    4.1k
    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.
    • Q
      Quazz Moderator
      last edited by

      Any error messages you could share?

      It’s most likely a formatting issue, though.

      1 Reply Last reply Reply Quote 1
      • Tom ElliottT
        Tom Elliott
        last edited by

        Just because it doesn’t work does not automatically mean it’s a bug. Because of the way adv menu works, there is a high likelihood your code is the culprit for this “bug”. Of course a TON more information will be needed because your menu just shows us the menu structure. What’s causing the issue is totally unknown.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • S
          sgennadi
          last edited by

          I have 3 advanced menu item in the boot menu list, after svn update
          First menu with password not worked. Second worked fine. Third
          then i choose menu item i recieve error (see picture)… Menus worked fine for a long time ± 6 six month ( and I don’t do any changes)

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @sgennadi
            last edited by

            @sgennadi Still, error logs? anything we can use to help figure out the issue? My guess, if I had to have one, is your pxe_menu_timeout value is not set currently. Because of this the menu is not setup correctly. Again this is just a guess, but error logs would certainly go a long way, and is there a real need for all this to be in the advanced menu? I ask because trunk allows you to put this all on the main menu screen now. Maybe it will have better luck that way?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            S 1 Reply Last reply Reply Quote 0
            • S
              sgennadi @Tom Elliott
              last edited by

              @Tom-Elliott
              Which log exactly you need?

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @sgennadi
                last edited by

                @sgennadi apache error logs.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @sgennadi If you don’t know where to find those logs check out the signature below my message…

                  I just copy&pasted your script into my advanced menu config and it works like a charm.

                  0_1462385470236_Untitled.png

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • S
                    sgennadi
                    last edited by

                    I know what is my script worked and must work but no…
                    0_1462429584013_1.JPG
                    when I choose Diagnostics
                    0_1462429620499_2.JPG 0_1462429656458_error_log

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • S
                      sgennadi
                      last edited by

                      I made new menu from faq sample - not worked

                      Maybe problem with html parser

                      I made new menu Bios with description Bios & Firmware

                      0_1462429968654_4.JPG

                      But
                      0_1462430281581_3.JPG

                      Previous fog version now problem with “&” and description

                      1 Reply Last reply Reply Quote 0
                      • Q
                        Quazz Moderator
                        last edited by

                        Sometimes the code looks fine, but the structure is actually not filled in properly which causes stuff like this. I’m guessing something went wrong here :

                        item return return to previous menu
                        choose --default return --timeout 15000 target && goto ${target}
                        :wd
                        

                        It’s probably formatted accidentally something like

                        item return return to previous menu
                        choose
                         --default return --timeout 15000 target && goto ${target}
                        :wd
                        

                        So expand the code box and double check all that.

                        1 Reply Last reply Reply Quote 0
                        • S
                          sgennadi
                          last edited by

                          Centos 7 (latest updates ) If I check boot.php
                          http://x.x.x.x/fog/service/ipxe/boot.php I see problem with ampersand symbol $
                          0_1462438468828_5.JPG
                          0_1462438491471_6.JPG

                          Tom ElliottT A 2 Replies Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @sgennadi
                            last edited by

                            @sgennadi What @Sebastian-Roth is saying, is your script works perfectly fine. What we need is error logs to helps us at least with a starting point of what is going on.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @sgennadi
                              last edited by

                              @sgennadi What HTML parser?

                              Somethings gone wrong with how that information is stored (which is pretty obvious), but FOG has not caused that, at least not directly.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              1 Reply Last reply Reply Quote 0
                              • A
                                Andy Abplanalp Developer @sgennadi
                                last edited by

                                @sgennadi is your path correct? You’re defining {boot-url} but you’re using {fog-ip} in the path to your image files

                                1 Reply Last reply Reply Quote 1
                                • S
                                  sgennadi
                                  last edited by sgennadi

                                  Path correct , problem with & in the script and how it stored

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post

                                  207

                                  Online

                                  12.1k

                                  Users

                                  17.3k

                                  Topics

                                  155.4k

                                  Posts
                                  Copyright © 2012-2024 FOG Project