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

could not complete task /bin/fog/upload

Scheduled Pinned Locked Moved
FOG Problems
2
9
1.2k
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.
  • R
    robertkwild
    last edited by Apr 12, 2021, 4:08 PM

    hi all,

    trying to capture an image and i see the partclone coming up and capturing the disks and it says its captured it succesfully as when i go on the fog web gui, i see the image size but then all of a sudden i get the below pic come up on the pc

    fog.PNG

    thanks,
    rob

    1 Reply Last reply Reply Quote 0
    • R
      robertkwild
      last edited by robertkwild Apr 12, 2021, 11:46 AM Apr 12, 2021, 5:44 PM

      Solved lol

      I did a

      Mkdir /mnt/raid6/images

      Rsync -a /images /mnt/raid6/images

      Obviously I put it in etc/exports

      Just copy and pasted the images lines

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Apr 12, 2021, 8:40 PM

        @robertkwild While you can mess with the storage location in the filesystem I would say it’s way easier you just mount that partition that you have in /mnt/raid6/ directly into /images/…

        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
        • R
          robertkwild
          last edited by robertkwild Apr 13, 2021, 6:39 AM Apr 13, 2021, 12:10 PM

          @Sebastian-Roth do you mean a soft link

          ln -s /images /mnt/raid6/images

          but only thing is my images dir is only 50g but my mnt raid6 images is 3.4tb

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth Apr 13, 2021, 7:34 AM Apr 13, 2021, 1:33 PM

            @robertkwild said in could not complete task /bin/fog/upload:

            do you mean a soft link
            ln -s /images /mnt/raid6/images
            but only thing is my images dir is only 50g but my mnt raid6 images is 3.4tb

            No I don’t mean using a soft link. Just mount your 3.4tb raid6 device directly in /images folder. Before you do that make sure you don’t have any stuff in there because the mount will hide those. Probably just rename /images to /images_bak and create a fresh empty directory to mount your raid6 into. Then change /etc/exports and also correct all the locations in the FOG web UI back to /images.

            I am not saying you need to do this. Probably things will run just like you have it right now. Just saying that there is a different and maybe cleaner way of setting it up.

            If this was setup this way be someone else you might better leave it like it is to not break it all again.

            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
            • R
              robertkwild
              last edited by robertkwild Apr 13, 2021, 7:45 AM Apr 13, 2021, 1:45 PM

              so you mean in /etc/fstab do this @Sebastian-Roth

              /dev/md6 /mnt/raid6 ext4 defaults 0 0

              do

              /dev/md6 /images ext4 defaults 0 0

              1 Reply Last reply Reply Quote 0
              • R
                robertkwild
                last edited by Apr 13, 2021, 1:50 PM

                ohhh, so once i mount my raid in images, your thinking re run the setup again and it will put all the files folders in images?

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Apr 13, 2021, 3:11 PM

                  @robertkwild said in could not complete task /bin/fog/upload:

                  do

                  /dev/md6 /images ext4 defaults 0 0

                  Yes, this is kind of what I mean. But depending on how this was initially setup you might need to adjust things a bit and move stuff.

                  ohhh, so once i mount my raid in images, your thinking re run the setup again and it will put all the files folders in images?

                  No. The FOG installer won’t be able to find your existing images and move it to the right place. You need to manually do this and also adjust the configs! If you don’t feel confident to just o this on your own you better leave things as they are right now.

                  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
                  • R
                    robertkwild
                    last edited by Apr 13, 2021, 6:06 PM

                    ok job done.

                    just renamed the images dir to something else, made a new images dir, in fstab mounted the raid6 in the images dir and re ran the setup shell script

                    i did a capture and a deploy and all is now good

                    thank you all for your help!!!

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

                    215

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.3k

                    Posts
                    Copyright © 2012-2024 FOG Project