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

    FOG (RC12) Settings Exit Types (legacy, efi) will not be saved after change

    Scheduled Pinned Locked Moved FOG Problems
    19 Posts 3 Posters 2.2k 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.
    • x23piracyX
      x23piracy
      last edited by x23piracy

      Hi,

      i was just wondering why my change to the default exit types didn’t take effect, after searching for the error i found out that fog isn’t saving the changed settings:

      Bild Text

      I would like to have refind for efi exit type but i cannot change it.

      More detail:

      I goto FOG Settings and try to change efi exit type away from exit to refind, i click on “update” and i get:

      Bild Text

      But anyway the option is still on the old value:

      Bild Text

      The problem also exists with legacy exit type and i don’t know if that two values are the only ones, i more have the feeling that nothing will be saved.

      @Wayne-Workman @george1421 @tom-elliott
      May anyone of you has the hint to change the value anyway (sql)?

      EDIT: The problem affects every Setting changes, they will not be saved.

      Regards X23

      ║▌║█║▌│║▌║▌█

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

        You need to press the expanded tabs update button. Hitting enter will not update the fields as it’s being passed through ajax.

        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

        x23piracyX 1 Reply Last reply Reply Quote 0
        • x23piracyX
          x23piracy @Tom Elliott
          last edited by

          @tom-elliott said in FOG (RC12) Settings Exit Types (legacy, efi) will not be saved after change:

          You need to press the expanded tabs update button. Hitting enter will not update the fields as it’s being passed through ajax.

          Bild Text

          That one? What else should i do to save the settings? I click on that update button but it doesnt really save it.

          Regards X23

          ║▌║█║▌│║▌║▌█

          1 Reply Last reply Reply Quote 0
          • x23piracyX
            x23piracy
            last edited by x23piracy

            Ok, this did the trick:

            Bild Text

            Does it make sense that the settings only saved when i update them via iPXE General Configuration > Boot Exit settings while they also been offered by FOG Settings in first manner followed by an “Update” button?

            Bild Text

            I did not drink, i did not smoke but what the hell am i just to stupid to know? 😄
            Solved but with a lot of confusion.

            Regards X23

            ║▌║█║▌│║▌║▌█

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

              @x23piracy I can’t replicate the problem you’re stating, maybe I’m not understanding the issue?

              I go to FOG Configuration->FOG Settings->FOG Boot Settings.

              Change the EFI and Legacy boot exit styles. Click the update button associated to the FOG Boot Settings tab. I then hard refreshed the browser to make sure the changes did/or didn’t apply. The settings stayed as I had set them.

              Yes you can change them from the iPXE General Configuration as well, they’re essentially the same thing.

              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
                last edited by

                Is it okay to solve this, or is this still an issue?

                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

                x23piracyX 1 Reply Last reply Reply Quote 0
                • x23piracyX
                  x23piracy @Tom Elliott
                  last edited by

                  @tom-elliott yes

                  ║▌║█║▌│║▌║▌█

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

                    @x23piracy Two questions, one answer?! Yes solved or yes still an issue? 😉

                    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

                    x23piracyX 1 Reply Last reply Reply Quote 1
                    • x23piracyX
                      x23piracy @Sebastian Roth
                      last edited by

                      @sebastian-roth well, i described why i think that is a bug, there is an update button that implies that it will save changes but it doesn’t, then i found out that i can change the desired values at another place where also is a update button, that update button will save the values.

                      For me thats personally solved, for FOG from my opinion it’s a bug.

                      Regards X23

                      ║▌║█║▌│║▌║▌█

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

                        @x23piracy I’m unable to replicate the issue using working, and dev-branch. It really seems somebody pressed enter from a text field. I’m not saying you aren’t having the problem, I just don’t have a way of seeing it.

                        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

                          @x23piracy Which browser do you use? Tried different ones yet?

                          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

                          x23piracyX 1 Reply Last reply Reply Quote 0
                          • x23piracyX
                            x23piracy @Sebastian Roth
                            last edited by

                            @sebastian-roth i am using firefox, i also tried chrome now and it also does not save the options. i won’t try edge and ie is removed on my system for freedom 😄

                            ║▌║█║▌│║▌║▌█

                            1 Reply Last reply Reply Quote 0
                            • x23piracyX
                              x23piracy
                              last edited by x23piracy

                              Hi,

                              here is a video of the behaviour, have a look yourself:

                              https://youtu.be/0_UrpJq5GS8

                              Regards X23

                              ║▌║█║▌│║▌║▌█

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

                                You’re modifying the wrong fields. Your “expand all” should not have anything directly editable underneath it.

                                It should fall under FOG Boot Settings:

                                Do you have a “tab” called “FOG Boot Settings”? If so, can you try editing from there?

                                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

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

                                  Basically it seems you have a corrected globalSettings table.

                                  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
                                    last edited by

                                    I’ve moved this posting to fog problems as this is not something I can address with a patch or anything. It is quite literally a problem with the database.

                                    Can you confirm that you have the tab: FOG Boot Settings? If you do, does this same information appear there?

                                    I might need to remote in to take a look.

                                    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
                                    • x23piracyX
                                      x23piracy @Tom Elliott
                                      last edited by x23piracy

                                      @tom-elliott said in FOG (RC12) Settings Exit Types (legacy, efi) will not be saved after change:

                                      Do you have a “tab” called “FOG Boot Settings”? If so, can you try editing from there?

                                      Yes i have:

                                      Bild Text

                                      we can do the remote in when ever you have time, gimme a ping.

                                      ║▌║█║▌│║▌║▌█

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

                                        Please try this SQL statement:

                                        UPDATE `globalSettings` SET `settingCategory`='FOG Boot Settings' WHERE `settingKey` IN ('FOG_ADVANCED_MENU_LOGIN','FOG_EFI_BOOT_EXIT_TYPE','FOG_PXE_MENU_TIMEOUT','FOG_PXE_MENU_HIDDEN','FOG_PXE_ADVANCED','FOG_KEY_SEQUENCE','FOG_NO_MENU','FOG_BOOT_EXIT_TYPE','FOG_PXE_HIDDENMENU_TIMEOUT','FOG_IPXE_MAIN_COLOURS','FOG_IPXE_MAIN_CPAIRS','FOG_IPXE_MAIN_FALLBACK_CPAIRS','FOG_IPXE_VALID_HOST_COLOURS','FOG_IPXE_INVALID_HOST_COLOURS','FOG_IPXE_HOST_CPAIRS','FOG_IPXE_BG_FILE');
                                        

                                        This should reset all those items to use the proper setting category. The problem with the ajax and the place you’re currently updating is because those fields are appearing outside of the “<form>” element. So when you click update, nothing is actually being sent to be updated. This should address those issues.

                                        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

                                        x23piracyX 1 Reply Last reply Reply Quote 1
                                        • x23piracyX
                                          x23piracy @Tom Elliott
                                          last edited by x23piracy

                                          @tom-elliott Hi Tom, sorry for the late answer, yes that sql statement solved my issue. Solved!

                                          UPDATE globalSettings
                                          SET settingCategory=‘FOG Boot Settings’
                                          WHERE settingKey
                                          IN (‘FOG_ADVANCED_MENU_LOGIN’,‘FOG_EFI_BOOT_EXIT_TYPE’,‘FOG_PXE_MENU_TIMEOUT’,‘FOG_PXE_MENU_HIDDEN’,‘FOG_PXE_ADVANCED’,‘FOG_KEY_SEQUENCE’,‘FOG_NO_MENU’,‘FOG_BOOT_EXIT_TYPE’,‘FOG_PXE_HIDDENMENU_TIMEOUT’,‘FOG_IPXE_MAIN_COLOURS’,‘FOG_IPXE_MAIN_CPAIRS’,‘FOG_IPXE_MAIN_FALLBACK_CPAIRS’,‘FOG_IPXE_VALID_HOST_COLOURS’,‘FOG_IPXE_INVALID_HOST_COLOURS’,‘FOG_IPXE_HOST_CPAIRS’,‘FOG_IPXE_BG_FILE’);

                                          @george1421 helped out with sorting the command 😉

                                          ║▌║█║▌│║▌║▌█

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

                                          92

                                          Online

                                          12.2k

                                          Users

                                          17.4k

                                          Topics

                                          155.6k

                                          Posts
                                          Copyright © 2012-2025 FOG Project