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

    Ubuntu 14.04 Fog Server 1.20 - Download (Deploy) image issue

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    33
    11.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.
    • C
      cadyfish
      last edited by

      [quote=“Keifer, post: 35350, member: 25622”]Here is the results.

      foguser@fogserver:/$ ls -la /images/
      total 20
      drwxrwxrwx 5 root root 4096 Aug 13 20:50 .
      drwxr-xr-x 26 root root 4096 Aug 9 16:37 …
      drwxrwxrwx 2 root root 4096 Aug 13 20:50 dev
      -rwxrwxrwx 1 root root 0 Aug 9 16:18 .mntcheck
      drwxrwxrwx 2 root root 4096 Aug 9 16:18 postdownloadscripts
      drwxrwxrwx 2 root root 4096 Aug 13 20:28 vistatest2

      foguser@fogserver:/images$ ls -la vistatest2
      total 2718156
      drwxrwxrwx 2 root root 4096 Aug 13 20:28 .
      drwxrwxrwx 5 root root 4096 Aug 13 20:50 …
      -rwxrwxrwx 1 root root 2783365986 Aug 13 20:43 0800276c12c4.000
      -rwxrwxrwx 1 root root 1 Aug 13 20:28 d1.fixed_size_partitions
      -rwxrwxrwx 1 root root 15 Aug 13 20:28 d1.original.fstypes
      -rwxrwxrwx 1 root root 259 Aug 13 20:28 d1.original.partitions
      -rwxrwxrwx 1 root root 0 Aug 13 20:28 d1.original.swapuuids
      [EMAIL]foguser@fogserver:/images$[/EMAIL][/quote]

      Based on the .swapuuids it looks like your vistatest2 image operating system is set to linux instead of Windows Vista. Go into image management and change this and then re-upload. For a windows image you should see a d1.mbr file

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

        1.2.0 had a known issue with Vista images in specifics. The extra files are to be expected but I forgot about vista when recoding all of the things. I’m sorry. I believe it was fixed in 2096 or 2097 of the svn trunk though.

        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
        • K
          Keifer
          last edited by

          I know it was set to vista when I uploaded it. I will try changing the settings to see if it will change how it uploads. thanks

          1 Reply Last reply Reply Quote 0
          • K
            Keifer
            last edited by

            I set it to “Windows Vista” it still uploaded the same way. If it is just something with vista then I will go a head and try windows 7 at work. I am testing it for a windows 7 environment anyway. Hope that works better! 🙂

            1 Reply Last reply Reply Quote 0
            • C
              cadyfish
              last edited by

              Or you could install the fog latest version from code according to Tom this has been resolved:

              sudo apt-get install subversion
              svn checkout [url]http://svn.code.sf.net/p/freeghost/code/trunk[/url] freeghost-code
              cd freeghost-code/bin
              sudo ./installfog.sh

              I have been using one with version 2196 and a couple of others with 1.2

              1 Reply Last reply Reply Quote 0
              • K
                Keifer
                last edited by

                Thanks 🙂

                1 Reply Last reply Reply Quote 0
                • K
                  Keifer
                  last edited by

                  I tried the commands.

                  apt-get install subversion
                  svn checkout

                  Do I need to link up a different source or repository?

                  1 Reply Last reply Reply Quote 0
                  • C
                    cadyfish
                    last edited by

                    Each line needs to be entered together
                    [QUOTE]
                    [CODE]sudo apt-get install subversion
                    svn checkout http://svn.code.sf.net/p/freeghost/code/trunk freeghost-code
                    cd freeghost-code/bin
                    sudo ./installfog.sh[/CODE]
                    [/QUOTE]

                    Otherwise go to [url]http://sourceforge.net/p/freeghost/code/HEAD/tree/[/url] and click on Download Snapshot and navigate to the bin folder and run the last command

                    1 Reply Last reply Reply Quote 0
                    • K
                      Keifer
                      last edited by

                      I updated to the latest release of the server. (Version 2201) It created the image into one file. When I try to do a download. It comes up with a deployment screen, then says “error” at the bottom then reboots.

                      foguser@fogserver:/images$ ls -la
                      total 2718152
                      drwxrwxrwx 4 root root 4096 Aug 16 20:36 .
                      drwxr-xr-x 26 root root 4096 Aug 16 19:21 …
                      drwxrwxrwx 2 root root 4096 Aug 16 20:36 dev
                      -rwxrwxrwx 1 root root 0 Aug 9 16:18 .mntcheck
                      drwxrwxrwx 2 root root 4096 Aug 9 16:18 postdownloadscripts
                      -rwxrwxrwx 1 root root 2783365995 Aug 16 20:36 vistatest4
                      foguser@fogserver:/images$

                      1 Reply Last reply Reply Quote 0
                      • C
                        cadyfish
                        last edited by

                        What is the output of
                        [CODE]ls -la /images/vistatest4[/CODE]

                        Have you tried a different OS yet? Maybe vista issue was not resolved I am not sure I have not used it with fog.

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

                          Can you try running the upload task in “Download - Debug” mode? To create the “debug” task, cancel the current download task if it’s not already been done. Go to host, list or search for the host you want to upload the task from. Click on the host and go to Basic tasks, choose Advanced, then click and schedule the Download - Debug task. Then boot the host.

                          When you start the host, the task will not automatically start. At the “command” prompt type fog and hit enter. Then the task will start as normal. There will likely be pauses to help in the debugging process and where things are failing. Can you provide more information using this method?

                          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
                          • J
                            Josh Scoville
                            last edited by

                            I am having a similar issue here in that I upload an image, but I can’t download/deploy it. Last Friday when I tried, I attempted download, but teh old image deployed, even after deleting the files (I thought_ in the web portal. Today, I deleted the image and checked the box to delete files, so I could reupload. When I console into the server, I still see the files in /images/LatitudeE5510 which is where it says the image should be. This time I deleted through the web portal, then went in via SSH and removed the files and the directory inside /images. I double checked using ls command and the directory was gone. So I reuploaded my syspreped image after creating it again. Now when I go to deploy the image, it says it can’t find the image store. The LatitudeE5510 directory has not been created inside /images.

                            I did not previously know about the /images/dev directory and when I look inside there, I see several MAC addresses, one being my upload machine.

                            Is something not moving these files where they should be or something? I had previously looked at the permissions and /images had group and owner and everyone having read/write acccess.

                            Just wondering where my images are and why I can’t deploy? I am running version 1.2 on Ubuntu server.

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

                              Is this a Vista image?

                              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
                              • J
                                Josh Scoville
                                last edited by

                                No sir, it is Windows 7. Sorry for not putting that in.

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

                                  Would you be willing to update to a later svn revisions to see if things start working for you?

                                  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
                                  • J
                                    Josh Scoville
                                    last edited by

                                    Sure. At this point, I will try anything.

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

                                      Try:
                                      [code]svn co https://svn.code.sf.net/p/freeghost/code/trunk fog_svn
                                      cd fog_svn/bin
                                      ./installfog.sh[/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
                                      • J
                                        Josh Scoville
                                        last edited by

                                        When I try to run this script, it says that it will use my old IP address, not the current and correct one. How do I modify the script to put in the right IP? When I hit N for no, it exits.

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

                                          Edit the file /opt/fog/.fogsettings

                                          Find the line that’s dealing with the IP and edit it. Save, rerun the installer.

                                          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
                                          • J
                                            Josh Scoville
                                            last edited by

                                            OK, the script is done and I am logged back in now. Should I test an upload?

                                            What should I see in the file system as concerning the /images and /images/dev folders?

                                            Thank you!

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

                                            200

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project