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

Update to lateset GIT

Scheduled Pinned Locked Moved Solved
FOG Problems
2
8
2.4k
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.
  • I
    ITSolutions Testers
    last edited by ITSolutions Jan 11, 2016, 2:28 PM Jan 11, 2016, 8:27 PM

    I am trying to update tot he latest GIT version as of 1/11/16 3:15pm EST and I get a failure on “Creating SSL Cert”. everything else gives an ok, but the the webpage is no longer available. I am on Ubuntu 14.04 and I am up to date on it. I tried reinstalling and have had no luck getting the server to come back up. Can someone please help?

    W 1 Reply Last reply Jan 11, 2016, 11:33 PM Reply Quote 0
    • W
      Wayne Workman @ITSolutions
      last edited by Jan 11, 2016, 11:33 PM

      @ITSolutions Look inside of /var/log, you’ll find a bunch of fog_error_<version>.log files. The one with the highest version is generally the one you tried installing last. This file has all the errors that the installer returned.

      If you can post that, we can go from there.

      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
      • I
        ITSolutions Testers
        last edited by Jan 12, 2016, 1:40 PM

        I found what the issue is, looks like I am missing a file somehow.

        /opt/fog/snapins/ssl/fog.csr: No such file or directory
        

        I even tried re-downloading the latest and still have the error. I then downloaded the previous commit and got the same error. I was able to install with the commenting out the goto error in the install script and everything including the client seems to be working. But not sure why that file is missing and not getting replaced when I re-install.

        So as it sits I am on 5927 with the system up and running. But still would like to figure out how to create the file and I guess report the bug of this file not being created to be used.

        W 1 Reply Last reply Jan 12, 2016, 1:43 PM Reply Quote 0
        • W
          Wayne Workman @ITSolutions
          last edited by Jan 12, 2016, 1:43 PM

          @ITSolutions Have you went to see if it’s actually there or not? Have you checked for funky permissions? Try to run this:

          ls -lahRt /opt/fog

          That should recursively return every file and directory in /opt/fog and include permissions and access times.

          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
          • I
            ITSolutions Testers
            last edited by ITSolutions Jan 12, 2016, 8:05 AM Jan 12, 2016, 2:05 PM

            @Wayne-Workman, Yes, I did check and it is not there. I just checked again to make sure and no files are in that folder. but the folder does exist. Not sure where it is created. I did find there is a hidden file for the srvprivate key in the folder, that I didn’t see before. The permissions of the folder look like I would expect. But here is the output in case that is the issue.

            ls -la /opt/fog/snapins/ssl
            total 12
            drwxr-xr-x 2 fog www-data 4096 Jan 11 13:00 .
            drwxrwxr-x 4 fog www-data 4096 Jan 11 16:53 ..
            -rw-r--r-- 1 fog www-data 3243 Jul 22 10:46 .srvprivate.key
            

            BTW I do have a simple script I normally run that does a pull and update FOG. I hadn’t updated FOG in quite a while as I hadn’t been having issues and couldn’t affford the down time. But I had the time and wanted to get up to date so that is what started this. IDuring troubleshooting though I obviously did all commands manually. I can’t remember the version I went from but the commit number was 8927628 according to my git reflog if that helps.

            W 1 Reply Last reply Jan 12, 2016, 2:33 PM Reply Quote 0
            • I
              ITSolutions Testers
              last edited by Jan 12, 2016, 2:27 PM

              I just discovered a few other oddities that I hadn’t paid attention to as they were not want I was looking at. But my Snapin folder was empty so all of my snapin had been removed. I do have backups that I take daily of my server and was able to recover the files. But it is slightly odd and could point to an issue in the script. maybe.

              1 Reply Last reply Reply Quote 0
              • W
                Wayne Workman @ITSolutions
                last edited by Jan 12, 2016, 2:33 PM

                @ITSolutions There are some installation options for recreating the CA keys and SSL keys.

                I asked @Tom-Elliott, he says recreating the CA will cause all of your new FOG Service clients out there to stop working, and require reinstallation. But rebuilding the SSL keys should not.

                ./installfog.sh --help

                0_1452609189344_upload-a5ecc232-e228-4cda-88e6-f4b8bcf3cbfd

                ./installfog.sh -K

                That should recreate the keys and the new fog client should still work.

                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
                • I
                  ITSolutions Testers
                  last edited by Jan 12, 2016, 2:45 PM

                  @Wayne-Workman, Well I could just copy the key from a backup and be ok then. But the issue then comes into why did my snapins directory get cleared out and recreated. I hadn’t had that happen before. It should have been left there and the key should have been present. Might be an issue for @Tom-Elliott to look at. Unless he feels that this could have been a fluke. I might be able to copy my server in a couple days and try the update again and see if I get the same results with the snapin folder being cleared. But if it shouldn’t be cleared I will just copy the file from a back up for now.

                  Although the new clients are working as is, even with the key missing.

                  I appreciate the help and all the effort everyone puts into FOG. I wish I had more time to contribute to the product. But unfortunately I am not able to much at the time. So I understand the dedication it takes to keep this awesome product moving forward.

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

                  227

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project