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

Upload never gets moved out of the /images/dev/#### folder

Scheduled Pinned Locked Moved Solved
FOG Problems
5
44
22.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.
  • W
    Wayne Workman @TThax
    last edited by Jan 13, 2016, 4:11 PM

    @TThax I don’t want to leave any stone unturned here - did you FTP into the server using the credentials inside of Storage Management -> [node name] -> Username and Password?

    Can you do a df -h to check how much free space you have on your server’s partitions? If you have enough, we will need to do a debug upload.

    You can select a debug upload from the confirmation page. Then just boot up the host that’s going to do the upload.

    Hit enter at the informational bits until you get to a Shell.

    Type in the fog command. this will start the upload. Press [enter] at each part. At the very end of the upload, after the partclone screens, it should say something about “Moving image”.

    At that point, hit Ctrl+C to end the script. We are working manually from here. at the shell, try to FTP into the server and move the folder yourself - using the credentials in FOG Storage -> [node name] -> Username and Password.

    There are linux examples here, but not specific to what you’re doing: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP#Try_to_get_a_file_with_Linux:

    You’ll look into the /images/dev folder. You will see a folder in there, it’s name will be the MAC address of the uploading computer. You’ll just issue the FTP command to move that folder to /images/YourImageName

    See if the command succeeds or not. If not, don’t give up, it might be a syntax issue. Check for typos in your command.

    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/

    T 2 Replies Last reply Jan 13, 2016, 10:05 PM Reply Quote 0
    • T
      TThax @Wayne Workman
      last edited by Jan 13, 2016, 10:05 PM

      @Wayne-Workman Sorry, hectic day here today. I won’t have another opportunity to do some of that until Monday (my next time to be at this location). Just to let you know I haven’t forgotten or ignored you.

      1 Reply Last reply Reply Quote 0
      • T
        TThax @Wayne Workman
        last edited by TThax Jan 18, 2016, 11:05 AM Jan 18, 2016, 4:58 PM

        @Wayne-Workman
        Edited to say: Just for clarification, I am running Fog 1.2 on Ubuntu 14.04.

        Ok, I checked, and the main partition has like 1.6TB available on it.

        I tried to do the debug upload and here is what it does:

        /bzImage... ok
        /init.xz... ok
        Starting logging: OK
        Populating /dev using udev: udevd[2177]: error creating epoll fd: Function not implemented
        done
        Initializing random number generator... done.
        Starting network...
        ip: RTNETLINK answers: File exists
        [root@10 /]#
        
        It is there I typed in "fog" and hit enter. Then it does this:
        
        ##################################
        #   An error has been detected!  #
        ##################################
        
        Fatal Error: Unknown request type :: Null
        
        ##################################
        #Computer will reboot in 1 minute #
        ##################################
        
        T 1 Reply Last reply Jan 18, 2016, 5:32 PM Reply Quote 0
        • T
          Tom Elliott @TThax
          last edited by Jan 18, 2016, 5:32 PM

          @TThax This is because of how you setup the debug.

          On 1.2.0 you need to choose the Advanced item that is labeled Download - Debug

          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

          T W 2 Replies Last reply Jan 18, 2016, 8:55 PM Reply Quote 1
          • T
            TThax @Tom Elliott
            last edited by Jan 18, 2016, 8:55 PM

            @Tom-Elliott Thanks, I was just hitting debug.

            @Wayne-Workman
            Perhaps I am missing something, but after the partclone screens, it says

            Restoring MBR…Done
            Press [Enter] Key to continue
            Resizing ntfs volume (/dev/sda2)…Done
            Clearing ntfs flag… Done

            And that’s it. I tried doing Ctrl+c after restoring MBR, but it just gave me the prompt [root@10 /]# and I couldn’t access ftp from that.

            I am terrible with Linux, so all help is appreciated! Also, could you give me a better idea of the syntax for the ftp try? Should I get the file and then put it? Or is there a way to move a file to a different folder on the same machine from ftp?

            W 1 Reply Last reply Jan 18, 2016, 9:58 PM Reply Quote 0
            • W
              Wayne Workman @Tom Elliott
              last edited by Jan 18, 2016, 8:57 PM

              @Tom-Elliott said:

              On 1.2.0 you need to choose the Advanced item that is labeled Download - Debug

              Upload - Debug

              We want to test uploading lol. @TThax did you do a upload or download?

              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
              • T
                TThax
                last edited by Jan 18, 2016, 9:00 PM

                @Wayne-Workman
                I did upload. lol. I knew what he meant on that one.

                1 Reply Last reply Reply Quote 0
                • W
                  Wayne Workman @TThax
                  last edited by Jan 18, 2016, 9:58 PM

                  @TThax So here lately, the messages at the end of upload have changed.

                  I don’t think it shows anything if it does not fail.

                  What that means is… there are no errors being detected. But clearly it’s not working either.

                  Again, I’ll ask @Tom-Elliott for an example command.

                  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/

                  T 1 Reply Last reply Jan 20, 2016, 4:12 PM Reply Quote 0
                  • T
                    TThax @Wayne Workman
                    last edited by Jan 20, 2016, 4:12 PM

                    @Wayne-Workman

                    I’m not too opposed to just moving it manually, but is there a way to get FOG to recognize that it is there? When I move it manually, it shows “Image size: ON SERVER 0.00iB”

                    W 1 Reply Last reply Jan 20, 2016, 4:27 PM Reply Quote 0
                    • W
                      Wayne Workman @TThax
                      last edited by Wayne Workman Jan 20, 2016, 10:28 AM Jan 20, 2016, 4:27 PM

                      @TThax said:

                      When I move it manually, it shows “Image size: ON SERVER 0.00iB”

                      Check permissions and ownership of the directory after you move it.

                      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/

                      T 1 Reply Last reply Jan 20, 2016, 4:48 PM Reply Quote 0
                      • T
                        TThax @Wayne Workman
                        last edited by Jan 20, 2016, 4:48 PM

                        @Wayne-Workman

                        Ok, after I moved it, I checked permissions and it showed fog fog. I did chmod and chown and now it shows fog root. I still get no size. I’ll show you what I mean. 1_1453308453352_permissions.PNG 0_1453308453342_Image sizes.PNG

                        If I get it deployed using task management, it will show an image size on client, but it still doesn’t realize there is an image on the server.

                        W 1 Reply Last reply Jan 20, 2016, 5:29 PM Reply Quote 0
                        • W
                          Wayne Workman @TThax
                          last edited by Jan 20, 2016, 5:29 PM

                          @TThax Your problem is absolutely related to FTP not being able to do what it’s supposed to do.

                          Let’s go back to the basics… Did it ever work? When did it stop working?

                          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/

                          T 1 Reply Last reply Jan 20, 2016, 5:32 PM Reply Quote 0
                          • T
                            TThax @Wayne Workman
                            last edited by Jan 20, 2016, 5:32 PM

                            @Wayne-Workman

                            It used to work on my old FOG server. The computer took a dump, so I made a new one. I set it up the same way as the old one, except I used Ubuntu 14.04 instead of 12.xx. I copied a couple of images from the old hard drive onto this one, did the permissions change and all that, and new images have never successfully transferred on this machine.

                            W 1 Reply Last reply Jan 20, 2016, 5:34 PM Reply Quote 0
                            • W
                              Wayne Workman @TThax
                              last edited by Jan 20, 2016, 5:34 PM

                              @TThax 14.04 would work better with fog trunk. Seeing how you currently do not have a working fog server, would you be willing to update and try it 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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              T 1 Reply Last reply Jan 20, 2016, 5:36 PM Reply Quote 0
                              • T
                                TThax @Wayne Workman
                                last edited by Jan 20, 2016, 5:36 PM

                                @Wayne-Workman

                                Forgive my ignorance, but how do I do that? Also, will I lose my current images?

                                W 1 Reply Last reply Jan 20, 2016, 5:38 PM Reply Quote 0
                                • W
                                  Wayne Workman @TThax
                                  last edited by Jan 20, 2016, 5:38 PM

                                  @TThax said:

                                  @Wayne-Workman

                                  Forgive my ignorance, but how do I do that? Also, will I lose my current images?

                                  Pick a method from here, I’d recommend git or svn: https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

                                  You shouldn’t loose anything, db data, images, configuration in /opt/fog/.fogsettings. it all gets carried over.

                                  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/

                                  T 1 Reply Last reply Jan 20, 2016, 6:24 PM Reply Quote 0
                                  • T
                                    TThax @Wayne Workman
                                    last edited by Jan 20, 2016, 6:24 PM

                                    @Wayne-Workman

                                    Ok, upgrade complete. In the Image Management screen, it shows Image size: ON CLIENT, but now there isn’t even a column for Image Size: ON SERVER. How would I know if it is recognizing the images?

                                    W 1 Reply Last reply Jan 20, 2016, 6:27 PM Reply Quote 0
                                    • W
                                      Wayne Workman @TThax
                                      last edited by Jan 20, 2016, 6:27 PM

                                      @TThax In fog 1.3.0, that feature is turned off by default to improve performance of the image management page. You can turn it on inside FOG Configuration -> FOG Settings -> General Settings -> FOG_FTP_IMAGE_SIZE

                                      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/

                                      T 1 Reply Last reply Jan 20, 2016, 6:38 PM Reply Quote 0
                                      • T
                                        TThax @Wayne Workman
                                        last edited by Jan 20, 2016, 6:38 PM

                                        @Wayne-Workman

                                        Still having an ftp issue… When I enabled that option, in that column I get:

                                        FOGFTP: Login failed. Host: 10.1.1.42, Username: fog, Password: , Error: ftp_login(): Login incorrect.

                                        I checked FOG Configuration -> FOG Settings -> TFTP Server FOG_TFTP_FTP_USERNAME and FOG_TFTP-FTP_PASSWORD and those are correct.

                                        /opt/fog/.fogsettings did not change anything with this update, and on the troubleshoot ftp page, it says FOG 1.3 should have storageftpuser & storageftppass is it a different file path for an updated .fogsettings file, or do I need to update the old file somehow?

                                        W 1 Reply Last reply Jan 20, 2016, 6:40 PM Reply Quote 0
                                        • W
                                          Wayne Workman @TThax
                                          last edited by Wayne Workman Jan 20, 2016, 12:42 PM Jan 20, 2016, 6:40 PM

                                          @TThax said:

                                          FOGFTP: Login failed. Host: 10.1.1.42, Username: fog, Password: , Error: ftp_login(): Login incorrect.

                                          If that’s the actual error and you haven’t edited it,

                                          Your issue is… somehow you have no password stored in your storage settings.

                                          Look inside of Storage Management -> [your storage node name] -> Password.

                                          Really watch to make sure auto-compete isn’t changing things when you update that password.

                                          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/

                                          T 1 Reply Last reply Jan 20, 2016, 6:51 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            27/44
                                            Last post

                                          240

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project