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

    FOG v1.54 erroring on Ubuntu Server 18.04 LTS

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    4
    13
    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
      dbrilliant
      last edited by

      Hi all,
      I backed up all my previous images from FOG to a external USB drive, and cleanly installed Ubuntu Server 18.4 LTS and updated it with the necessities, as well as git.
      I followed the instructions from FOG Wiki for FOG v1.54, and started the install. I’m getting almost all the way through the installer until “Installing now everything is updated… Failed!” There is no firewall or advanced setup, everything is basic on my Ubuntu box. I previously had a Ubuntu 14.04 LTS install with FOG v1.2, but with UEFI/Windows 10, I now have to re-do our FOG server. I tried 16.04 and was sucessfull in installing FOG, but there was an issue with the NICs not working correctly. So I wiped the machine clean, and installed 18.04 LTS.

      From what I read from about 6 months ago, there was a work in progress to get a version working for this OS. Is there a solid, working version out there of FOG v1.54 for Ubuntu Server 18.04 LTS?

      Any assistance would be very appreciative.

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        Since you are using the git method (good), inspect the log file in the ./fogproject/bin/logs directory. There should be an install log that will tell us what went wrong. FOG installs are automatically tested against all major linux distros every day.

        http://fogtesting.theworkmans.us/

        The log file may give us an idea what is missing.

        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 1
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth

          @dbrilliant Please post the contents of /etc/apt/sources.list

          There was an issue with Ubuntu 18.04 that I fixed in the working branch. See my comments here: https://github.com/FOGProject/fogproject/issues/258

          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

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • D
            dbrilliant
            last edited by Sebastian Roth

            Here’s my output from FOG -installfog.log:

               Version: 1.5.4 Installer/Updater
            
              What version of Linux would you like to run the installation for?
            
                      1) Redhat Based Linux (Redhat, CentOS, Mageia)
                      2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu)
                      3) Arch Linux
            
              Choice: [2]
            
            
              Starting Debian based Installation
            
            
             *** Detected a potential need to reinstall apache and php files.
             *** This will remove the /etc/php* and /etc/apache2* directories
             ***  and remove/purge the apache and php files from this system.
             *** If you're okay with this please type Y, anything else will
             ***  continue the installation, but may mean you will need to
             ***  remove the files later and make proper changes as
             ***  necessary. (Y/N):
             * Removing apache and php files...............................Done
             * Stopping web services.......................................Failed
             * Removing the apache and php packages........................Done
             * Resetting our variables to specify php version 7.1..........Done
              FOG Server installation modes:
                  * Normal Server: (Choice N)
                      This is the typical installation type and
                      will install all FOG components for you on this
                      machine.  Pick this option if you are unsure what to pick.
            
                  * Storage Node: (Choice S)
                      This install mode will only install the software required
                      to make this server act as a node in a storage group
            
              More information:
                 http://www.fogproject.org/wiki/index.php?title=InstallationModes
            
              What type of installation would you like to do? [N/s (Normal/Storage)]
              What is the IP address to be used by this FOG Server? [192.168.7.150]
              Would you like to change the default network interface from ?
              If you are not sure, select No. [y/N]   What network interface would you like to use? ../lib/common/functions.sh: line 149: /8: sy$
            
              Would you like to setup a router address for the DHCP server? [Y/n]
              Would you like DHCP to handle DNS? [Y/n]   What DNS address should DHCP allow? [127.0.0.53]
              Would you like to use the FOG server for DHCP service? [y/N]
              This version of FOG has internationalization support, would
            
            D 2 Replies Last reply Reply Quote 0
            • D
              dbrilliant @dbrilliant
              last edited by

              @dbrilliant

              • Here are the settings FOG will use:

              • Base Linux: Debian

              • Detected Linux Distribution: Ubuntu

              • Server IP Address: 192.168.2.1

              • Server Subnet Mask: Error: g is not recognized

              • Interface: eno1

              • Installation Type: Normal Server

              • Internationalization: 0

              • Image Storage Location: /images

              • Using FOG DHCP: Yes

              • DHCP router Address:

              • Are you sure you wish to continue (Y/N)

              • Installation Started

              • Installing required packages, if this fails
                | make sure you have an active internet connection.

              • Adding needed repository…OK

              • Preparing Package Manager…OK

              • Packages to be installed:

              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @dbrilliant
                last edited by

                @dbrilliant Ubuntu 18.04 desktop or server? My daily tests use the server edition.

                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
                • D
                  dbrilliant @dbrilliant
                  last edited by Sebastian Roth

                  @dbrilliant :

                    GNU nano 2.9.3                                              foginstall.log                                                         
                  
                   * Here are the settings FOG will use:
                   * Base Linux: Debian
                   * Detected Linux Distribution: Ubuntu
                   * Server IP Address: 192.168.2.1
                   * Server Subnet Mask: Error: g is not recognized
                   * Interface: eno1
                   * Installation Type: Normal Server
                   * Internationalization: 0
                   * Image Storage Location: /images
                   * Using FOG DHCP: Yes
                   * DHCP router Address:
                  
                  
                   * Are you sure you wish to continue (Y/N)
                   * Installation Started
                  
                   * Installing required packages, if this fails
                   | make sure you have an active internet connection.
                  
                   * Adding needed repository....................................OK
                   * Preparing Package Manager...................................OK
                   * Packages to be installed:
                  
                          apache2 bc build-essential cpp curl g++ gawk gcc genisoimage gzip htmldoc isc-dhcp-server isolinux lftp libapache2-mod-php7.$
                  
                  
                   * Installing package: apache2.................................OK
                   * Skipping package:   bc......................................(Already Installed)
                   * Installing package: build-essential.........................OK
                   * Skipping package:   cpp.....................................(Already Installed)
                   * Skipping package:   curl....................................(Already Installed)
                   * Skipping package:   g++.....................................(Already Installed)
                   * Skipping package:   gawk....................................(Already Installed)
                   * Skipping package:   gcc.....................................(Already Installed)
                   * Skipping package:   genisoimage.............................(Already Installed)
                   * Skipping package:   gzip....................................(Already Installed)
                   * Skipping package: htmldoc...................................(Does not exist)
                   * Installing package: isc-dhcp-server.........................OK
                   * Installing package: isolinux................................OK
                   * Installing package: lftp....................................OK
                   * Installing package: libapache2-mod-php7.1...................OK
                   * Skipping package:   libc6...................................(Already Installed)
                   * Skipping package:   libcurl4................................(Already Installed)
                   * Installing package: liblzma-dev.............................OK
                   * Installing package: m4......................................OK
                   * Installing package: mysql-client............................OK
                   * Installing package: mysql-server............................OK
                  
                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @Sebastian Roth
                    last edited by

                    @Sebastian-Roth said in FOG v1.54 erroring on Ubuntu Server 18.04 LTS:

                    @dbrilliant Please post the contents of /etc/apt/sources.list

                    There was an issue with Ubuntu 18.04 that I fixed in the working branch. See my comments here: https://github.com/FOGProject/fogproject/issues/258

                    @dbrilliant What Sebastian is asking for is the output of this basically:
                    cat /etc/apt/sources.list

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

                      grubb@fogserver:~$ sudo -i
                      [sudo] password for grubb:
                      root@fogserver:~# cat /etc/apt/sources.list
                      deb http://archive.ubuntu.com/ubuntu bionic main
                      deb http://archive.ubuntu.com/ubuntu bionic-security main
                      deb http://archive.ubuntu.com/ubuntu bionic-updates main
                      root@fogserver:~#
                      This is the output of:
                      cat /etc/apt/sources.list

                      1 Reply Last reply Reply Quote 0
                      • D
                        dbrilliant
                        last edited by

                        Let me know if you need the remainder of the foginstall.log output, it will only allow me to copy one page at a time via nano.

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @dbrilliant
                          last edited by

                          @dbrilliant The below commands will add some repositories to /etc/apt/sources.list. I’m thinking this will fix your problem.

                          echo 'deb http://archive.ubuntu.com/ubuntu bionic universe' >> /etc/apt/sources.list
                          echo 'deb-src http://archive.ubuntu.com/ubuntu bionic universe' >> /etc/apt/sources.list
                          echo 'deb http://archive.ubuntu.com/ubuntu bionic-updates universe' >> /etc/apt/sources.list
                          echo 'deb-src http://archive.ubuntu.com/ubuntu bionic-updates universe' >> /etc/apt/sources.list
                          

                          Then try to run the installer again.

                          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
                          • S
                            Sebastian Roth Moderator
                            last edited by

                            @dbrilliant Either Wayne’s commands or a simple sudo add-apt-repository universe should to the trick for you.

                            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
                              dbrilliant
                              last edited by

                              That’s it thanks guys. I used sudo add-apt-repository universe, and there were about 20 packages out there. Now, if I can remember how to finish this project off. It’s been 7 years since I built a fog server. lol

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

                              155

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project