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

Latest FOG 0.33b

Scheduled Pinned Locked Moved
General
77
1.6k
5.9m
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.
  • A
    Albatros
    last edited by Nov 5, 2013, 11:25 AM

    [quote=“Tom Elliott, post: 19574, member: 7271”]@Albatros,
    If you delete the Active Task for the host, but leave the snapin task, for now, it will deploy the snapin’s as expected. I haven’t figured out a good method yet to getting the snapin deployment only to operate.[/quote]

    If I removed the task from the active tasks and let the snapin tasks running, I get an error in the fog service log file, that the file couldn’t be downloaded. Looks like that the parameters aren’t that are given to download the file aren’t correct.

    To the tasks, couldn’t be possible to write a method that counts all task that are not snapins tasks?

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Nov 6, 2013, 3:06 AM

      I’m looking into the file download issue, but I think I’ve got the fix for that already.

      I don’t know if I uploaded the commit for that yet, but I think this should do the trick:

      In file:
      [code]{fogwebdir}/service/snapins.file.php[/code]

      Edit the line that has this: (ON OR AROUND LINE 55)
      [php]@readfile($snapinTask->getSnapin()->get(‘file’));[/php]

      Make it say:
      [php]@readfile( $GLOBALS[‘FOGCore’]->getSetting(‘FOG_SNAPINDIR’).‘/’.$snapinTask->getSnapin()->get(‘file’)); [/php]

      That should get you back to downloading the file and the system should try installing the file after that.

      I’ll try to look into this to make sure this works as expected in the next day or two.

      As for the methods, the problem isn’t so much the task itself, but because you can Schedule it, it actually creates an Image Task based on the current system. I suppose I could add the method to delete the image task after creating it if it’s the Snapin types, but I have to figure out the best approach first.

      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
      • K
        KyroDK
        last edited by Nov 6, 2013, 9:04 AM

        [quote=“Tom Elliott, post: 19575, member: 7271”]@KyroDK

        Can you attempt multicast task and when this is trying to run, attach a copy of the apache error logs. I can try to see why it’s not working. I haven’t had much time to play with multicast especially as I don’t create multicast jobs where I work. So it’s not something I’m fully aware of yet.[/quote]

        The log file is from where I tried to multicast to 2 PC’s.

        [url=“/_imported_xf_attachments/0/432_error.zip?:”]error.zip[/url]

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Nov 6, 2013, 11:30 AM

          Based on my findings in your log file @KyroDK, it’s because the checkIn Function doesn’t exist in any of the files if found. It’s called, but doesn’t exist which is why you’re seeing this problem.

          I’ll add this function and try to get this reposted for you today.

          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
            Tom Elliott
            last edited by Nov 6, 2013, 11:36 AM

            r993 is out.

            Should contain the function that was missing for Multicast and hopefully allow download of the snapin files from the proper location now.

            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
              Tom Elliott
              last edited by Nov 6, 2013, 11:38 AM

              r994 is out.

              Has the fix for the functions.include.php file for checkIn. Commited in wrong dir originally so it only updated that directory before.

              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
              • V
                variable205
                last edited by Nov 6, 2013, 7:05 PM

                You Rock Tom! Keep it coming man! I can’t wait for the first stable release of 0.33!!

                1 Reply Last reply Reply Quote 0
                • L
                  lanfeu
                  last edited by Nov 10, 2013, 11:21 AM

                  hi Tom

                  thanks for your the work on fog 0.33b

                  here some files to correct a bug with quick host registration

                  [url=“/_imported_xf_attachments/0/434_HostManager.class.php?:”]HostManager.class.php[/url][url=“/_imported_xf_attachments/0/435_auto.register.php?:”]auto.register.php[/url]

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Nov 10, 2013, 4:24 PM

                    What’s the bug you’re saying these files correct?

                    I looked at the differences between these files and the only differences in HostManager.class.php is that You moved the isValidMACAddress function and removed the isSafeHostName function. The only auto.register.php difference is instead of using isSafeHostName you’re trying to have it use isHostnameSafe, which for all intents and purposes, they’re the same function.

                    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
                    • L
                      lanfeu
                      last edited by Nov 10, 2013, 6:33 PM

                      hi
                      line 49 in auto.register.php the fonction $GLOBALS[‘FOGCore’]->getClass(‘HostManager’)->isValidMACAddress( $mac )
                      was call but didn’t exist in hostmanagerclass.php this issue create a loop when you wanted to boot on pxe with quick host registration
                      it was the same issue with line 58 $GLOBALS[‘FOGCore’]->getClass(‘HostManager’)->isSafeHostName( $macsimple ) ) fonction didn’t exist but $GLOBALS[‘FOGCore’]->getClass(‘HostManager’)->isHostNameSafe( $macsimple ) )

                      those 2 fonctions didn’t exist anymore on the last functions.include.php
                      isSafeHostName
                      isValidMACAddress

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Nov 10, 2013, 11:16 PM

                        I think I understand now. I’ve made quite a few changes, but for some reason I haven’t updated all the files.

                        I’m doing that now.

                        Sorry about that.

                        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
                          Tom Elliott
                          last edited by Nov 10, 2013, 11:18 PM

                          r995 is out with the fixes lanfeu saw. I’m sorry I missed that earlier.

                          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
                          • K
                            KyroDK
                            last edited by Nov 11, 2013, 12:31 PM

                            Just downloaded fog from [url]https://mastacontrola.com/fog_0.33b.tar.bz2[/url] and tried installing it on Ubuntu 12.04.3 LTS and got this install error : (sorry about the Danish text ^^, I might make ubuntu english the next time I reinstall)

                            Is there a better way of getting up2date fog0.33 beta builds?

                            Configuring services.

                            • Setting up fog user…OK
                            • Setting up and starting MySql…OK
                            • Backing up user reports…OK
                            • Setting up and starting Apache Web Server…OK
                            • Restoring user reports…OK
                            • Configuring Fresh Clam…OK
                            • Setting up storage…OK
                            • Setting up and starting NFS Server…OK
                            • Setting up and starting DHCP Server…/lib/ubuntu/functions.sh: line 357: : Ingen sådan fil eller filkatalog Skipped
                            • Setting up and starting TFTP and PXE Servers…OK
                            • Setting up and starting VSFTP Server…OK
                            • Setting up sudo settings…OK
                            • Setting up FOG Snapins…OK
                            • Setting up and building UDPCast…OK
                              …/lib/common/functions.sh: line 161: cd: /home/gympc/Hentede: Ingen sådan fil eller filkatalog
                            • Installing init scripts…cp: kan ikke udføre stat() på ‘…/packages/init.d/ubuntu/*’: Ingen sådan fil eller filkatalog
                              chmod: kan ikke tilgå ‘/etc/init.d/FOGMulticastManager’: Ingen sådan fil eller filkatalog
                              chmod: kan ikke tilgå ‘/etc/init.d/FOGImageReplicator’: Ingen sådan fil eller filkatalog
                              chmod: kan ikke tilgå ‘/etc/init.d/FOGScheduler’: Ingen sådan fil eller filkatalog
                              OK
                            • Setting up FOG Servicescp: kan ikke udføre stat() på ‘…/packages/service/*’: Ingen sådan fil eller filkatalog
                              …OK
                              …/lib/ubuntu/functions.sh: line 64: /opt/fog/service/etc/config.php: Ingen sådan fil eller filkatalog
                            • Starting FOG Multicast Management Server…Failed!
                            1 Reply Last reply Reply Quote 0
                            • T
                              Tom Elliott
                              last edited by Nov 11, 2013, 12:59 PM

                              Try redownloading the file and then installing.

                              Also, the best method is to use the SVN Checkout for getting the files.

                              [code]cd ~
                              svn co https://svn.code.sf.net/p/freeghost/code/trunk fog_0.33b[/code]

                              If you’ve already downloaded the svn copy, just cd into it’s directory and type svn update.

                              [code]
                              cd ~/fog_0.33b
                              svn update[/code]

                              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
                                Tom Elliott
                                last edited by Nov 13, 2013, 12:03 AM

                                @KyroDK,

                                When you’re performing the install, are you in trunk/bin or you in some other directory and called the install script as something like:
                                [code]./trunk/bin/installfog.sh[/code]

                                It seems that it’s not finding the …/packages/init.d/ubuntu directory as it’s not calling the install script from the bin directory.

                                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
                                • K
                                  KyroDK
                                  last edited by Nov 13, 2013, 8:13 AM

                                  [quote=“Tom Elliott, post: 19807, member: 7271”]@KyroDK,

                                  When you’re performing the install, are you in trunk/bin or you in some other directory and called the install script as something like:
                                  [code]./trunk/bin/installfog.sh[/code]

                                  It seems that it’s not finding the …/packages/init.d/ubuntu directory as it’s not calling the install script from the bin directory.[/quote]

                                  I downloaded it again using SVN and it seems to install fine.
                                  I just downloaded it to my home folder, then cd into the fog0.33b/bin folder and run the install script from there.
                                  I have not testing anything other then quick add a PC, but I will test multicast soon.

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    KyroDK
                                    last edited by Nov 13, 2013, 10:42 AM

                                    Multicast now stops at the blue screen with the text “Please wait…” on all the client pc’s

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      Tom Elliott
                                      last edited by Nov 13, 2013, 11:36 AM

                                      I’m still working on implementing the MC code as it doesn’t exist. If you need to image, I’d say start by trying to do Unicast. It’ll probably be a bit before I can get to Multicast on a broad scale.

                                      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
                                        Timelord83
                                        last edited by Nov 17, 2013, 3:40 AM

                                        What Version and distro are you using this 0.33b on? i’d love to try it out.

                                        1 Reply Last reply Reply Quote 0
                                        • falkoF
                                          falko Moderator
                                          last edited by Nov 17, 2013, 3:41 AM

                                          I use Ubuntu Server 10.04.04

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 7
                                          • 8
                                          • 9
                                          • 10
                                          • 11
                                          • 77
                                          • 78
                                          • 9 / 78
                                          9 / 78
                                          • First post
                                            168/1559
                                            Last post

                                          156

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project