• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • M
    Matthieu Jacquart
    last edited by Oct 9, 2015, 12:27 PM

    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
    • T
      Tom Elliott
      last edited by Oct 10, 2015, 3:18 AM

      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

      M 1 Reply Last reply Oct 10, 2015, 5:23 AM Reply Quote 1
      • M
        Matthieu Jacquart @Tom Elliott
        last edited by Oct 10, 2015, 5:23 AM

        @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

        W 1 Reply Last reply Oct 10, 2015, 5:39 AM Reply Quote 0
        • W
          Wayne Workman @Matthieu Jacquart
          last edited by Oct 10, 2015, 5:39 AM

          @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
          • M
            Matthieu Jacquart
            last edited by Oct 10, 2015, 6:20 AM

            Ok great, Let’s go 😉

            Thanks !

            Fog 1.5.9.138
            Debian 11
            Vmware ESXi

            1 Reply Last reply Reply Quote 0
            • M
              Matthieu Jacquart
              last edited by Matthieu Jacquart Oct 15, 2015, 7:24 AM Oct 15, 2015, 1:10 PM

              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

              W 1 Reply Last reply Oct 15, 2015, 10:16 PM Reply Quote 0
              • W
                Wayne Workman @Matthieu Jacquart
                last edited by Oct 15, 2015, 10:16 PM

                @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
                • M
                  Matthieu Jacquart
                  last edited by Oct 16, 2015, 6:26 AM

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

                  154

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project