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

    Unable to update database after capture

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    7
    592
    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
      Peter365
      last edited by

      Hi

      Having an issue when i try and capture an image, it goes through the whole process ok but at the end when it tries to update the database it fails, saying login incorrect. I have attached some photos of the error.

      I recently migrated my fog server to another server and it all seemed to be working fine, well in terms on pushing out an image to PCs, i think this is the first time i have tried to capture an image since, so im thinking there maybe be conflict of settings for the database, from the old server to the new server but i dont know where to look.

      Anyone got any ideas why this is happening?

      Thanks!

      IMG_0435.JPG IMG_0434.JPG IMG_0433.JPG

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Peter365
        last edited by

        @Peter365 I’ve got a different tutorial, lets run through this and see if we can resync the passwords. Something has gone astray with the service account: https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

        When you complete the process, you should be able to log into the FOG server using command line FTP from a windows computer (Filezilla should work too, but I’ve only tested with command line ftp). Use the user id of fogproject and the password found in the /opt/fog/.fogsettings file. If you can get logged in via FTP with that account and you have all of the spots in the web ui matching, the capture should work well.

        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!

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

          @Peter365 This should help you https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

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

            Thanks for that.

            I have changed all the usernames and passwords for these so that they match:

            There are a few places where all the credentials (on a standard install) should match exactly.
            
            Web Interface -> Storage Management -> [Your storage node] -> Management Username & Management Password
            Web Interface -> FOG Configuration -> FOG Settings -> TFTP Server -> FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD
            The local 'fog' user's password on the Linux FOG server
            Server file: /opt/fog/.fogsettings -> password (For recent FOG Trunk versions only. 1.2.0 does not have this setting. 1.3.0 will though.)
            Server file: /opt/fog/.fogsettings -> username (For recent FOG Trunk versions only. 1.2.0 does not have this setting. 1.3.0 will though.)
            All of those should match (again, on a standard installation).
            

            but im still getting an error saying login Incorrect, is there anywhere else that may need changing?

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

              @Peter365 Have you tried to login via FTP e.g. using FileZilla from another machine? Does it work?

              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

              P 1 Reply Last reply Reply Quote 0
              • P
                Peter365 @Sebastian Roth
                last edited by

                @Sebastian-Roth Tried logging in with filezilla and just get the same, login incorrect

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @Peter365
                  last edited by

                  @Peter365 I’ve got a different tutorial, lets run through this and see if we can resync the passwords. Something has gone astray with the service account: https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

                  When you complete the process, you should be able to log into the FOG server using command line FTP from a windows computer (Filezilla should work too, but I’ve only tested with command line ftp). Use the user id of fogproject and the password found in the /opt/fog/.fogsettings file. If you can get logged in via FTP with that account and you have all of the spots in the web ui matching, the capture should work well.

                  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!

                  P 1 Reply Last reply Reply Quote 1
                  • P
                    Peter365 @george1421
                    last edited by

                    @george1421 Hey George, sorry for the late reply, work has been closed for Christmas, first day back now.

                    That has worked, followed those instructions and reran the fog setup and now i can upload images without any issues.

                    Many thanks,
                    Pete

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

                    238

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project