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

    Reinstall fog server SVN 1.3 - certificate problem ?

    Scheduled Pinned Locked Moved Solved
    General
    3
    8
    3.3k
    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.
    • Matthieu JacquartM
      Matthieu Jacquart
      last edited by

      Hi,

      Before doing mistakes, I would like to know good practice for reinstalling my fog server which is running svn 1.3 and new client. Main question is about client certificate, I dont’ want to reinstall all computers because of this.
      I made a backup of database and images, I saved /opt/fog folder (for snapins and .fogsettings) and var/www/fog folder (for CA.cert).
      Is there other things to know about migration ?
      Is there a risk with ca.perm file ?

      Thanks
      Matthieu

      Fog 1.5.9.138
      Debian 11
      Vmware ESXi

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

        You should not need to copy the /var/www/fog, but the /opt/fog/snapins/ssl would be needed. When you rebuild the new server, before you install fog, put the /opt/fog folder back in place.

        Then run the FOG Installer. It will create the certificate files you need.

        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

        Matthieu JacquartM 1 Reply Last reply Reply Quote 1
        • Matthieu JacquartM
          Matthieu Jacquart @Tom Elliott
          last edited by

          @Tom-Elliott Ok Thanks !

          So just create new debian server, put opt/fog in place, and then run installer, so certificate must be the same ?
          And I have to install 1.2 then svn or directly svn ?

          Fog 1.5.9.138
          Debian 11
          Vmware ESXi

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

            @Matthieu-Jacquart said:

            @Tom-Elliott Ok Thanks !

            So just create new debian server, put opt/fog in place, and then run installer, so certificate must be the same ?
            And I have to install 1.2 then svn or directly svn ?

            After putting the old opt/fog in place, you may directly install the latest svn.

            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
            • Matthieu JacquartM
              Matthieu Jacquart
              last edited by

              Ok great, Let’s go 😉

              Thanks !

              Fog 1.5.9.138
              Debian 11
              Vmware ESXi

              1 Reply Last reply Reply Quote 0
              • Matthieu JacquartM
                Matthieu Jacquart
                last edited by Matthieu Jacquart

                Arf, new install seemed fine, but I tried to deploy host and I’ve got this error :

                Failed to create deployment tasking for the following hosts
                
                FOGFTP: Login failed. Host: 192.168.10.60, Username: fog, Password: JLeEBf2xZutR, Error: ftp_login(): Login incorrect.
                

                In my .fogsettings file there is :

                storageftpuser="fog";
                storageftppass='JLeEBf2xZutR';
                

                And I replaced line

                password='ukDg6bE1bVSE';
                

                With

                password='JLeEBf2xZutR';
                

                Like on previous server, but same error

                What is wrong ?

                Thanks
                Matthieu

                Fog 1.5.9.138
                Debian 11
                Vmware ESXi

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

                  @Matthieu-Jacquart there is an entire wiki article just on troubleshooting FTP.

                  In it, there is a section about credentials. If you follow the guidelines in there, you should be imaging in no time.

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

                  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
                  • Matthieu JacquartM
                    Matthieu Jacquart
                    last edited by

                    Thanks !

                    Reason is that these 3 passwords were identical

                        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
                    
                        /opt/fog/.fogsettings -> storageftpuser & storageftppass
                    

                    But not the local ‘fog’ user’s password on the Linux FOG server

                    It works like that on previous installation, this time I changed the 3 others passwords to match with local fog user and everything is fine 😉

                    Fog 1.5.9.138
                    Debian 11
                    Vmware ESXi

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

                    160

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project