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

    Images in Database

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    23
    7.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.
    • K
      Kyle Johnson
      last edited by

      Hey guys,

      I am having trouble figuring this one out, and I’ve seen other posts close to this but not the issue that I am having, hopefully someone here can help. I’m creating and uploading images off of some brand mew Lenovo T410 Laptops as well as a Dell Inspiron 620 Desktop, the images seem to go through the whole process where they upload to the server, and go in to the /dev folder. They then get transferred to the /images folder, but are still not registering as being on the Server in the Webgui. I’ve done the {chmod -R 777 /images } command and it went through no problem, but still no go. This is a brand new build using an HP DL380 Gen4 Server chassis, Ubuntu 12.04 LTS, and running the latest version of FOG.

      [url=“/_imported_xf_attachments/1/1258_fog.PNG?:”]fog.PNG[/url][url=“/_imported_xf_attachments/1/1259_Winscp.PNG?:”]Winscp.PNG[/url]

      1 Reply Last reply Reply Quote 0
      • M
        mbeeler
        last edited by

        You may want to verify the correct password is in place under the storage management link. I am thinking that is where i finally fixed my issue that was similar to yours

        1 Reply Last reply Reply Quote 0
        • K
          Kyle Johnson
          last edited by

          [quote=“mbeeler, post: 34873, member: 25484”]You may want to verify the correct password is in place under the storage management link. I am thinking that is where i finally fixed my issue that was similar to yours[/quote]

          Where at on the server would I find that? I was able to find it in the location you stated on the webgui, but not sure on the server

          1 Reply Last reply Reply Quote 0
          • M
            mbeeler
            last edited by

            Within the webgui is where I changed mine. I do not recall changing it anywhere else.

            1 Reply Last reply Reply Quote 0
            • K
              Kyle Johnson
              last edited by

              [quote=“mbeeler, post: 34877, member: 25484”]Within the webgui is where I changed mine. I do not recall changing it anywhere else.[/quote]

              Well I just tried to initiate an FTP session, that when I use the new password, it doesn’t work, but if I try and use the old password it connects just fine. Not there has to be somewhere else to change it then I would imagine?

              1 Reply Last reply Reply Quote 0
              • M
                mbeeler
                last edited by

                There is a tftp password setting under other settings>>fog settings as well, toward the bottom of the list.

                1 Reply Last reply Reply Quote 0
                • K
                  Kyle Johnson
                  last edited by

                  Yeah, I tried to modify it there too, and same thing happened. I opened up a WinSCP session to 10.10.10.244 using ‘fog’ as the user name and ‘new password’ and it still says access denied. But as soon as I type in the default password, it logged me in immediately.

                  1 Reply Last reply Reply Quote 0
                  • T
                    TomcatKZN
                    last edited by

                    I am having the same problem with images not being moved ( Ubuntu 12.04 Fog 1.2.0). I have checked the passwords and they are the same in both places. It is clearly an authentication problem, but can anyone give us an idea of where and what to change.
                    (very frustrated. been using FOG since 2009 with very few problems until the upgrade, which only happened because the old server died and we thought what the hell, lets catch up!)

                    1 Reply Last reply Reply Quote 0
                    • T
                      TomcatKZN
                      last edited by

                      I tried the following: Chown [COLOR=black][FONT=Consolas]-R fog:root /images (left the passwords in Storage and TFTP_FTP settings the same)[/FONT][/COLOR]
                      [FONT=Tahoma]
                      Now it seems to be working. [/FONT]

                      1 Reply Last reply Reply Quote 0
                      • JunkhackerJ
                        Junkhacker Developer
                        last edited by

                        the fog user is a linux user, you need to change the password for the user fog in linux, and it needs to match the password in the gui

                        signature:
                        Junkhacker
                        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                        1 Reply Last reply Reply Quote 0
                        • K
                          Kyle Johnson
                          last edited by

                          Junkhacker, which password are you referring to that it needs to match in the gui, the one that is set for storage management and TFTP_FTP pass by default?

                          Also, would that be done by sudo passwd fog?

                          Thank you

                          Edit: After I sent that I went and logged in to the server using the user fog, and the password that is set for storage and TFTP_FTP and it logged me in just fine. Just to make note of it, the images are transferring to the /images folder just not registering in the webgui as there being any data there.

                          1 Reply Last reply Reply Quote 0
                          • JunkhackerJ
                            Junkhacker Developer
                            last edited by

                            if the only problem is that the image size on server isn’t being displayed, or is being displayed improperly, then you don’t really have a problem. this is a known issue that has been fixed in the code for the next release. if you’d like to have this working, you can update to the latest trunk version, and do some beta testing for us 😉

                            signature:
                            Junkhacker
                            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kyle Johnson
                              last edited by

                              It starts up like it is going to do the download, and just downloads what looks to be the MBR, and it only take maybe a minute then says imaged successfully. When it reboots it comes up and says missing operating system. But, the ‘Lenovo’ folder is there under /images. The images I tried to capture was a Windows 7 x64, Multiple Partition Single Disk upload. I wish it was just not being displayed correctly.

                              Edit: I’m also noticing that the bandwidth receive graph isn’t working. hmmm

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

                                It’s because the system isn’t actually downloading my infloation. There is no data to see in the bandwidth graph.

                                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
                                • K
                                  Kyle Johnson
                                  last edited by

                                  Tom What do you mean?

                                  Also if this helps anyone a couple pictures of what happens.

                                  [url=“/_imported_xf_attachments/1/1262_image.png?:”]image.png[/url][url=“/_imported_xf_attachments/1/1263_image2.png?:”]image2.png[/url]

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    Kyle Johnson
                                    last edited by

                                    Alright, so I thought that it might be the partitions or something because it was prebuilt, but I went ahead and wiped it and started fresh with a new copy of windows 7 and something shows up on the server now on the web gui as image size on server, but it just seems to the be 100MB System partition. In fact, it doesn’t look like much uploaded to the server as shown in that picture.

                                    [url=“/_imported_xf_attachments/1/1279_fog_images.PNG?:”]fog_images.PNG[/url]

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

                                      [quote=“Kyle Johnson, post: 35042, member: 25485”]Alright, so I thought that it might be the partitions or something because it was prebuilt, but I went ahead and wiped it and started fresh with a new copy of windows 7 and something shows up on the server now on the web gui as image size on server, but it just seems to the be 100MB System partition. In fact, it doesn’t look like much uploaded to the server as shown in that picture.[/quote]

                                      Based on the screen shot I’m seeing,

                                      You have only two partitions on this disk?

                                      d1p1.img actually appears to be a GPT table.

                                      What I’d recommend is recreate an upload task, but create it with upload - debug.

                                      From the GUI.

                                      Go to Host Management.

                                      Search or list Hosts.

                                      Search and click, or list and find and click, on the host you want to Upload the image from.

                                      Choose basic tasks.

                                      Click on Advanced.

                                      Click on Upload - Debug.

                                      Start the task.

                                      Boot the host you’re trying to upload the image from.

                                      When it gets to the terminal prompt, type:
                                      [code]fixparts /dev/sda[/code]

                                      Confirm and accept the changes it’s recommending.

                                      Once all is done, run the command
                                      [code]fog[/code]

                                      Hopefully all will work.

                                      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
                                      • K
                                        Kyle Johnson
                                        last edited by

                                        I typed the fixparts /dev/sda, and now it is asking for MBR Command, do you know which option I need here, I assume w as it is write the MBR partition table to disk and exit. Does that sound right?

                                        1 Reply Last reply Reply Quote 0
                                        • JunkhackerJ
                                          Junkhacker Developer
                                          last edited by

                                          yes, w

                                          signature:
                                          Junkhacker
                                          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            Kyle Johnson
                                            last edited by

                                            Thank you sorry for asking os many questions, didn’t want to mess up and have to rebuild as it took several hours to rebuild.

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

                                            221

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project