• 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

      r1405 released.

      Fixes a redirection issue when updating modules from the FOG Configuration page.

      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
      • R
        rayhaque
        last edited by

        Some others have mentioned problems having their FTP and storage node in separate places. I too experienced this problem. I was able to hack together a fix for myself. But asking people to enable FTP on their NAS (not possible most of the time) or to go in and rename the files yourself (my help desk can’t do this) is just not helpful.

        Here is my “diff” of /var/www/fog/service/Post_Stage2.php:
        [PHP]89c89
        < echo _(“FTP connection to TFTP Server has failed!”);

                                                 echo _("FTP connection to TFTP Server has failed! - in stage 1");
        

        94c94
        < @ftp_close($ftp);

                                         // @ftp_close($ftp);
        

        96,98c96,98
        < $ftp = ftp_connect( $nodeip );
        < $ftp_loginres = ftp_login($ftp, $nodeuser, $nodepass);
        < if ((!$ftp) || (!$ftp_loginres ))

                                         //$ftp = ftp_connect( $nodeip );
                                         //$ftp_loginres = ftp_login($ftp, $nodeuser, $nodepass);
        

        /* if ((!$ftp) || (!$ftp_loginres ))
        100c100
        < echo _(“FTP connection to Storage Server has failed!”);


                                                 echo _("FTP connection to Storage Server has failed! in stage 2");
        

        102a103

        */
        [/PHP]

        Basically I am just removing the part that hangs up and re-establishes a new FTP connection, as the current FTP connection is the correct FTP in my case.

        Why not re-write this to check for a boolean value, and then include that in the web configuration pages as “Separate NAS in use”, or something like that?

        EDIT: To clarify, I am referring to the WiKi (Separate NFS Server): KNOWN ISSUE You will get an error “Ftp connection to storage server has failed” at the end of uploading images though. You will have to manually rename and move the file from the dev directory to the directory below.
        [url]http://www.fogproject.org/wiki/index.php?title=FOGUserGuide[/url]

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

          r1406 and 1407 released.

          1406 fixes an issue with the printer manager issue as the legacy class was removed.

          1407 just moves the endsWith function to the FOGBase class so it can be called with fog core.

          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

            r1408 released.

            Updates the kernel information to 3.14.

            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

              r1410 released.

              Fixes the kernel updater on the GUI. Moves the ftp to the class FOGFTP in kernel-fetcher.php Removes the buildSelectBox() from imagemanager class file. Various other fixes/tweaks as well.

              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

                r1411 released.

                More fixes/tweaks. Moves attemptLogin to FOGCore rather than UserManager and uses class methods to verify if it’s good rather than a direct call to the database. More legacy stuff removed/changed.

                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

                  r1412 released.

                  Removes ScreenResolution.class.php as nothing was using it. More cleanups throughout.

                  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
                  • E
                    erod20
                    last edited by

                    Hi Tom,

                    The Multiple Partition Image All disks is not working. I can create the image and see that it backs up all the drives, but it only restores to one. The drives are a ssd and a mechanical drive. The ssd is the boot drive and the other is just for storage. Both drives are ntfs with XP as the OS. The one that get restore is the mechanical drive. This works in 0.32.

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

                      erod20,

                      I am currently testing a multipart all disk image and all is working perfectly fine. Can you try setting up the task for this system as download-debug an just run the command fog at the prompt when it comes up?

                      Everything looks write in the code so I want to verify that it’s detecting your drives in the right order.

                      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
                      • E
                        erod20
                        last edited by

                        I get a fatal error unknown request type Null

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

                          You didn’t setup the task as a debug task. The download task is still setup from the GUI. From the host choose advanced options, then Download - Debug.

                          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
                          • E
                            erod20
                            last edited by

                            I did that. That is what I get. Here is a picture if you need.

                            [url=“/_imported_xf_attachments/0/626_IMAG0050.jpg?:”]IMAG0050.jpg[/url]

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

                              The picture you’re showing me is the system just having chosen the debug menu, not the download tasking.

                              A download debug task should startup as:

                              [ATTACH=full]628[/ATTACH]

                              Notice the differnece between yours and mine?

                              [url=“/_imported_xf_attachments/0/628_Screenshot-Untitled Window.png?:”]Screenshot-Untitled Window.png[/url]

                              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
                              • E
                                erod20
                                last edited by

                                Here is the picture of the same as you showed me.

                                [url=“/_imported_xf_attachments/0/629_IMAG0051.jpg?:”]IMAG0051.jpg[/url]

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

                                  And what type of task are you scheduling exactly?

                                  I see the “type” field in your’s is blank.

                                  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
                                  • E
                                    erod20
                                    last edited by

                                    I had to type fog.debug to get that. If I just run fog I get a null error.

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      wolfemi
                                      last edited by

                                      Tom,
                                      I am getting an error when searching for a host. I thought it might be a typo with the getClassd but when I changed that it to match line 79 it still didn’t work.

                                      [CENTER][FONT=Ubuntu][COLOR=#555555]Search failed: Invalid JSON: [/COLOR][/FONT][/CENTER]
                                      [B][CENTER][FONT=Ubuntu][COLOR=#555555]Fatal error[/COLOR][/FONT][/CENTER][/B][CENTER][FONT=Ubuntu][COLOR=#555555]: Call to undefined method FOGCore::getClassd() in [/COLOR][/FONT][/CENTER][B][CENTER][FONT=Ubuntu][COLOR=#555555]/var/www/fog/lib/pages/HostManagementPage.class.php [/COLOR][/FONT][/CENTER][/B][CENTER][FONT=Ubuntu][COLOR=#555555]on line [/COLOR][/FONT][/CENTER][B][CENTER][FONT=Ubuntu][COLOR=#555555]113[/COLOR][/FONT][/CENTER][/B]

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

                                        Unfortunately there’s an issue with sourceforge and svn at the moment.

                                        Line 113 should read:
                                        [php]$LA = ($LocPluginInst ? current($this->FOGCore->getClass(‘LocationAssociationManager’)->find(array(‘hostID’ => $Host->get(‘id’)))) : ‘’);[/php]

                                        Just change it to match that and all should work. I’m also going to guess you’ve enabled the LocationPlugin on your system?

                                        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
                                        • W
                                          wolfemi
                                          last edited by

                                          That is what I had changed it to but it was still giving me an error. You are correct I do have the LocationPlugin enabled.

                                          Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/pages/HostManagementPage.class.php on line 113

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

                                            Did you recently remove a location? It sounds like it’s throwing the error because it can’t find the location within the database anymore. I’m not seeing the same error though. I’ve added the location plugin, created a location, joined a system to the location, deleted that said location, and took a look at the host again. It just has a blank spot where the location dropdown should be.

                                            Are you on the most current revision by chance?

                                            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
                                            • 1
                                            • 2
                                            • 65
                                            • 66
                                            • 67
                                            • 68
                                            • 69
                                            • 77
                                            • 78
                                            • 67 / 78
                                            • First post
                                              Last post

                                            159

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project