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

    Upload image dons not work in svn 3005

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    16
    3.8k
    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.
    • F
      Frank
      last edited by

      Hi,
      using fog svn 3005 in ubuntu 12.04 LTS
      Uploading an image, progress bar does not show actual progress.
      When upload finishes, image is not moved from /images/dev to /images
      Even if you copy it to /images with the adequate name, when you try to download it you get the message “you must first upload an image…”

      That’s it.
      Regards.

      Frank

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        [quote=“Frank, post: 42124, member: 691”]
        Uploading an image, progress bar does not show actual progress.
        [/quote]
        The progress bar on the web interface shows the progress of the current partition. It might seam like it’s “wrong” if you think it shows the overall progress.

        [quote=“Frank, post: 42124, member: 691”]
        When upload finishes, image is not moved from /images/dev to /images
        [/quote]
        Check the access rights of those directories on the FOG server. From time to time I do see this on our server too. But as I move and rename it everything is fine.

        [quote=“Frank, post: 42124, member: 691”]
        Even if you copy it to /images with the adequate name, when you try to download it you get the message “you must first upload an image…”
        [/quote]
        Access rights!?! Please take a look at the images on the web interface after moving it to ‘/images’. “Size on Server” ought to be non zero!!

        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
          Sebastian Roth Moderator
          last edited by

          Fresh install?? Upgrade?? I wonder if this is an issue with the installer…

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

            I say try and upgrade to the most current I did find a few issues today they may have been related I’m not 100% sure

            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
            • F
              Frank
              last edited by

              Hi,
              thanks for your answers. Perhaps I’m doing wrong because I did a fresh install of 3005 svn
              Is that right or should I install stable release first and afterwards do the 3005 upgrade?
              Thanks for your help.

              Frank

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

                Try svn 3012 with svn up -r 3012

                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
                • F
                  Frank
                  last edited by

                  Hi Tom,
                  what I do is
                  svn co [url]https://svn.code.sf.net/p/freeghost/code/trunk[/url] /opt/fog_latest
                  cd /opt/fog_latest/bin
                  ./installfog.sh

                  I’ve just do it this morning so I have got 3014 release. I’ve started to upload an image and again status bar progress in web console freezes. See attached screen capture.
                  Anyway client screen goes on image uploading fine,but I’m afraid it won’t be moved to /images when finished as previous releases, and it won’t be saved as upload completed. Permissions are right at /images of course (777)
                  What am I doing wrong?

                  Frank

                  [url=“/_imported_xf_attachments/1/1688_Captura de 2015-02-16 08:18:46.png?:”]Captura de 2015-02-16 08:18:46.png[/url]

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

                    freezing progress bars are the least of my worries, I hope you understand. Is the system actually imaging though, and is that working fine 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

                    1 Reply Last reply Reply Quote 0
                    • F
                      Frank
                      last edited by

                      The upload process has finished but the image has not been moved from /images/dev to /images
                      I’ve moved it to /images an renamed to appropriate name, but when I try to deploy it I get “Failed to create deployment tasking for the following hosts” and “You must first upload an image to create a download task”.

                      The same as before.

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

                        Make sure permissions are recursive

                        chmod -R 777 /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

                        1 Reply Last reply Reply Quote 0
                        • F
                          Frank
                          last edited by

                          Absolutely sure. I did the command again anyway. That does not seem the problem. I’s like though the upload was ok that’s not reflected in the database. Look in the screen-shot attached the wrong info of captured image[ATTACH=full]1690[/ATTACH]

                          [url=“/_imported_xf_attachments/1/1690_Captura de 2015-02-16 12:48:19.png?:”]Captura de 2015-02-16 12:48:19.png[/url]

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

                            What’s the wrong info?

                            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
                            • F
                              Frank
                              last edited by

                              Well, image is not 58 MB as you can guess. It should be 12 GB compressed. 58 MB is exactly the size showed in progress bar when it freezes. Perhaps in that moment client and server get out of sync.

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

                                12GB compressed?

                                The size on client is the smallest size hard drive a client system would need to view the image. Size on server should represent the 12GB properly. I’ve disabled this only because of the restraints it puts on the server having to run a separate FTP query for each image on the server. You can re-enable it in FOG Configuration->FOG Settings->General Settings FOG_FTP_IMAGE_SIZE or whatever it was labeled and then checking. In this way, you’ll know the filesize is correct.

                                Although the image on client and progress bar are good for me to operate on, I’m first trying to ensure the db calls are relatively low so FOG can scale for larger host lists. This is where most of my attention has been as of late, and I hope you guys all understand. Some times I may break things in these releases. Until I figure out how to most optimally get this information, it may be a little bit.

                                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
                                • F
                                  Frank
                                  last edited by

                                  Hi Tom,
                                  I have upload the image again with the FOG_FTP_IMAGE_SIZE checked and the info in images screen is still wrong.
                                  Anyway that’s not the important issue. What cares is that image files are not moved to /images from /images/dev yet, and as I told you although I move them myself, I get the “You must first upload an image to create a download task” message.
                                  Sorry to bother you with the same,

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    Frank
                                    last edited by

                                    Hi,
                                    thanks to Sebastian, I have found the problem. I haven’t set a password for fog user, and I haven’t put that password in DefaultMember storabe. After doing that, image upload works fine and I have been able to download it.
                                    Other problems remains. But those are other threads.

                                    Thanks a lot Sebastian and Tom.

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

                                    150

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project