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

    Snapins not deploying after upgrade

    Scheduled Pinned Locked Moved
    General
    4
    18
    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

      0.32?

      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
        Robert Borgne
        last edited by

        Could have been .32, can’t go back and check now. It also only allows me to send single snapins, if I try to do deploy all snapins to a client, it fails. I don’t really understand all the tables in mysql, but the snapinjob and snapintask tables both have a lot on entries in them.

        1 Reply Last reply Reply Quote 0
        • R
          Robert Borgne
          last edited by

          I attached the foginstall.log file from my install. Apache logs show clients requesting the snapin module in the access.log. The error log is almost all file does not exist, mostly .png files. Have only had 9 of these this AM.

          [url=“/_imported_xf_attachments/1/1404_foginstall.zip?:”]foginstall.zip[/url]

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

            exactly how does it “fail” ?
            does the webpage show an error? does the task get scheduled but never run?

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

              The webpage will show an error. They never show up in tasks. If you do a single snapin, they show up in active tasks and in active snapin tasks. That is different then the earlier version that I used. They also must be deleted in both places if you wnat to remove the task. Is that normal behavior for this version?

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

                what is the error?

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

                  [B]All Snapins task failed to create for [U]tech-kj[/U] with image [U]gx380-win7[/U][/B]
                  [B]Snapins Are already deployed to this host. [/B]
                  This appears to be a single host problem. There is no active tasks or active snapin tasks for this machine.

                  1 Reply Last reply Reply Quote 0
                  • B
                    BPSTravis Developer
                    last edited by

                    I bet there was a snapin that carried over with the upgrade. Do you have phpmyadmin installed on your fog server?

                    You are going to need to delete the old snapin task out of the database or mark it as completed.

                    [SIZE=12px]signature:[/SIZE]
                    [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                    1 Reply Last reply Reply Quote 0
                    • B
                      BPSTravis Developer
                      last edited by

                      Run these commands with mysql

                      To do it from a terminal:
                      Without mysql password set
                      [CODE]mysql -u root[/CODE]
                      If you set a mysql password:
                      [CODE]mysql -u root -p[/CODE]
                      Then type your password.
                      [CODE]truncate table snapinJobs; truncate table snapinTasks;[/CODE]

                      [SIZE=12px]signature:[/SIZE]
                      [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                      1 Reply Last reply Reply Quote 0
                      • R
                        Robert Borgne
                        last edited by

                        I do have phpmyadmin installed on the sever. Can you tell me how to do that? I had 2 tables related to snapins that had a lot of entries in them after the upgrade, snapinJobs and snapintasks. Snapinjobs shows over 7000 entries. I flushed everything out of snapintasks, it had 16,000+ entries.

                        1 Reply Last reply Reply Quote 0
                        • B
                          BPSTravis Developer
                          last edited by

                          Just run [FONT=Consolas][CODE]truncate table snapinJobs; truncate table snapinTasks;[/CODE] when under the FOG database in phpmyadmin.[/FONT]

                          [SIZE=12px]signature:[/SIZE]
                          [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                          1 Reply Last reply Reply Quote 0
                          • R
                            Robert Borgne
                            last edited by

                            When I run the commands, first I had to specify the fog database in mysql, then separate the truncate commands as they would not run on the same line. It then changed the prompt to -> and the only way I could figure to get out of that was to do ctrl-c. It did not change anything in the tables as far as I can see and I still get the error on the machine.

                            1 Reply Last reply Reply Quote 0
                            • R
                              Robert Borgne
                              last edited by

                              sorry, running behind you in thread. used phpmyadmin to truncate the tables. Now it allows me to add job for all snapins for that client. ooks like its deploying also.

                              1 Reply Last reply Reply Quote 0
                              • B
                                BPSTravis Developer
                                last edited by

                                Glad to hear 🙂

                                [SIZE=12px]signature:[/SIZE]
                                [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                                1 Reply Last reply Reply Quote 0
                                • R
                                  Robert Borgne
                                  last edited by

                                  I now am trying to send an app to a lab full of computers to see if that works. We had them queued before, but i had to redo them after truncating the tables. Will let you know how it goes.

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    Robert Borgne
                                    last edited by

                                    Looks good so far, have 3 that are having problems in lab. But I can’t ping them or get to them remotely at all. Not a fog issue.

                                    Thanks for all of your help.

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      BPSTravis Developer
                                      last edited by

                                      No problem, glad to hear it’s working!

                                      [SIZE=12px]signature:[/SIZE]
                                      [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

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

                                      252

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project