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

    Imaging stuck on upload after finished

    Scheduled Pinned Locked Moved
    FOG Problems
    9
    32
    17.5k
    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.
    • Chris WhiteleyC
      Chris Whiteley
      last edited by

      Please see my picture to see if anyone has seen this before. I got stuck after the “Clearing NTFS flag” and now it is just displaying a bunch of starts down the middle of the screen.

      [url=“/_imported_xf_attachments/0/972_photo.JPG?:”]photo.JPG[/url]

      1 Reply Last reply Reply Quote 0
      • H
        Harold Thirkill
        last edited by

        I’m getting the same thing. If I force the laptop off, and it tries to upload the image again. After killing the task the laptop boots up fine, and everything seems to work. I’ll have to try to deploy the image to see if the upload was actually successful.

        1 Reply Last reply Reply Quote 0
        • Chris WhiteleyC
          Chris Whiteley
          last edited by

          Has Anyone else run into this yet? Is it certain hardware?

          1 Reply Last reply Reply Quote 0
          • H
            Harold Thirkill
            last edited by

            Check the security on the images folder. I made fog the owner, and made sure it had rwx on all folders and files, and my upload seems to be working properly now. I’m guessing this was caused by rebuilding the server from scratch, then importing the database, and images.

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

              Ah, you shouldn’t have imported the database from 0.32 to 1.x.x

              Reason being you ask?

              Because there has been a lot of changes. Importing hosts via csv is good. Overwriting the database is not such a good thing.

              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
              • H
                Harold Thirkill
                last edited by

                I installed 0.32 first, then installed 1.0.1. I then imported the database before performing the database upgrade. Then I upgraded to 1.1.0 as it was released the next day. Everything seems to be working fine.

                1 Reply Last reply Reply Quote 0
                • Chris WhiteleyC
                  Chris Whiteley
                  last edited by

                  Changing the permissions on the images folder worked! I wish I would have tried that first before I created a post. Thanks for the reminder!

                  1 Reply Last reply Reply Quote 0
                  • M
                    mlnancejr8808
                    last edited by

                    I am having this issue. I am having some issues getting the permissions to change correctly. Can anyone give me some pointers on this? all of my filles have root as an owner instead of fog.

                    1 Reply Last reply Reply Quote 0
                    • Chris WhiteleyC
                      Chris Whiteley
                      last edited by

                      All you want to do is go to your images folder and set permissions for all.

                      cd /images
                      chmod -R 777 *

                      and that will give you full permissions and should no longer give you any issues

                      1 Reply Last reply Reply Quote 0
                      • M
                        mlnancejr8808
                        last edited by

                        I have changed the permissions on all of this and it is still not working.

                        1 Reply Last reply Reply Quote 0
                        • Chris WhiteleyC
                          Chris Whiteley
                          last edited by

                          so it is still giving you the Stars down the center? Your imaging is set to partclone not partimage right?

                          1 Reply Last reply Reply Quote 0
                          • M
                            mlnancejr8808
                            last edited by

                            correct

                            1 Reply Last reply Reply Quote 0
                            • Chris WhiteleyC
                              Chris Whiteley
                              last edited by

                              well if you are doing an upload, maybe you can delete the current image you are trying to create out of the /images folder and then try to do an upload. Maybe it is having a hard time trying to overwrite it.

                              1 Reply Last reply Reply Quote 0
                              • M
                                mlnancejr8808
                                last edited by

                                I have deleted the image file, tried recreating it and it has not shown up in /images. I’m guessing the permissions aren’t working correctly or something isn’t matching. Here is what it looks like when I run ls -l /images

                                drwxrwxrwx 2 fog root 4096 Jun 23 13:02 360WIN7
                                drwxrwxrwx 2 fog root 4096 Jun 25 08:42 520STUDENTWIN7
                                drwxrwxrwx 2 fog root 4096 Jun 13 10:35 6300STUDENT
                                drwxrwxrwx 2 fog root 4096 Jun 13 12:15 6300TEACH
                                drwxrwxrwx 2 fog root 4096 May 19 14:29 740TEACHWIN7
                                drwxrwxrwx 2 fog root 4096 May 16 13:33 745STUDENTWIN7
                                drwxrwxrwx 2 fog root 4096 May 16 13:32 755TEACHWIN7
                                drwxrwxrwx 2 fog root 4096 May 16 13:16 760TEACHWIN7
                                drwxrwxrwx 2 fog root 4096 May 19 13:58 760WIN7HS
                                -rwxrwxrwx 1 fog root 8980811625 Feb 10 14:56 acer_2011
                                drwxrwxrwx 2 fog root 4096 Mar 3 11:55 D531WIN7
                                drwxrwxrwx 7 fog root 4096 Jun 24 09:07 dev
                                drwxrwxrwx 2 fog root 4096 Mar 12 11:34 E6410WIN7
                                drwxrwxrwx 2 fog root 4096 May 19 13:30 HP6200Student
                                drwxrwxrwx 2 fog root 4096 May 19 14:51 HP6200Teacher
                                drwxrwxrwx 2 fog root 4096 May 16 10:43 HPNETWIN7
                                drwxrwxrwx 2 fog root 4096 Jan 27 10:39 HPProDesk600
                                drwxrwxrwx 2 fog root 4096 Mar 27 09:09 LENOVO
                                drwxrwxrwx 2 fog root 16384 Jun 29 2010 lost+found
                                drwxrwxrwx 2 fog root 4096 Jun 29 2010 _olddev
                                drwxrwxrwx 2 fog root 4096 May 21 13:00 WYHS740WIN7
                                drwxrwxrwx 2 fog root 4096 May 19 14:00 WYHS755WIN7

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mlnancejr8808
                                  last edited by

                                  Also when it goes to the upload screen its says its cloning /dev/sda1/ to /tmp/pigz1 is this correct?

                                  1 Reply Last reply Reply Quote 0
                                  • Chris WhiteleyC
                                    Chris Whiteley
                                    last edited by

                                    Did this happen after the update? If so, is there a way you can delete your image from the image management portion and the image file in /images, then try and create a new one and associate whatever machine you are using to upload that new image ID? You can also (once the the old one is deleted) change the sql to reflect the new image with the old number:

                                    user@machine:~$ mysql -u root
                                    mysql>use fog;
                                    mysql>select imageid, imagename from images;

                                    ±--------±--------------------+
                                    | imageID | imageName |
                                    ±--------±--------------------+
                                    | 8 | StudentSpare-HL91 |
                                    | 4 | BSELAB |
                                    | 11 | MS16372Teacher2 |
                                    | 10 | MS163KTeacher2 |
                                    ±--------±--------------------+
                                    You want to change this to be:
                                    [COLOR=#b3b3b3][SIZE=11px]Code:[/SIZE][/COLOR]
                                    ±--------±--------------------+
                                    | imageID | imageName |
                                    ±--------±--------------------+
                                    | 1 | StudentSpare-HL91 |
                                    | 2 | BSELAB |
                                    | 3 | MS16372Teacher2 |
                                    | 4 | MS163KTeacher2 |
                                    ±--------±--------------------+
                                    You’ll execute the following lines at the mysql> prompt.
                                    [COLOR=#b3b3b3][SIZE=11px]Code:[/SIZE][/COLOR]
                                    mysql>update images set imageID=1 where imageID=8 limit 1;
                                    mysql>update images set imageID=2 where imageID=4 limit 1;
                                    mysql>update images set imageID=3 where imageID=11 limit 1;
                                    mysql>update images set imageID=4 where imageID=10 limit 1;
                                    This changes the imageID value for each image definition. You can reorder them however you want, just adjust the imageID values in each statement. the “limit 1” on the end of each statement makes sure you change just 1 record, because logically there can be only 1.

                                    What this has done is broken the link between the host records and the image records. At this point, the hosts no longer have a valid image associated with them, because they know the image by it’s previous ID, which is no longer valid.

                                    Now you have to update the hosts table so that any hosts which used the old image ID, now uses it’s new image ID.
                                    [COLOR=#b3b3b3][SIZE=11px]Code:[/SIZE][/COLOR]
                                    mysql>update hosts set hostImage=1 where hostImage=8;
                                    mysql>update hosts set hostImage=2 where hostImage=4;
                                    mysql>update hosts set hostImage=3 where hostImage=11;
                                    mysql>update hosts set hostImage=4 where hostImage=10;

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mlnancejr8808
                                      last edited by

                                      I have deleted the old image file that I am replacing this with. The file is never being created for the new one.

                                      1 Reply Last reply Reply Quote 0
                                      • Chris WhiteleyC
                                        Chris Whiteley
                                        last edited by

                                        then you may need to look at doing a fresh install. When did you do the upgrade? what version are you on?

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mlnancejr8808
                                          last edited by

                                          I am on version 1.1.2. Did the upgrade from 1.1.1 to 1.1.2 this morning.

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            Jim Holcomb
                                            last edited by

                                            Tom, I am on v1.1.1 and I just updated an image. All went well, and got the image upload success message. Now the laptop is looping on the FTP login incorrect message. I do not recall setting up an FTP password. Can I just change the password via the FOG interface or does this need to be does elsewhere at the server level? (Ubuntu 12.04)

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

                                            205

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project