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

    Image uploading fails after upgrading Ubuntu to 16.04 and fog to latest version.

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    18
    2.3k
    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
      alismayilov
      last edited by

      Below error occurs after upgrading our server and fog. Image deploying works fine, but image uploading fails. What could be the reason?
      0_1471337186423_IMG_20160816_1026060_small_size.jpg

      1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator
        last edited by

        Looks like the HDD or SATA connection of that computer is failing. Notice how it says ATA bus error

        1 Reply Last reply Reply Quote 0
        • A
          alismayilov
          last edited by

          But it is not only happens to this particular laptop. Error occurs for all PC and laptops.

          Q 1 Reply Last reply Reply Quote 0
          • Q
            Quazz Moderator @alismayilov
            last edited by

            @alismayilov Can you give a couple of model names on which it’s failing?

            Actually, thinking about this some more, I think I’ve seen this on virtual machines quite often during upload.

            Try adding the following to FOG Configuration -> FOG Settings -> General settings -> FOG_KERNEL_ARGS

            nolapic_timer

            A 1 Reply Last reply Reply Quote 1
            • A
              alismayilov @Quazz
              last edited by

              @Quazz I changed settings as you suggested, but same error occurs.

              Q 1 Reply Last reply Reply Quote 0
              • Q
                Quazz Moderator @alismayilov
                last edited by

                @alismayilov Does the upload process stop? If it continues, does the resulting image work ok?

                Just want to figure out if it’s actually something serious or just looks scary.

                A 1 Reply Last reply Reply Quote 0
                • A
                  alismayilov @Quazz
                  last edited by

                  @Quazz Upload process stop. I don’t see any image on the server later. And task stays active on the Fog.

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

                    This picture reads, to me, that there’s a problem with the HDD.

                    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

                    Q A 2 Replies Last reply Reply Quote 1
                    • Q
                      Quazz Moderator @Tom Elliott
                      last edited by

                      @Tom-Elliott It is my understanding that this refers to the client HDD, yes? If so, I would find it odd if this were to suddenly happen to several computers.

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

                        @Quazz Still looks like a bad hard drive.

                        I would almost suspect the “mode” in which the drive is setup could be the cause. Maybe it’s in RAID mode when it should be in AHCI or IDE?

                        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

                        A 2 Replies Last reply Reply Quote 1
                        • A
                          alismayilov @Tom Elliott
                          last edited by

                          @Tom-Elliott I tested other laptops. All of them has this error. But at the end this message appears:
                          "
                          Cloned successfully.

                          • Image captured
                          • Stopping FOG STatus Reporter … Done
                          • Task Complete
                          • Updating database … Failed
                          • Error returned: * Reattempting to update database … failed
                          • Error returned: * Reattempting to update database …failed
                            … (several times of this message)
                            "
                            May be an error in the screenshot is not important error. I am checking other settings.
                          1 Reply Last reply Reply Quote 0
                          • A
                            alismayilov @Tom Elliott
                            last edited by

                            @Tom-Elliott @Quazz Yes, it refers to the client HDD. I could not find anything useful. In apache2 error log, it says “PHP warning: ftp_login(): Login incorrect.” Could this be a reason? But I don’t understand, if ftp login does not work how pxe works and client can get image from server?

                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                            • A
                              alismayilov @Tom Elliott
                              last edited by

                              @Tom-Elliott How can I check “mode”?

                              1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @alismayilov
                                last edited by

                                @alismayilov said in Image uploading fails after upgrading Ubuntu to 16.04 and fog to latest version.:

                                “PHP warning: ftp_login(): Login incorrect.”

                                That’s probably exactly the reason. Bad Storage Node credentials will cause the Database Updating part to fail, now. Look in the wiki for “Troubleshoot FTP”.

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Sebastian Roth

                                  @alismayilov As Wayne already said you should read this wiki artice on how to fix the “update database” issue. The other messages are not related I am pretty sure.

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

                                    I was under the impression uploading stopped when you started seeing the ata errors. This would, if it were true that imaging stopped when these errors appeared, indicate an HDD issue or one that’s about to occur. The other side of the coin is what version of FOG you’re running. In the past the code that handled progress reporting to the GUI had a buffer overflow of which @Sebastian-Roth and I were able to figure out, which should prevent the “strange” display. Based on what I’m gathering, your “latest version” is 1.2.0? See latest version doesn’t help us out at all because it’s relative to what you’re running. If you’re running “stable” 1.2.0 is the latest. If you’re on the RC wagon, the latest version would be 1.3.0-RC-8. If you’re only running developmental builds the latest version would be 24. You understand?

                                    As @Wayne-Workman and @Sebastian-Roth have pointed out, it appears, then, that imaging for capture/deploy is working properly, but the login information in regards to FTP is wrong in which case https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP will help you out.

                                    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 1
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by Sebastian Roth

                                      @alismayilov Please read through this: https://lime-technology.com/forum/index.php?topic=45792.0

                                      Possibly the PCs you have are just not assembled properly?! Check the (S)ATA cables and try different ones to see if it makes a difference.

                                      Or is it a mSATA disk? Then read this: https://bbs.archlinux.org/viewtopic.php?id=195875

                                      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 1
                                      • A
                                        alismayilov
                                        last edited by alismayilov

                                        I changed ip address of my server, removed /opt/fog/.fogsettings and reinstalled fog again. Now it works like a charm. May be, there was a compatibility issue between old fog settings and new fog version. Now, I don’t see any strange error like above.

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

                                        160

                                        Online

                                        12.1k

                                        Users

                                        17.3k

                                        Topics

                                        155.3k

                                        Posts
                                        Copyright © 2012-2024 FOG Project