• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Mar 7, 2023, 12:41 AM

    Fog installer fails at installing certificate

    attached error log

    fog_error_1.5.10.log

    G D 3 Replies Last reply Mar 7, 2023, 11:36 PM Reply Quote 0
    • G
      george1421 Moderator @dyacishyn
      last edited by Mar 7, 2023, 11:36 PM

      @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 Mar 8, 2023, 4:03 AM

        @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 Mar 10, 2023, 6:10 PM Reply Quote 0
        • D
          dyacishyn @Sebastian Roth
          last edited by dyacishyn Mar 10, 2023, 12:25 PM Mar 10, 2023, 6:10 PM

          @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 Mar 10, 2023, 9:41 PM

            @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 Mar 10, 2023, 9:47 PM

              @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 Mar 10, 2023, 11:06 PM Reply Quote 0
              • R
                rodluz Developer @dyacishyn
                last edited by Mar 10, 2023, 11:06 PM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • D
                  dyacishyn @dyacishyn
                  last edited by Mar 13, 2023, 9:28 PM

                  @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 Mar 13, 2023, 10:49 PM

                    @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, Mar 13, 2023, 10:50 PM]]
                    • 1 / 1
                    1 / 1
                    • First post
                      4/9
                      Last post

                    155

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project