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

    Install script fails during install on Ubuntu 22.04

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    9
    1.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.
    • D
      dyacishyn
      last edited by

      Fog installer fails at installing certificate

      attached error log

      fog_error_1.5.10.log

      george1421G D 3 Replies Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @dyacishyn
        last edited by

        @dyacishyn While this isn’t a fix, but lets see if we can get past this issue.

        On the FOG linux console key in

        sudo mkdir /tftpboot
        

        Then rerun the fog installer. For some reason tftp that is installed is not creating the default directory. Its possible that ubuntu is creating the directory in another unexpected location

        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!

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @dyacishyn Thanks for bringing this up and posting the log file. Very helpful indeed! Is this a fresh install or update from an earlier version of FOG? Pretty sure this is a fresh setup (logs show fresh MariaDB install) but just wanna make sure.

          From what we see with Wayne’s installer tests Ubuntu 22.04 should work. As well I have done dozens of install/updates on 22.04 in preparation of the new release.

          Looks like the Ubuntu install was not up to date to start with. Usually not an issue but I still think it’s worth to be aware of:

          The following packages will be upgraded:
            apport apt apt-utils base-files cloud-init cryptsetup cryptsetup-bin
            cryptsetup-initramfs distro-info-data dmidecode fwupd fwupd-signed gzip
          ...
          

          But then I am not sure why we see useradd: warning: the home directory /home/fogproject already exists. if this is a fresh setup?!

          cp: cannot stat ‘/tftpboot/*’: No such file or directory

          This error message is normal on a fresh install and can be ignored (see in the script code.

          Fog installer fails at installing certificate

          This is a bit missleading. I would think it’s actually failing when trying to compile the iPXE binaries with the self signed certificate as you seem to have selected for a HTTPS enabled setup. So please upload fog_ipxe-build_1.5.10.log - found in the same directory where you got the install log from.

          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

          D 1 Reply Last reply Reply Quote 0
          • D
            dyacishyn @Sebastian Roth
            last edited by dyacishyn

            @Sebastian-Roth This is a fresh install, installed from /home/fogproject

            fog_ipxe-build_1.5.10.log

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @dyacishyn The end of the log file is just garbage. Any idea what went wrong? Maybe the disk is running out of space?

              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
              • D
                dyacishyn @dyacishyn
                last edited by

                @dyacishyn HHMMM this disk isn’t running out of space… I’ll head down to my server room ad have a look at the output on the console.

                R 1 Reply Last reply Reply Quote 0
                • R
                  rodluz Developer @dyacishyn
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • D
                    dyacishyn @dyacishyn
                    last edited by

                    @dyacishyn it appears that my main Hard Drive had failed… ‘sigh’ time to rebuild again…

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @dyacishyn Too bad. Hope you have a recent backup of the database and the images.

                      Marking as solved as we know what was causing the described issue.

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

                      155

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project