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

    Fog 0.33b Snappin deployment

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    128
    87.2k
    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.
    • Greg PlamondonG
      Greg Plamondon Testers
      last edited by

      [quote=“Tom Elliott, post: 22243, member: 7271”]That’s why you knew something wasn’t working right.

      It does make me wonder though, should I through exception, or just print that the system isn’t going to join the domain?

      I’m guessing, based on this, a print is what’s needed. I’ll make that change and release as well.[/quote]
      ok, let me know, I am ready to pull the trigger on the next release.

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

        r1164 released. Hopefully fixes ntfsresize for xp, specifically does ntfsresize for win7. Also changes from throw exception, to print in hostname.

        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
        • Greg PlamondonG
          Greg Plamondon Testers
          last edited by

          Good news! as soon as I upgraded to R1164 the PC that was setting here already images rebooted twice. once for the hostname and once for the domain.
          I am now trying to re-image it and see how that goes.

          1 Reply Last reply Reply Quote 0
          • Greg PlamondonG
            Greg Plamondon Testers
            last edited by

            I did however come accross another bug, If the machine does not image for some reason or another and you have snapins associated with the PC, active snapins start to pile up with no way to kill/cancel them.

            [IMG]http://imagizer.imageshack.us/v2/800x600q90/191/rjum.png[/IMG]

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

              There is a way to kill them, just your icon’s not showing.

              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
              • Greg PlamondonG
                Greg Plamondon Testers
                last edited by

                [quote=“Tom Elliott, post: 22256, member: 7271”]There is a way to kill them, just your icon’s not showing.[/quote]
                mysql
                truncate activeTasks;

                1 Reply Last reply Reply Quote 0
                • Greg PlamondonG
                  Greg Plamondon Testers
                  last edited by

                  ok all is good! it imaged fine, I am waiting to see if the snapin loads or not.

                  1 Reply Last reply Reply Quote 0
                  • Greg PlamondonG
                    Greg Plamondon Testers
                    last edited by

                    snapin is not loading…
                    Here is a snippet from the log.
                    [CODE]1/30/2014 3:41 PM FOG::ClientUpdater Checking Status : UserTracker.dll
                    1/30/2014 3:41 PM FOG::ClientUpdater Zero byte response returned
                    1/30/2014 3:41 PM FOG::ClientUpdater Checking Status : config.ini
                    1/30/2014 3:41 PM FOG::ClientUpdater Zero byte response returned
                    1/30/2014 3:41 PM FOG::ClientUpdater The remote server returned an error: (500) Internal Server Error.
                    1/30/2014 3:41 PM FOG::ClientUpdater at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
                    at System.Net.WebClient.DownloadString(Uri address)
                    at System.Net.WebClient.DownloadString(String address)
                    at FOG.SnapinClient.getAllPublishedModules()
                    at FOG.SnapinClient.startUpdate()
                    1/30/2014 3:41 PM FOG::ClientUpdater Client update will be applied during next service startup.
                    1/30/2014 3:41 PM FOG::ClientUpdater Client update process complete, exiting…
                    1/30/2014 3:42 PM FOG::SnapinClient Attempting to connect to fog server…
                    1/30/2014 3:42 PM FOG::SnapinClient Module is active…
                    1/30/2014 3:42 PM FOG::SnapinClient No Tasks found for: 00:25:64:BD:7D:1A[/CODE]

                    1 Reply Last reply Reply Quote 0
                    • Greg PlamondonG
                      Greg Plamondon Testers
                      last edited by

                      Permissions issue in apache?

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

                        That’s because it’s looking for a snapin task from the tasks page, I’ll take a look though, give me a minute or two.

                        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

                          r1165 being released to address this.

                          It’s good to know the validation stuff was working though, even if it was “too” much.

                          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
                          • Greg PlamondonG
                            Greg Plamondon Testers
                            last edited by

                            R1165
                            should I kill the pre-existing snapin task and start a new task?

                            [CODE]1/30/2014 4:48 PM FOG::PrinterManager Waiting for tray to load…
                            1/30/2014 4:48 PM FOG::UserTracker Record processed by server!
                            1/30/2014 4:52 PM FOG::SnapinClient Attempting to connect to fog server…
                            1/30/2014 4:52 PM FOG::SnapinClient Module is active…
                            1/30/2014 4:52 PM FOG::SnapinClient The remote server returned an error: (500) Internal Server Error.
                            1/30/2014 4:52 PM FOG::SnapinClient at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
                            at System.Net.WebClient.DownloadString(Uri address)
                            at System.Net.WebClient.DownloadString(String address)
                            at FOG.SnapinClient.startWatching()
                            [/CODE]

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

                              Yeah,
                              I’m starting to think it’s returning the error because it can’t find the address, like you have a different /var/www/fog dir (maybe /var/www/html/fog?)

                              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
                              • Greg PlamondonG
                                Greg Plamondon Testers
                                last edited by

                                [PHP]root@10Fogserver:/var/www/fog# ls
                                av client commons favicon.ico index.php lib management mobile public service status wol
                                [/PHP]

                                [PHP]
                                drwxr-xr-x 12 www-data www-data 4.0K Jan 30 16:50 .
                                drwxr-xr-x 3 root root 4.0K Jan 30 16:50 …
                                drwxr-xr-x 2 www-data root 4.0K Jan 30 16:50 av
                                drwxr-xr-x 3 www-data www-data 4.0K Jan 30 16:50 client
                                drwxr-xr-x 4 www-data www-data 4.0K Jan 30 16:50 commons
                                -rw-r–r-- 1 www-data www-data 1.4K Jan 30 16:50 favicon.ico
                                -rw-r–r-- 1 www-data www-data 53 Jan 30 16:50 index.php
                                drwxr-xr-x 7 www-data www-data 4.0K Jan 30 16:50 lib
                                drwxr-xr-x 15 www-data www-data 4.0K Jan 30 16:50 management
                                drwxr-xr-x 6 www-data www-data 4.0K Jan 30 16:50 mobile
                                drwxr-xr-x 4 www-data www-data 4.0K Jan 30 16:50 public
                                drwxr-xr-x 3 www-data www-data 4.0K Jan 30 16:50 service
                                drwxr-xr-x 3 www-data www-data 4.0K Jan 30 16:50 status
                                drwxr-xr-x 3 www-data www-data 4.0K Jan 30 16:50 wol
                                root@10Fogserver:/var/www/fog#

                                [/PHP]

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

                                  Can you look at the access logs for “snapins.checkin.php”?

                                  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
                                  • Greg PlamondonG
                                    Greg Plamondon Testers
                                    last edited by

                                    [CODE]root@10Fogserver:/var/log/apache2# cat access.log |grep snapins.checkin.php
                                    10.10.140.57 - - [30/Jan/2014:16:34:06 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.123 - - [30/Jan/2014:16:37:27 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.112 - - [30/Jan/2014:16:38:08 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.122 - - [30/Jan/2014:16:39:02 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 200 279 “-” “-”
                                    10.10.140.57 - - [30/Jan/2014:16:39:13 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.123 - - [30/Jan/2014:16:42:34 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.112 - - [30/Jan/2014:16:43:15 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.122 - - [30/Jan/2014:16:44:09 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 200 279 “-” “-”
                                    10.10.140.57 - - [30/Jan/2014:16:44:20 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.123 - - [30/Jan/2014:16:47:41 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.112 - - [30/Jan/2014:16:48:22 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.122 - - [30/Jan/2014:16:49:16 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 200 279 “-” “-”
                                    10.10.140.57 - - [30/Jan/2014:16:49:27 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.123 - - [30/Jan/2014:16:52:48 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 500 313 “-” “-”
                                    192.168.10.112 - - [30/Jan/2014:16:53:29 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.122 - - [30/Jan/2014:16:54:23 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 500 313 “-” “-”
                                    10.10.140.57 - - [30/Jan/2014:16:54:34 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.123 - - [30/Jan/2014:16:57:55 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 500 313 “-” “-”
                                    192.168.10.112 - - [30/Jan/2014:16:58:36 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.122 - - [30/Jan/2014:16:59:30 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 500 313 “-” “-”
                                    10.10.140.57 - - [30/Jan/2014:16:59:41 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
                                    192.168.10.123 - - [30/Jan/2014:17:03:02 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 500 313 “-” “-”
                                    root@10Fogserver:/var/log/apache2#[/CODE]

                                    192.168.10.123 - - [30/Jan/2014:17:03:02 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 500 313 “-” “-”
                                    this is my host.

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

                                      What’s the error logs say?

                                      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
                                      • Greg PlamondonG
                                        Greg Plamondon Testers
                                        last edited by

                                        [PHP][Thu Jan 30 16:52:48 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
                                        [Thu Jan 30 16:54:23 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
                                        [Thu Jan 30 16:57:55 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
                                        [Thu Jan 30 16:59:30 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
                                        [Thu Jan 30 17:03:02 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
                                        [Thu Jan 30 17:04:38 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
                                        [Thu Jan 30 17:08:09 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
                                        [Thu Jan 30 17:09:45 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
                                        [Thu Jan 30 17:13:16 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
                                        [Thu Jan 30 17:14:52 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
                                        [Thu Jan 30 17:18:23 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
                                        [/PHP]

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

                                          It’s as I suspected.

                                          I had the checks for the task happening. Because the way your snapins are being deployed, the Task Variable wasn’t setup.

                                          So the “get() on a non-object” is absolutely true. Already have a fix, and sending down the pipelines.

                                          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
                                          • Greg PlamondonG
                                            Greg Plamondon Testers
                                            last edited by

                                            [quote=“Tom Elliott, post: 22280, member: 7271”]It’s as I suspected.

                                            I had the checks for the task happening. Because the way your snapins are being deployed, the Task Variable wasn’t setup.

                                            So the “get() on a non-object” is absolutely true. Already have a fix, and sending down the pipelines.[/quote]
                                            nice!

                                            I cant believe I haven’t obtained the status of Beta Tester yet! 😉 I saw one for posting over 30 messages lol

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 5 / 7
                                            • First post
                                              Last post

                                            132

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project