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

    Failing to UPLOAD image to the FOG server

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    5
    1.9k
    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.
    • S
      SteveB689
      last edited by SteveB689

      Hi All
      I have installed Fog 1.2.0 on Ubuntu 14.04
      Initially this all worked and a test image was uploaded from a client to the Fog server.
      The it started to fail… so
      I installed another hard disk into the Ubuntu machine and it is formatted as a Linux disk and partitioned correctly.
      It is mounted correctly.
      the mntcheck files are in the /images and permissions set.

      The issue is when I run a task (in debug mode) off Fog Management.
      The script runs until it tries to go to the images ‘share’ on the Ubuntu.
      It still thinks that it has to go to /dev/sda when in fact it should be going to /dev/sdb
      and there it hangs/freezes until I press return and the task has failed.

      0_1464949626013_DSC_0336[1].JPG

      Any ideas/inputs?

      Steve

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

        When fog does this, it’s usually because the disk has GPT structures left over from when you changed your image around.

        Cancel this task.

        Create a new task, but as debug (Host->Basic Tasks->Advanced->Upload - debug.

        When you’re at the terminal prompt run: fixparts /dev/sda and confirm and write the changes. Then run the command fog. Step through the debug outputs and magic will begin happening shortly.

        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
        • S
          SteveB689
          last edited by

          Cheers!
          I did see the other thread about this…
          Did exactly…
          Upload as a debug task

          fixparts
          write the MBR records…
          now,
          I had to guess as I am missing part of the screen in the lab setup… but it is working and now uploading an image… but to where I don’t know yet.

          Has anyone the exact syntax of the commands for fixparts… sorry guys but I cannot remember what I typed in now even though its just 15 minutes ago.?

          It doesnt help having a dodgy vga monitor.

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

            @SteveB689 probably something along the lines of fixparts /dev/sda and then :w and :q but I could be remembering wrong. If your intention is to create documentation, just say run fixparts /dev/sda and follow on-screen instructions.

            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/

            S 1 Reply Last reply Reply Quote 0
            • S
              SteveB689 @Wayne Workman
              last edited by

              @Wayne-Workman said in Failing to UPLOAD image to the FOG server:

              @SteveB689 probably something along the lines of fixparts /dev/sda and then :w and :q but I could be remembering wrong. If your intention is to create documentation, just say run fixparts /dev/sda and follow on-screen instructions.

              No probs… that’s what I typed ,…
              this can be marked as SOLVED
              🙂

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

              204

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project