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

Some images not showing up in "webfog", but they are located in /images

Scheduled Pinned Locked Moved
FOG Problems
2
4
1.9k
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.
  • W
    WourN
    last edited by Nov 22, 2013, 11:50 AM

    Hi!

    I am running Fog 0.32 on Centos 6.4
    I copied over my image files from my old fog server to this new one.
    I have also uploaded some images.

    the strange thing is, some of the images are not showing up in fog in webbrowser, while some of them do.
    If I for example try to register host, I can choose the exact same images as listed in webbrowser.

    if I go ls -l /images, I can see that some images have drwxrwxrwx, and some has drwx, and some has rwx

    but, two of my images has drwxrwxrwx, but only one is showing up in webbrowser.
    What must I do to list all my images?

    ~WourN

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Nov 22, 2013, 11:56 AM

      It sounds like the image association hasn’t been imported into the database.

      All you should have to do is create a new image. Make sure the file path is the same name as what you see. Then you should be set.

      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
      • W
        WourN
        last edited by Nov 22, 2013, 12:09 PM

        I solved it. I did what you said, but now I have another problem, which I think I have the solution to, but I dont have the time to test it right now.
        You see, I wanted to update one of my images, so I downloaded it, updated it, and tried to upload it again, to the same image.
        But it didnt work, but I think this is the solution; when I imported my images from the old fogserver, I was logged inn as root.
        That means root is the owner of the files, so fog doesnt have the rights to change/delete it. If I delete the files from root, log in as fog user, and import the images, will that fix the problem?

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Nov 22, 2013, 12:15 PM

          That’s a possibility, but I think the best option for you is to chmod the /images folder.

          Normal ownership of the entire folder is:

          rwxrwxrwx

          If you run as root user [code]chmod -R 777 /images[/code] it should work.

          There is one other thing to be aware of is that the way the files move from /images/dev to /images is through ftp.

          Make sure your GUI has the appropriate username and password under both of these options:

          Storage Management->All Storage Nodes->{YOUR STORAGE NODE (usually DefaultMember)->Management Username and Management Password
          AND:
          Other Information->FOG Settings-> FOG_TFTP_FTP_USERNAME and FOG_TFTP_FTP_PASSWORD

          The username should be set as fog

          The password should be set on the fog server as root user with:
          [code]passwd fog[/code]

          Then whatever password you set is inserted into the password fields.

          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
          • 1 / 1
          1 / 1
          • First post
            1/4
            Last post

          177

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project