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

    Unable to upload images

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    70
    22.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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      Try this please:

      wget --no-check-certificate http://mastacontrola.com/fog_1.3.4.tar.gz
      tar xzf fog_1.3.4.tar.gz
      cd fog_1.3.4/bin
      ./installfog.sh -y
      

      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

      D 1 Reply Last reply Reply Quote 1
      • D
        Doctrg @Tom Elliott
        last edited by

        @Tom-Elliott This fixed the reboot/join issue. Thought I’d mention that it did not fix the upload issue as forecast.

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

          @Doctrg Okay,

          I’ve updated the code base in an attempt to have it print out the actual so we could further see how to help you out.

          You will probably need to remove the old installer folder.

          you could ensure all is well if you cd to /opt first.

          Possibly the steps would look like:

          cd /opt/
          rm -rf fog_1.3.4
          wget --no-check-certificate http://mastacontrola.com/fog_1.3.4.tar.gz -O fog_1.3.4.tar.gz
          tar xzf fog_1.3.4.tar.gz
          cd fog_1.3.4/bin
          ./installfog.sh -y
          

          Cancel the current upload tasking if you haven’t already.
          If you can run the capture task again but select the “Schedule as Debug before confirming” boot the system you’re trying to get the image from.

          It will ask you to press [Enter] twice. Then it will drop you into a shell.

          From there you can run:
          fog

          You will have to press enter a bunch of times, but it should allow us the time we need during the completion of the upload that is currently failing.
          It also means you don’t have to try to beat the clock to capture the picture.

          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

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

            Once you get the picture, please post it here so we can be of more assistance.

            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
            • Tom ElliottT
              Tom Elliott @Doctrg
              last edited by

              @Doctrg I’ve added a enabler/disabler feature set to the working-1.3.4 branch. This feature set just allows you to check a box in the FOG Settings that tells us if the service is allowed to run or not. The master daemon of the service is still running, and will still checkin based on its sleep time.

              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

              D 1 Reply Last reply Reply Quote 0
              • D
                Doctrg @Tom Elliott
                last edited by

                @Tom-Elliott I hope this is what you were looking for. 0_1484922725819_20170120_082826.jpg

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

                  @Doctrg Now press enter and you will see a TON more information please post that pic too?

                  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

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    Doctrg @Tom Elliott
                    last edited by

                    @Tom-Elliott Here ya go. 0_1484924410914_20170120_085829.jpg

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

                      Mind trying:

                      chmod -R 777 /images
                      chown -R fog:root /images
                      

                      Also, is somebody in a terminal sitting in /images/LABNURS236?

                      If somebody is cded to the directory it would also explain why it’s unable to remove/move things. The folder is “busy” and can’t be removed.

                      Another test of things might be to run

                      chattr -i /images/LABNURS236
                      

                      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

                      D 1 Reply Last reply Reply Quote 0
                      • K
                        kibade @Doctrg
                        last edited by

                        @Doctrg Might be worth trying https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP#Try_to_get_a_file_with_Windows:
                        I found my fog user password had changed, showed up on a simple ftp open test.

                        Also under storage management on the web GUI, double-check your paths.

                        1 Reply Last reply Reply Quote 2
                        • D
                          Doctrg @Tom Elliott
                          last edited by

                          @Tom-Elliott I did some poking around last night and I changed a couple of things. The first thing I changed was in my .fogsettings. My default and one of my storage nodes did not have the username= entry. I added that and instead of “username” “password”, changed the quotes to apostrophes ‘username’ ‘password’. This gave me a different error this morning, which I did not expect so I did not capture the error. However, the error pointed saying that the ftp location did not exist. So I went into the Fog Settings through the web gui and saw that ftp path on all of the storage nodes was set to \images. I changed that to \images and I was able to get my capture task to clear out and the uploaded files are in the correct image folder and not sitting in dev.

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

                            @Doctrg I think you’re trying to say you changed to \images to /images?

                            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

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              Doctrg @Tom Elliott
                              last edited by

                              @Tom-Elliott Sorry, no. I changed it from double \ to a single \ .

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

                                @Doctrg Why are there backslashes? Is the images location on a windows server? For FTP, even on windows boxes, the slashes should be / not \.

                                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

                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  Doctrg @Tom Elliott
                                  last edited by

                                  @Tom-Elliott Whoops… You’re right. They are forward slashes. 0_1485269324212_fog.PNG

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

                                    @Doctrg So FTP is a fickle creature. Linux, itself, doesn’t care about //images vs. /images but FTP apparently does.

                                    This shouldn’t occur on new installs, though I can’t guarantee it won’t.

                                    Is it then safe to solve the thread? You’ve provided all the details for others to look for and show that things appear to at least work for now.

                                    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

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      Doctrg @Tom Elliott
                                      last edited by

                                      @Tom-Elliott I believe everything else is working fine for now.

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

                                      157

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project