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

Auto-Installing FOG with HTTPS enabled issues

Scheduled Pinned Locked Moved Solved
FOG Problems
4
19
1.6k
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.
  • S
    Sebastian Roth Moderator
    last edited by Oct 21, 2019, 6:52 AM

    @TBuzaTechnician Ok, back to work, lets tackle this.

    Compiling iPXE binaries that trust our SSL certificate......Failed!
    

    Have you checked the install error log (fogproject/bin/error_logs/fog_error...) to see if there is any hint in there on why this fails?

    In other words, I want to send an installation package to run on a remote machine, and not have to touch it. I will be remotely deploying images to the machine as well.

    Can you give us more details on the tools you use for this? I am fairly sure this is a kind of new thing not many people have done before (except @Wayne-Workman) and it might be a bug in the installer preventing from it to work in your setup. The more we know about it the better we can help.

    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

    T 1 Reply Last reply Oct 21, 2019, 1:26 PM Reply Quote 1
    • T
      TBuzaTechnician @Sebastian Roth
      last edited by Oct 21, 2019, 1:26 PM

      @Sebastian-Roth Thanks for the help. I will deploy another server and retrieve the error log to share here. On another note, I have not been using any other tools other than the FOG server. I’ll reply sooner or later with more information!

      Again, Thank you for the help.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Oct 21, 2019, 3:15 PM

        @TBuzaTechnician But what sort of tools do you use to automate the install? Remote shell script execution? Puppet?..

        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
        • W
          Wayne Workman @TBuzaTechnician
          last edited by Oct 22, 2019, 1:57 AM

          @TBuzaTechnician said in Auto-Installing FOG with HTTPS enabled issues:

          but I have a habit of using sudo anyway.

          This has in-fact caused many people problems. I don’t know why, don’t really care why, but using sudo with the installer doesn’t work. As Sebastion said, properly log in as root with sudo -i and then execute the 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 1
          • S
            Sebastian Roth Moderator
            last edited by Oct 25, 2019, 4:53 PM

            @TBuzaTechnician Any news on this?

            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
            • L
              lebrun78
              last edited by Dec 9, 2019, 9:51 AM

              @Sebastian-Roth said in Auto-Installing FOG with HTTPS enabled issues:

              fogproject/bin/error_logs/fog_error

              Hello Sebastian
              Using ./installfog.sh -W http://cosinus/ -S
              I get the same error:

              * Compiling iPXE binaries that trust our SSL certificate......Failed!
              

              Here is my error log file:
              fog_error_1.5.7.56.log

              Fog Version: Fog 1.5.10
              Server OS: AlmaLinux release 8.8

              1 Reply Last reply Reply Quote 0
              • L
                lebrun78
                last edited by Dec 9, 2019, 11:06 AM

                Works without -S option

                Fog Version: Fog 1.5.10
                Server OS: AlmaLinux release 8.8

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Dec 9, 2019, 1:40 PM

                  @lebrun78 In the logs we see:

                  Clonage dans '/opt/ipxe'...
                  fatal: unable to access 'https://git.ipxe.org/ipxe.git/': error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol
                  

                  Possibly you are behind a proxy server? Find information on how to configure git to use your proxy see here: https://gist.github.com/evantoli/f8c23a37eb3558ab8765

                  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
                  • L
                    lebrun78
                    last edited by Dec 9, 2019, 1:43 PM

                    No, we don’t have any proxy.

                    Fog Version: Fog 1.5.10
                    Server OS: AlmaLinux release 8.8

                    1 Reply Last reply Reply Quote 0
                    • L
                      lebrun78
                      last edited by Dec 9, 2019, 3:07 PM

                      I am on a Centos 8 server.
                      wget https://git.ipxe.org/ipxe.git/ gives :

                      --2019-12-09 15:51:41--  https://git.ipxe.org/ipxe.git/
                      Résolution de git.ipxe.org (git.ipxe.org)… 212.13.204.60
                      Connexion à git.ipxe.org (git.ipxe.org)|212.13.204.60|:443… connecté.
                      GnuTLS: A packet with illegal or unsupported version was received.
                      Incapable d’établir une connexion SSL.
                      
                      

                      On a centos 7, wget https://git.ipxe.org/ipxe.git/ works

                      Fog Version: Fog 1.5.10
                      Server OS: AlmaLinux release 8.8

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Sebastian Roth Dec 9, 2019, 10:14 AM Dec 9, 2019, 4:14 PM

                        @lebrun78 Possibly they have an old version running on the ipxe git server. If I remember correctly there was some discussion of server maintenance on the developer mailing list.

                        Can you please try wget on this URL on your CentOS 8 machine: https://github.com/ipxe/ipxe

                        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

                        L 1 Reply Last reply Dec 9, 2019, 4:24 PM Reply Quote 0
                        • L
                          lebrun78 @Sebastian Roth
                          last edited by Dec 9, 2019, 4:24 PM

                          @Sebastian-Roth said in Auto-Installing FOG with HTTPS enabled issues:

                          https://github.com/ipxe/ipxe

                          wget https://github.com/ipxe/ipxe works on my centos 8.0 machine

                          Fog Version: Fog 1.5.10
                          Server OS: AlmaLinux release 8.8

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Dec 9, 2019, 4:30 PM

                            @lebrun78 Ok then you want to edit the file fogproject/utils/FOGiPXE/buildipxe.sh and replace the URL in line 7 of that script.

                            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

                            L 1 Reply Last reply Dec 10, 2019, 8:37 AM Reply Quote 0
                            • L
                              lebrun78 @Sebastian Roth
                              last edited by Dec 10, 2019, 8:37 AM

                              @Sebastian-Roth
                              with your modification, the execution of the script goes to the end

                              Thank you

                              Fog Version: Fog 1.5.10
                              Server OS: AlmaLinux release 8.8

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by Dec 10, 2019, 3:02 PM

                                @lebrun78 Thanks, I will change the URL in our code as well.

                                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
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Dec 11, 2019, 8:48 PM

                                  Updated the URL in the official code (ref).

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

                                  150

                                  Online

                                  12.1k

                                  Users

                                  17.3k

                                  Topics

                                  155.4k

                                  Posts
                                  Copyright © 2012-2024 FOG Project