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

    Image temporary directory not moved to proper location after upload

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    5
    1.4k
    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.
    • P
      Peter Dickinson
      last edited by

      I’m having a problem with uploading images using Fog 1.2.0. I’ve had this problem before, and last time it was fixed by changing directory permissions using chmod. But that doesn’t seem to be working this time.

      This is a new Fog 1.2.0 installation, running on Ubuntu 13.10 64-bit desktop running natively. My previous installation was running in a VM on top of Windows 7, but Windows did an automatic update that resulted in the machine restarting while the VM was running. This damaged the VM, leaving it in a state that would no longer start up. So I’ve abandoned the VM approach for now as being too fragile, and am running Linux natively.

      What happens is that the upload works fine up to the point where the image files are stored in a temporary directory under /images/dev, named after the MAC address of the machine being imaged. But these files are supposed to be moved to a directory in /images, given a name based on the name of the image. That part isn’t working. I can move the files manually, and then I can download the image again without problems. I understand that the moving of the files is supposed to be done via the FTP server. I can connect to the FTP server, so it is clearly running.

      Any suggestions?

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

        When you say: “I can connect to the FTP server” are you using the information for the node under storage management username and password?

        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
        • P
          Peter Dickinson
          last edited by

          To connect to the FTP server I’m using the Linux user account username (fog) and password. When I look at the DefaultMember storage node under storage management, it shows the Management Username as fog, but the Management Password is blank. Would that be the problem then?

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

            Most likely, yes.

            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
            • P
              Peter Dickinson
              last edited by

              Thanks, that seems to have fixed it.

              Since Fog uses several servers and other components that use usernames and passwords, and since it seems that the installation script doesn’t set them all correctly, is there any documentation for Fog that explains how to set them all up correctly?

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

              208

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project