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

    Unable to upload images

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    70
    22.3k
    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.
    • D
      Doctrg
      last edited by

      Server
      • FOG Version: 1.3.0
      • OS: RedHat
        *SVN: 6050
      Description

      We just updated to 1.3.0 last week and we are having issues uploading images. I am getting the attached image error when the imaging process is trying to update the database. We have checked the permissions and all username/password fields that we know of and everything looks like it should be working. alt text

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Doctrg
        last edited by

        @Doctrg It appears that your image didn’t attach to your post very well.

        Also we recommend that you up date again since 1.3.2 was just released.

        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!

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

          0_1484670745433_20170117_092357.jpg

          I just did the update to 1.3.2 and tested uploading the image again. I am still getting the attached results.

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

            @Doctrg If I had to guess you will need to run through:
            https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

            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

            george1421G D 2 Replies Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @Tom Elliott
              last edited by

              @Tom-Elliott said in Unable to upload images:

              @Doctrg If I had to guess you will need to run through:

              Tom this always confused me, if this is an FTP issue why the heck is it saying can’t update the database. It would be really swell if it would complain about the real problem to help with debugging. 😉

              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!

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

                @Tom-Elliott I just ran through this test on both Windows and Mac. Both succeeded without an issue.

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @Doctrg
                  last edited by

                  @Doctrg The question is, can (from a windows machine or another linux server) you connect to the FOG server using a ftp client with the user ID and password listed in the storage node configuration.

                  The issue is there is a linux user called fog that is different than the webgui admin user called fog. What we’ve seen is the linux user fog’s password gets out of sync with what is displayed in the master storage node configuration.

                  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!

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

                    @george1421 I was able to connect via FTP from Windows using the fog username and the same password that is showing in the storage node configuration and the password is showing to be the same in the .fogsettings file.

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @Doctrg
                      last edited by

                      @Doctrg Interesting, then this may be then what the error is reporting. If so I sit here with egg on my face. 99% of the time when this error is thrown the client can’t connect to the fog server via ftp to move the file from /images/dev/<mac_address> to /images/<image_name>

                      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!

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

                        @george1421 I am also able to move, for an example, d1.mbr from the /images/dev/<mac> to /images/<imagefolder> using FTP.

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

                          @george1421 The reason it doesn’t say FTP is because there’s actually multiple actions that happen. If it’s not FTP (which sounds like it isn’t here) then it could be the Disk Space of the FOG Server.

                          The “Updating Database” is more of a “We have to do a bunch of actions and I wasn’t really thinking about all those actions when the init scripts were created so here’s your all or none type message”.

                          Seeing as FTP appears to be okay, there could be a permissions issue meaning if you run:
                          chmod -R 777 /images (Changing /images to your actual nfs image storage location) things should work.

                          If disk space is the issue, then you’ll likely need to add more space or figure out what is eating 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! 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 said in Unable to upload images:

                            I just ran chmod -R 777 on /images and tried to upload. I got the same results. It’s not a storage space issue due to 1.58 TB available and the image being uploaded is about 30 GB.

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

                              I do want to mention that this started last week when we went from 1.2.0 to 1.3.0. If that has any merit.

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

                                Do you have multiple storage nodes?

                                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 We have 3 other storage nodes.

                                  george1421G Tom ElliottT 2 Replies Last reply Reply Quote 0
                                  • george1421G
                                    george1421 Moderator @Doctrg
                                    last edited by

                                    @Doctrg Are you using the location plugin? If so did you drop it and reinstall it after upgrading to 1.3.0?

                                    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!

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

                                      @Doctrg is there another master node?

                                      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 @george1421
                                        last edited by

                                        @george1421 We are not using the location plugin, that we know of.

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

                                          @Tom-Elliott We only have the 1 master node.

                                          george1421G 1 Reply Last reply Reply Quote 0
                                          • george1421G
                                            george1421 Moderator @Doctrg
                                            last edited by

                                            @Doctrg All three storage nodes are at the same location or subnet?

                                            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!

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

                                            153

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project