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

    Latest FOG 0.33b

    Scheduled Pinned Locked Moved
    General
    77
    1.6k
    6.0m
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      Anyone Here handy with debugging scripts?

      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
      • T
        Troye Johnson
        last edited by

        Hey tom how you been. I can take a look and ask around and see if I can find any issues with it

        Fog Server information

        Cent OS 7
        Running Version 1.5.2

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

          If you’re up-to-date on the revision (current 1195) then please take a look in src/buildroot/package/fog/scripts/bin/fog.download

          There’s some bug in there I’m unable to track down. I’m guessing it’s between the MBR parts and the Partclone parts, but I just can’t see 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
          • J
            jbsclm Developer
            last edited by

            A couple of bugs in fog configuration, pxe boot menu page, under advanced configuration options.

            1. textarea box not being populated with FOG_PXE_ADVANCED setting from globalSetting table.
            2. FOG_PXE_ADVANCED, only written to pxemenu, not saved to globalSetting table as well.
              I’ve also increased the size of the text area.
              Relevant for us as we have several other entries in the boot menu, dell diags etc.

            fixed in the attached file.

            [url=“/_imported_xf_attachments/0/538_FOGConfigurationPage.class.zip?:”]FOGConfigurationPage.class.zip[/url]

            1 Reply Last reply Reply Quote 0
            • T
              Troye Johnson
              last edited by

              Ok I am looking into it now.

              Fog Server information

              Cent OS 7
              Running Version 1.5.2

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

                I will definitely take a look. I am preparing to go to the hospital for a CT Scan and possibly biopsy, so I’ll be out for a couple hours probably.

                When I get back, so long as I’m not drugged too badly, I’ll try to correct this.

                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
                • T
                  Troye Johnson
                  last edited by

                  ok good luck man take care.

                  Fog Server information

                  Cent OS 7
                  Running Version 1.5.2

                  1 Reply Last reply Reply Quote 0
                  • J
                    jbsclm Developer
                    last edited by

                    Hope all OK, been through similar myself.

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

                      Alright so I’m a work horse.

                      r1196 released. I made some more changes to init.gz though I doubt they’ll work so will need more debugging I’m sure.

                      FOG Configuration page now saves the PXE Advanced, though slightly different than how jbsclm recommended, it’s ultimately the same.

                      Thank you,

                      I’ll see you all later.

                      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

                        r1197 released to fix a typo i made for the advanced Text info stuff.

                        It should display if there’s information to pull from FOG_PXE_ADVANCED

                        If not, it works like we’re used to.

                        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
                        • P
                          pmonstad
                          last edited by

                          I’m still using FOG 0.32. I really miss two features: in image manager i’d like to know the date of when latest upload of the image was done. Knowing the date of when it was created is of no use, I think. Could this be implemented? In the client manager i’d like to know when each host had the latest deploy. Deploying a lot of notebooks now and then it not done by deploying a whole group as I deploy a machine when an employer come to my office with problems. It is quite hard to keep track of who I have to get in contact with as it it long time since last deploy. If the latest deploy date could easily be displayed in the host list that would be nice. Any thoughts about this?

                          1 Reply Last reply Reply Quote 0
                          • Jaymes DriverJ
                            Jaymes Driver Developer
                            last edited by

                            I like that pmonstad. I too have my curiosities as to when a machine is imaged. Sometimes I have a machine go down mid year and it gets my updated image, I would like to not image him again if possible. If I had a section of the GUI that output the last time I imaged the guy, I would know to skip it and keep on trucking.

                            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

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

                              What about the task management page? It now supports searching and should show the time it was performed. It sorts by the id of the task number in desc order so the host on top was the most recent task.

                              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
                              • Jaymes DriverJ
                                Jaymes Driver Developer
                                last edited by

                                [quote=“Tom Elliott, post: 22561, member: 7271”]What about the task management page? It now supports searching and should show the time it was performed. It sorts by the id of the task number in desc order so the host on top was the most recent task.[/quote]

                                Yes but it doesn’t list the date so I don’t know if i has my “most recent” image on it already or not 😞

                                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

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

                                  What do you mean? It shows the start date of the job. Though there could be some delay in the task it shouldn’t be too far off of an accurate picture of when the job happened. I will be adding searching based on image name in the near future though.

                                  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
                                  • Jaymes DriverJ
                                    Jaymes Driver Developer
                                    last edited by

                                    [quote=“Tom Elliott, post: 22563, member: 7271”]What do you mean? It shows the start date of the job. Though there could be some delay in the task it shouldn’t be too far off of an accurate picture of when the job happened. I will be adding searching based on image name in the near future though.[/quote]

                                    Hmm maybe we aren’t on the same page… I don’t mean an active task, I mean a task that is already completed. I don’t see that information (I am only accessing 0.32 at the moment though.) When I search the Task Management it will display all the hosts in sequential number order, regardless of last time I imaged, or image used.

                                    Sometimes I upload a few images, Student Summer, and Student Winter. Student Winter being the image I blast on them all right before State testing time.

                                    To be specific I have a lab in room 406 used by students in my Redding building. They live under the naming convention “RS406-*” I re-imaged RS406-18 three days ago, when I look in the Task managment, I do not see this host listed at the top even though it was the most recent task. If I enter “RS406” and search all the hosts are displayed RS406-1 all the way to RS406-32 in numerical order.

                                    I would instead like to be displayed with something to the affect of
                                    [code]
                                    Host Name MAC Deploy Image Used Upload Date Imaged Advanced
                                    RS406-18 00:24:21:xx:xx:xx Student Winter 02/03/2014
                                    [/code]
                                    NOW I do NOT think this is a make or break feature, definitely a Luxury 🙂

                                    Definitely not a concerning piece, or an important piece. Maybe if things get slow one day 😛

                                    WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jbsclm Developer
                                      last edited by

                                      Hi Tom, hope you are feeling OK. just checking out your 1197 version of FOGConfigurationPage.Class.php, unfortunately it still has problems
                                      It doesn’t populate the text area, due to “print” missing on line 423.

                                      Line 423 needs to be as below, I’ve also increased the height of the text box from 5 to 25, to make it more usable for those of us who have several other boot menu entries.
                                      <textarea rows=“25” cols=“64” name=“adv”><?php print $this->FOGCore->getSetting( “FOG_PXE_ADVANCED” ) ?></textarea></div></td>

                                      also it doesn’t save the setting to “FOG_PXE_ADVANCED” due to a typo on line 479
                                      if ($advandedOpts)
                                      should be
                                      if ($advancedOpts)
                                      However even after this is corrected, submitting with the textarea empty results in the database not being updated, although the pxe menu file is updated.
                                      Omitting line 479 means that the extra menu items are removed from both the database and the pxe menu.
                                      If you leave the line in you would need to include lines 480 to 484 in the if statement, however this would mean that you couldn’t remove the extra items.
                                      Hope this makes sense.

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

                                        I think I know what you’re saying.

                                        I made a typo, sorry quick implementation before I had to go to the doctors.

                                        I understand to that the if means it only updates the information if there’s data in the text area. There may be times we don’t care about the data, so removing the if statement is probably the more logical choice.

                                        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

                                          r1199 released to fix that.

                                          Sorry about the oversight.

                                          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
                                          • J
                                            jbsclm Developer
                                            last edited by

                                            Thanks.
                                            Just one more thing, can you increase the height of the textarea box, currently set at 5, which makes it a pain when we have several extra menu items.
                                            It is line 423, change rows=“5” to rows=“25”;
                                            Other than that the code looks OK, I’ll test properly tomorrow.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 41
                                            • 42
                                            • 43
                                            • 44
                                            • 45
                                            • 77
                                            • 78
                                            • 43 / 78
                                            • First post
                                              Last post

                                            146

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project