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

Fog Update Issue - Certificate for smartInstaller.exe will not download and install with mono

Scheduled Pinned Locked Moved Solved
FOG Problems
2
4
403
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
    skyborne98
    last edited by Sep 14, 2023, 3:47 PM

    I recently upgraded from 1.5.9 to 1.5.10 as the FOG Client wasn’t working on some of my hardware…

    After downloading the FOG Server installer, I performed an in-place update, which worked fine for reimaging. after a small issue with NFS.

    Now I am battling an issue with the cert during the smartinstaller.exe install on a Ubuntu 22 client.

    sudo mono SmartInstaller.exe -h -r -s --server <FOGSERVER_URL> -l /tmp/fog.log
    

    I get error of:

    Pinning Server..........................................................[Fail] 
    
    • l can confirm the cert is available for download via curl
    • I can install the downloaded cert after renaming it as ca.crt
    sudo certmgr -add -c -m Trust ca.crt
    

    So what is the issue at this point?

    fog.log

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sep 24, 2023, 6:51 AM

      @skyborne98 Sorry for the long delay. Not too many people know the ins and outs of the fog-client, especially when it comes to the Linux part of it.

      In the log we see ProtocolError which I have not seen before I think. Do you have a customized httpd/apache configuration or default created by the FOG server installer?

      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

      S 1 Reply Last reply Sep 25, 2023, 8:27 PM Reply Quote 0
      • S
        skyborne98 @Sebastian Roth
        last edited by Sep 25, 2023, 8:27 PM

        @Sebastian-Roth So I did some extensive work and was able to get it resolved.

        I suggest a document change in regards to installing on Ubuntu 22.04. FOG client Wiki

        In my situation, I did a minimal install and add just a few packages. For the SmartIstaller instructions regarding to Ubuntu 22 they can be minimized to:

          sudo apt-get install nuget
          sudo apt-get install mono-complete
          sudo apt-get install apt-transport-https
        

        I also have a proxy in my environment and had to set the current environment, with an export command, Example

        export http_proxy="http://proxyserver:port/"
        
        1 Reply Last reply Reply Quote 1
        • S
          Sebastian Roth Moderator
          last edited by Oct 21, 2023, 2:04 PM

          @skyborne98 Thanks for testing and sharing you insights here!

          I just added this info to the wiki: https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#Installing_-_Linux

          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
          • [[undefined-on, S Sebastian Roth, Oct 21, 2023, 2:04 PM]]
          • 1 / 1
          • First post
            Last post

          236

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project