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

    Cannot run snapins

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    15
    4.8k
    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

      so
      run this command:
      in mysql for that job so you can schedule other deployments.
      [code]UPDATE snapinJobs SET sjStateID=‘2’ WHERE sjID=‘8’;[/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
      • D
        dislikeusernames
        last edited by

        That appears to have done it. Thank you!

        What does that command do? Is it something I will have to run on future installations?

        Also, is there a good documentation page or tutorial on Snapins? I still don’t understand the difference adding a snapin through the host as opposed to through Task Management. Deleting snapins I’ve added doesn’t seem to unschedule them. I can’t choose which snapin to run when I click Single Snapin in Task Scheduler… I’m sure I’m doing this wrong or don’t quite understand it, but I haven’t been able to find a good page that explains the details of how Snapins work. Thanks again, Tom!

        1 Reply Last reply Reply Quote 0
        • D
          dislikeusernames
          last edited by

          Anyone?

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

            There are some issues with how snapins close out when run on a larger scale. I can only hope I’ve fixed it in SVN, and am just awaiting test results.

            Documentation is fairly scarce, but have you looked at the WIKI that explains snapins and what they do?
            [url]http://fogproject.org/wiki/index.php/Make_Snapins_Using_FOSS[/url] #How to create a snapin.
            [url]http://fogproject.org/wiki/index.php/Supported_Snapin's_and_Command_Line_Switches[/url] #How to use the argument switch parts.
            [url]http://fogproject.org/forum/threads/how-to-make-a-simple-snapin-start-to-finish.304/[/url] #More indepth how to make them.

            Their purpose is to install files to a system after it’s been images, or just to install software without the need to reimage.

            Deleteing Snapins doesn’t unschedule them? I may need to look at that in the code for this.

            Can’t choose which snapin to choose when you click from Task Manager. This is correct, I haven’t implemented it fully yet and am still trying to think of the logic on how to do this. It should, however, deploy all snapins even from the Single Snapin deploy menu item.

            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
            • D
              dislikeusernames
              last edited by

              I know this is a late reply, but thank you for all your help. I have it working now.

              1 Reply Last reply Reply Quote 0
              • B
                bveiga
                last edited by

                hi,
                i´m running version 2353,when i create a task for a computer that have a snapin assigned, the snapin task create two tasks for the snapin and the snapin is not deployed for the computer, im running Ubuntu 12.04, can you help me please?
                the snapin is a .cmd file with 340 kb.
                after checking the error log i´ve got this message:

                [Wed Oct 01 14:31:10 2014] [error] [client 10.7.107.11] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/fog/FOGBase.class.php on line 409, referer: [url]http://10.0.16.133/fog/management/index.php?node=tasks&sub=active-snapins[/url]

                best regards and sorry for my bad english
                bruno veiga

                1 Reply Last reply Reply Quote 0
                • JunkhackerJ
                  Junkhacker Developer
                  last edited by

                  [quote=“bveiga, post: 37217, member: 24091”]hi,
                  i´m running version 2353,when i create a task for a computer that have a snapin assigned, the snapin task create two tasks for the snapin and the snapin is not deployed for the computer, im running Ubuntu 12.04, can you help me please?
                  the snapin is a .cmd file with 340 kb.
                  after checking the error log i´ve got this message:

                  [Wed Oct 01 14:31:10 2014] [error] [client 10.7.107.11] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/fog/FOGBase.class.php on line 409, referer: [url]http://10.0.16.133/fog/management/index.php?node=tasks&sub=active-snapins[/url]

                  best regards and sorry for my bad english
                  bruno veiga[/quote]

                  [url]http://fogproject.org/forum/threads/duplicate-snapin-task-and-error-deploying.11764/[/url]

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bveiga
                    last edited by

                    [quote=“Junkhacker, post: 37231, member: 21583”][url]http://fogproject.org/forum/threads/duplicate-snapin-task-and-error-deploying.11764/[/url][/quote]

                    hi, hi had to go to a meeting but now i´m here, sorry i don’t know where you posted the answer, i admire your work and im very thankful

                    1 Reply Last reply Reply Quote 0
                    • B
                      bveiga
                      last edited by

                      i already tried the answer in this threat but nothing resolved.

                      best regards

                      1 Reply Last reply Reply Quote 0
                      • JunkhackerJ
                        Junkhacker Developer
                        last edited by

                        you double posted. i was directing anyone who came across this to the new thread.

                        signature:
                        Junkhacker
                        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                        1 Reply Last reply Reply Quote 0
                        • B
                          bveiga
                          last edited by

                          ok, sorry im a newbie here, any help is very appreciated.

                          best regards

                          1 Reply Last reply Reply Quote 0
                          • B
                            bveiga
                            last edited by

                            [quote=“Junkhacker, post: 37231, member: 21583”][url]http://fogproject.org/forum/threads/duplicate-snapin-task-and-error-deploying.11764/[/url][/quote]

                            anyone could help me please?

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            151

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project