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

Cannot install FOG 1.5.8 on Ubuntu

Scheduled Pinned Locked Moved Solved
FOG Problems
3
6
1.1k
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
    davidgoncalves
    last edited by davidgoncalves Jul 13, 2020, 5:10 PM Jul 13, 2020, 10:59 PM

    I’ve been using FOG for over a year on an isolated network, however, we’re now going to migrate it to our main network in a different VLAN. Since our old build had DHCP, I tried to install FOG on new hardware on Ubuntu, but after installing all of the packages, I get the message “Updating packages as needed” and it gets stuck there. I’ve tried a lot of fresh installs, and in some of them, it just randomly reboots, the fogproject user is created but I cannot access the management dashboard.

    What I tried:

    • Older releases of FOG
    • Ubuntu 20, 18 and 16
    • Different networks
    • Different hard drives
    • Different hardware

    Does anyone have any idea of what can be causing the issue? Thank you!

    UPDATE: Copy of the terminal

    * Installation Started
    
     * Testing internet connection.................................Done
     * Adjusting repository (can take a long time for cleanup).....OK
     * Preparing Package Manager...................................OK
     * Packages to be installed:
    
    	apache2 bc build-essential cpp curl g++ gawk gcc genisoimage git gzip htmldoc isolinux lftp libapache2-mod-php7.3 libc6 libcurl4 liblzma-dev m4 mariadb-client mariadb-server net-tools nfs-kernel-server openssh-server php7.3 php7.3-bcmath php7.3-cli php7.3-curl php7.3-fpm php7.3-gd php7.3-json php7.3-ldap php7.3-mbstring php7.3-mysql php7.3-mysqlnd php-gettext tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g 
    
    
     * Installing package: apache2.................................OK
     * Skipping package:   bc......................................(Already Installed)
     * Installing package: build-essential.........................OK
     * Skipping package:   cpp.....................................(Already Installed)
     * Installing package: curl....................................OK
     * Skipping package:   g++.....................................(Already Installed)
     * Installing package: gawk....................................OK
     * Skipping package:   gcc.....................................(Already Installed)
     * Skipping package:   genisoimage.............................(Already Installed)
     * Installing package: git.....................................OK
     * Skipping package:   gzip....................................(Already Installed)
     * Installing package: htmldoc.................................OK
     * Installing package: isolinux................................OK
     * Installing package: lftp....................................OK
     * Skipping package: libapache2-mod-php7.3.....................(Does not exist)
     * Skipping package:   libc6...................................(Already Installed)
     * Skipping package:   libcurl4................................(Already Installed)
     * Installing package: liblzma-dev.............................OK
     * Installing package: m4......................................OK
     * Installing package: mariadb-client..........................OK
     * Installing package: mariadb-server..........................OK
     * Installing package: net-tools...............................OK
     * Installing package: nfs-kernel-server.......................OK
     * Installing package: openssh-server..........................OK
     * Skipping package: php7.3....................................(Does not exist)
     * Skipping package: php7.3-bcmath.............................(Does not exist)
     * Skipping package: php7.3-cli................................(Does not exist)
     * Skipping package: php7.3-curl...............................(Does not exist)
     * Skipping package: php7.3-fpm................................(Does not exist)
     * Skipping package: php7.3-gd.................................(Does not exist)
     * Skipping package: php7.3-json...............................(Does not exist)
     * Skipping package: php7.3-ldap...............................(Does not exist)
     * Skipping package: php7.3-mbstring...........................(Does not exist)
     * Skipping package: php7.3-mysql..............................(Does not exist)
     * Skipping package: php7.3-mysqlnd............................(Does not exist)
     * Skipping package: php-gettext...............................(Does not exist)
     * Skipping package:   tar.....................................(Already Installed)
     * Installing package: tftpd-hpa...............................OK
     * Installing package: tftp-hpa................................OK
     * Skipping package:   unzip...................................(Already Installed)
     * Installing package: vsftpd..................................OK
     * Skipping package:   wget....................................(Already Installed)
     * Installing package: xinetd..................................OK
     * Skipping package:   zlib1g..................................(Already Installed)
     * Updating packages as needed.................................
    
    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Jul 13, 2020, 6:27 PM Jul 14, 2020, 12:24 AM

      I can confirm Ubuntu 18.04 installs the latest version of fog just fine.

      I run the daily fog installation tests, which test if the various branches of the fogproject github repo can install on the latest patched versions of various operating systems. I’ve been running these tests for maybe four years now, every day. The daily results are in my signature. While Ubuntu has been problematic sometimes, at the moment it installs fine.

      My recommendation to you is to fully update your Ubuntu system before installing fog. This is what my daily installation tests do before installing fog:
      apt-get update;apt-get -y dist-upgrade;apt-get -y autoclean;apt-get -y autoremove and then reboot before proceeding.

      Further suggestions: Debian and CentOS are by-far the most stable Linux distributions that you can run FOG on. A couple years ago before a major re-write of the daily installation tests, I tracked success streaks of the various OSs and various fogproject branches. CentOS and Debian were neck-and-neck for 1st for the majority of the time on the master branch of the fogproject repo. If you want better luck overall with stability, it would be my modest recommendation to move to one of these distributions.

      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 1
      • G
        geezer
        last edited by Jul 14, 2020, 6:23 PM

        You need to add archive repos for php7.3

        sudo apt install software-properties-common

        sudo add-apt-repository ppa:ondrej/php

        sudo add-apt-repository ppa:ondrej/apache2

        And you will be good to go. If you will run into problem with DB password -

        https://stackoverflow.com/questions/41645309/mysql-error-access-denied-for-user-rootlocalhost

        1 Reply Last reply Reply Quote 0
        • W
          Wayne Workman
          last edited by Jul 16, 2020, 3:06 AM

          @geezer it’s my understanding that the fog installer installs everything needed on the supported operating systems. People shouldn’t have to install anything beforehand.

          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/

          G 1 Reply Last reply Jul 16, 2020, 5:34 AM Reply Quote 0
          • G
            geezer @Wayne Workman
            last edited by Jul 16, 2020, 5:34 AM

            @Wayne-Workman

            Right. People should not

            1 Reply Last reply Reply Quote 0
            • D
              davidgoncalves
              last edited by Aug 15, 2020, 12:05 PM

              Hello, I forgot to give you an update. Your solutions fixed the problem! Thank you 🙂

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

              198

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project