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

    Fog 0.33b Snappin deployment

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    128
    81.6k
    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

      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
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              r1167 released, hopefully addresses this issue 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
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                I don’t know that these forums have status’ like that.

                                I obtained Developer because I was requested to be one. Otherwise, with over 500 messages, I was still “Member”

                                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

                                  I was just kidding…

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

                                    I can request if we have a “Beta Tester” Status field!

                                    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

                                      Woot!

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

                                        I agree with you though.

                                        It would be nice to have different people with different titles. This way we know who we can go to for help/testing/developing/forum issues, etc…

                                        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

                                          BTW I love the Joe “Dee err Tay” pic.

                                          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

                                            er i mean DANG!
                                            <---------

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

                                            167

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project