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

    Moving Images and changing image location

    Scheduled Pinned Locked Moved Solved
    General
    4
    52
    36.0k
    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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      Also, I’m not sure if FOG will update your /etc/exports automatically when you change the storage node path…

      If it doesn’t, you’ll need to edit that file.
      [CODE]vi /etc/exports[/CODE]

      and just change the paths in there so they are correct. You’ll need to restart NFS and RPC or just reboot your FOG laptop.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • T
        Tim.Trageser
        last edited by

        Hmm… I am thinking I should have reformatted this external Drive. It is formatted with NTFS and the chmod isn’t taking.

        Wayne WorkmanW 1 Reply Last reply Reply Quote 1
        • Wayne WorkmanW
          Wayne Workman @Tim.Trageser
          last edited by

          @Tim.Trageser said:

          Hmm… I am thinking I should have reformatted this external Drive. It is formatted with NTFS and the chmod isn’t taking.

          most definitely. try to use ext4

          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!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • T
            Tim.Trageser
            last edited by

            Okay, formatted external Drive as ext4. Copied over all images, leaving originals in /images. Made sure the image path in the Storage Node pointed at the new images folder on the external drive. Ran both commands below:

            sudo chmod -R 777 /media/mj/FOGImages
            sudo touch /media/mj/FOGImages/images/{,dev/} .mntcheck

            Disk info in FOG shows NaN% for free and used space and when I try and schedule a Download it gives me the “You need to create an image first” error message.

            Is there a permission or anything I need to add, like on the media folder? Let me know if you need more information.

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              What version of FOG are you running?

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • T
                Tim.Trageser
                last edited by

                SVN 3463

                1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by

                  Check this out.

                  https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP#You_must_first_upload_an_image_to_create_a_download_task

                  When done, try to re-run your installer.

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tim.Trageser
                    last edited by

                    Should I change the “storagelocation=” in the .fogsettings to match my new location?

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @Tim.Trageser
                      last edited by

                      @Tim.Trageser said:

                      Should I change the “storagelocation=” in the .fogsettings to match my new location?

                      That’s probably a good idea.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tim.Trageser
                        last edited by

                        Thanks. I just want to make sure my brain is not lieing to me.

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tim.Trageser
                          last edited by

                          So, I did all that and nothing changed. I still have nothing showing in Disk Information and When I try to Download an image it tells me I have to upload an image first.

                          1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman
                            last edited by Wayne Workman

                            Double Check your storage node credentials, make sure they match the local fog user’s credentials.

                            Double Check your TFTP_FTP credentials inside FOG Configuration -> FOG Settings

                            Double Check your /etc/exports file ??

                            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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tim.Trageser
                              last edited by

                              I have checked all the passwords and the exports file. Everything is set to the same password and the exports file is pointing to the correct folder.

                              I check the permissions on the external drives folders and everything seems to be set correctly on that.

                              It has to be something with the way the external drive is set up, it is like FOG can’t see it.

                              1 Reply Last reply Reply Quote 0
                              • T
                                Tim.Trageser
                                last edited by

                                I restarted my FOG machine and now Apache won’t start I get the below error on the command line:

                                mj@fog-server:/opt/trunk/bin$ sudo service apache2 start

                                • Starting web server apache2 *
                                • The apache2 configtest failed.
                                  Output of config test was:
                                  AH00526: Syntax error on line 12 of /etc/apache2/sites-enabled/001-fog.conf:
                                  SSLCertificateFile: file ‘/var/www/fog/management/other/ssl/srvpublic.crt’ does not exist or is empty
                                  Action ‘configtest’ failed.
                                  The Apache error log may have more information.

                                Going to the logs now.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tim.Trageser
                                  last edited by

                                  This is what is filling the apache logs:

                                  [Tue May 26 16:23:52.091869 2015] [:error] [pid 10042] [client 172.25.100.46:58826] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 146, referer: http://172.25.5.80/fog/management/index.php?node=home
                                  [Tue May 26 16:23:53.348758 2015] [mpm_prefork:notice] [pid 10036] AH00169: caught SIGTERM, shutting down

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tim.Trageser
                                    last edited by

                                    I am going to move the Apache issue to the Technical Help I think since it is now turning into something that is truely broken.

                                    1 Reply Last reply Reply Quote 0
                                    • Wayne WorkmanW
                                      Wayne Workman
                                      last edited by

                                      On the modified storage node, can you un-check the “Is Graph Enabled
                                      (On Dashboard)” just to see if it makes a difference?

                                      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!
                                      Daily Clean Installation Results:
                                      https://fogtesting.fogproject.us/
                                      FOG Reporting:
                                      https://fog-external-reporting-results.fogproject.us/

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Tim.Trageser
                                        last edited by

                                        I wish I could. Since Apache is not starting I can’t get to the Webpage.

                                        1 Reply Last reply Reply Quote 0
                                        • Wayne WorkmanW
                                          Wayne Workman
                                          last edited by

                                          @Tim.Trageser said:

                                          move the Apache issue to the Technical Help I think since it is now turning into something

                                          Can you re-run your installer?

                                          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!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Tim.Trageser
                                            last edited by

                                            Already did, no change.

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

                                            190

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project