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

    Upgraded from FOG 1.5.9 to 1.5.10.1903 and having issues

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    22 Posts 2 Posters 119 Views
    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.
    • S
      Strahd
      last edited by

      I upgraded from FOG 1.5.9 to 1.5.10.1903 and now I am having a problem.
      Running Linux Ubuntu 20.04.4

      I followed the directions located at https://docs.fogproject.org/en/latest/installation/server/install-fog-server/
      I downloaded and ran the installation script via:
      (I renamed the old fogproject folder as “fogproject-old” because git clone and git pull threw an error)

      sudo -i
      cd /root
      git clone https://github.com/FOGProject/fogproject.git
      cd /root/fogproject/bin
      ./installfog.sh

      The upgrade process seemed to go well enough and I did not notice any errors. I got to the
      “you still need to install/update your database schema” prompt. I clicked the link that was presented in the script and Firefox presented me with a blank white page and nothing else.

      I waited quite a while, pressed a key, and the installation script finished.

      Now when I try to visit 10.46.10.40/fog/management it throws me to http://10.46.10.40/fog/management/?node=schema and delivers a HTTP ERROR 500.
      Rebooting did not help.

      Please assist, and thank you in advance for your help!

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @Strahd
        last edited by

        @Strahd Please reinstall using dev-branch and this should work.

        I suspect you’re using PHP version of 7.X potentially which would explain the 500 you were getting and the white page.

        Dev-branch appears to have this fixed best I can tell, but also fixed it in working-1.6 (if you want to test this version I think you’ll like it a bit more - but I’ll admit I’m biased lol)

        Please let us know.

        Thank you!

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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

        S 1 Reply Last reply Reply Quote 0
        • S
          Strahd @Tom Elliott
          last edited by

          @Tom-Elliott Still having some trouble.

          I did the following:
          (My linux skills are amateur at best…)

          sudo -i
          cd /root/fogproject
          git fetch --all
          git checkout working-1.6
          git pull
          ch /root/fogproject/bin
          ./installfog.sh

          It looks like it did install 1.6

          Got the following error
          b23c58ed-3f73-428c-b647-99bec7277275-image.png

          However, I went to the management page and I did see something more:
          e8278c86-2354-4340-bd37-4611e2cb6994-image.png

          Clicking install/update delivers the following error:
          b2f097fc-feb0-4d82-aa49-893590cd05c0-image.png

          Here is a copy of the error log:

          /usr/bin/lsb_release
          /usr/bin/systemctl
          systemd
          ln: failed to create symbolic link ‘/lib/systemd/system/mysql.service’: File exists
          ln: failed to create symbolic link ‘/lib/systemd/system/mysqld.service’: File exists
          ln: failed to create symbolic link ‘/etc/systemd/system/mysql.service’: File exists
          ln: failed to create symbolic link ‘/etc/systemd/system/mysqld.service’: File exists
          /usr/sbin/iptables
          /opt/fog/.fogsettings
          Reading package lists…
          Building dependency tree…
          Reading state information…
          curl is already the newest version (7.68.0-1ubuntu2.25).
          The following packages were automatically installed and are no longer required:
          gir1.2-goa-1.0 libfwupdplugin1 libxmlb1
          Use ‘apt autoremove’ to remove them.
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          Testing DNS name resolution (httpbin.org)… OK
          Testing HTTP connection (http://httpbin.org)… OK
          Testing HTTPS connection (https://github.com)… OK
          ‘universe’ distribution component is already enabled for all sources.
          Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
          Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
          Hit:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
          Hit:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
          Reading package lists…
          ii apache2 2.4.41-4ubuntu3.23 amd64 Apache HTTP Server
          ruby-attr-required
          python3-pyxattr
          python3-xattr
          libperl6-export-attrs-perl
          libmoosex-methodattributes-perl
          libmoosex-attribute-chained-perl
          attr
          libattr1
          python-attr
          python-pyxattr-doc
          libmoosex-attributeshortcuts-perl
          python-attr-doc
          caja-xattr-tags
          pypy-attr
          libapache2-mod-mime-xattr
          fonts-quattrocento
          goattracker
          ruby-hashie-forbidden-attributes
          libmoosex-attributehelpers-perl
          tryton-modules-product-attribute
          librust-xattr-dev
          python3-orderedattrdict
          libexport-attrs-perl
          xattr
          elpa-gitattributes-mode
          python3-pyxattr-dbg
          qtattributionsscanner-qt5
          ruby-attr-encrypted
          libhtml-rewriteattributes-perl
          fatattr
          libattr1-dev
          libfile-extattr-perl
          golang-github-pkg-xattr-dev
          libmoosex-attributetags-perl
          libattribute-storage-perl
          libmoosex-classattribute-perl
          librust-macro-attr-dev
          xvattr
          python3-attr
          Reading package lists…
          Building dependency tree…
          Reading state information…
          The following packages were automatically installed and are no longer required:
          gir1.2-goa-1.0 libfwupdplugin1 libxmlb1
          Use ‘apt autoremove’ to remove them.
          The following NEW packages will be installed:
          attr
          0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
          Need to get 21.9 kB of archives.
          After this operation, 139 kB of additional disk space will be used.
          Get:1 http://us.archive.ubuntu.com/ubuntu focal/main amd64 attr amd64 1:2.4.48-5 [21.9 kB]
          Fetched 21.9 kB in 0s (223 kB/s)
          Selecting previously unselected package attr.
          (Reading database …
          (Reading database … 5%
          (Reading database … 10%
          (Reading database … 15%
          (Reading database … 20%
          (Reading database … 25%
          (Reading database … 30%
          (Reading database … 35%
          (Reading database … 40%
          (Reading database … 45%
          (Reading database … 50%
          (Reading database … 55%
          (Reading database … 60%
          (Reading database … 65%
          (Reading database … 70%
          (Reading database … 75%
          (Reading database … 80%
          (Reading database … 85%
          (Reading database … 90%
          (Reading database … 95%
          (Reading database … 100%
          (Reading database … 191228 files and directories currently installed.)
          Preparing to unpack …/attr_1%3a2.4.48-5_amd64.deb …
          Unpacking attr (1:2.4.48-5) …
          Setting up attr (1:2.4.48-5) …
          Processing triggers for man-db (2.9.1-1) …
          ii bc 1.07.1-2build1 amd64 GNU bc arbitrary precision calculator language
          ii build-essential 12.8ubuntu1.1 amd64 Informational list of build-essential packages
          ii cpp 4:9.3.0-1ubuntu2 amd64 GNU C preprocessor (cpp)
          ii curl 7.68.0-1ubuntu2.25 amd64 command line tool for transferring data with URL syntax
          ii g++ 4:9.3.0-1ubuntu2 amd64 GNU C++ compiler
          ii gawk 1:5.0.1+dfsg-1ubuntu0.1 amd64 GNU awk, a pattern scanning and processing language
          ii gcc 4:9.3.0-1ubuntu2 amd64 GNU C compiler
          ii genisoimage 9:1.1.11-3.1ubuntu1 amd64 Creates ISO-9660 CD-ROM filesystem images
          ii git 1:2.25.1-1ubuntu3.14 amd64 fast, scalable, distributed revision control system
          ii gzip 1.10-0ubuntu4.1 amd64 GNU compression utilities
          ii htmldoc 1.9.7-1ubuntu0.3 amd64 HTML processor that generates indexed HTML, PS, and PDF
          ii isolinux 3:6.04~git20190206.bf6db5b4+dfsg1-2 all collection of bootloaders (ISO 9660 bootloader)
          dpkg-query: no packages found matching jq
          libjs-jquery-ui-theme-pepper-grinder
          libjs-jquery-meiomask
          libjs-jquery-ui-theme-redmond
          libjs-jquery-center
          libjs-jquery-ui-theme-dot-luv
          libjs-jquery-timeago
          libjs-jquery-resize
          libjs-jquery-ui-theme-south-street
          libjs-jquery-caret.js
          libjs-jquery-textchange
          ruby-rails-assets-jquery
          python3-xstatic-jquery.tablesorter
          libjs-jquery-slides
          libjs-jquery-flot-docs
          node-jquery
          jq
          python3-xstatic-jquery-ui
          libjs-jquery-tablesorter
          libjs-jquery-jgrowl
          libjs-jquery-nicescroll
          libjs-jquery.sparkline
          libjs-jquery-ui-theme-eggplant
          node-jquery-textcomplete
          libjs-jquery-fixedtableheader
          libjs-jquery-mobile
          libjs-jquery-geo
          libjs-jquery-selectize.js
          libjs-jquery-hotkeys
          libjs-jquery-easing
          libjs-jquery-markitup
          ruby-rails-assets-jquery-nicescroll
          libjq1
          libjs-jquery-fancybox
          libjs-jquery-gitgraph
          libjs-jquery-colorpicker
          libjs-jquery-datatables-extensions
          libjs-jquery-event-drag
          libjs-jquery
          libjs-jquery-event-drop
          ruby-jquery-atwho-rails
          libjs-jquery-minicolors
          libjs-jquery.quicksearch
          libjs-jquery-colorbox
          libjs-jquery-ui-theme-excite-bike
          libjs-jquery-backstretch
          libjs-jquery-watermark
          libjs-jquery-jfeed
          libjs-jquery-cookie
          libjs-jquery-mousewheel
          libjs-jquery-atwho
          libghc-js-jquery-dev
          libghc-js-jquery-doc
          libjs-jquery-ui-theme-humanity
          libjs-jquery-jstree
          libjs-jquery-ui-theme-blitzer
          libjs-jquery-livequery
          libjs-jquery-migrate-1
          node-jquery-mousewheel
          libjs-jquery-throttle-debounce
          node-jquery-ui
          libjs-jquery-opacityrollover
          libghc-js-jquery-prof
          libjs-jquery-timepicker
          libjs-jquery-treetable
          libjs-jquery-ui-touch-punch
          libjs-jquery-blockui
          libjs-jquery-ui-theme-black-tie
          ruby-jquery-scrollto-rails
          ruby-jquery-rails
          libjs-jquery-slimscroll
          libjs-jquery-ui-theme-dark-hive
          jquery-alternative-doc
          ruby-rails-assets-jquery-placeholder
          python3-xstatic-jquery-migrate
          libjs-jquery-file-upload
          libjs-jquery-ui-theme-ui-darkness
          libghc-js-jquery-data
          libjs-jquery-tipsy
          libjs-jquery-placeholder
          libjs-jquery-ui-theme-le-frog
          ruby-jquery-ui-rails
          ruby-rails-assets-jquery-idletimer
          libjs-jquery-ui-theme-hot-sneaks
          libjs-jquery-scrollto
          libjs-jquery-ui-theme-smoothness
          libjs-jquery-datatables
          libjs-jquery-areyousure
          libjs-jquery-ui
          ruby-rails-assets-jquery.are-you-sure
          ruby-rails-assets-jakobmattsson-jquery-elastic
          libjs-jquery-fullscreen-plugin
          node-jquery-ujs
          libjs-jquery-ui-theme-cupertino
          libjs-jquery-ui-theme-vader
          libjs-jquery-resize-doc
          libjs-jquery-ui-theme-sunny
          libjs-jquery-ui-theme-trontastic
          libjs-jquery-ui-theme-start
          libjs-jquery-typeahead
          ruby-rails-assets-jquery-fullscreen-plugin
          libjs-jquery-isonscreen
          libjs-jquery-fullscreen
          libjs-jquery-i18n
          libjs-jquery-countdown
          python3-xstatic-jquery.quicksearch
          libjs-jquery-ui-theme-mint-choc
          libjs-jquery-ui-theme-swanky-purse
          libjs-jquery-reflection
          libjs-jquery-simpletreemenu
          libjs-jquery-textcomplete
          libjs-jquery-galleriffic
          ruby-rails-assets-jquery.slimscroll
          libjs-jquery-ui-theme-overcast
          ruby-rails-assets-jquery-ui
          libjs-jquery-ui-theme-ui-lightness
          node-jquery.waitforimages
          ruby-rails-assets-jquery-colorbox
          ruby-rails-assets-jquery-fullscreen
          libjs-jquery-ui-docs
          libjs-jquery-idletimer
          ruby-jquery-datatables-rails
          python3-xstatic-jquery.bootstrap.wizard
          libjs-jquery-history
          python3-xstatic-jquery
          libjs-jquery-metadata
          libjs-jquery-ui-theme-base
          libjs-jquery-tmpl
          libjs-jquery-flot-axislabels
          libjs-jquery-coolfieldset
          libjs-jquery-flot
          libjs-jquery-ui-theme-flick
          libjs-jquery-lazyload
          ruby-rails-assets-jeresig-jquery.hotkeys
          libjs-jquery-stupidtable
          libjs-jquery-jush
          ruby-rails-assets-jquery-textchange
          libjq-dev
          libjs-jquery-form
          Reading package lists…
          Building dependency tree…
          Reading state information…
          The following packages were automatically installed and are no longer required:
          gir1.2-goa-1.0 libfwupdplugin1 libxmlb1
          Use ‘apt autoremove’ to remove them.
          The following additional packages will be installed:
          libjq1
          The following NEW packages will be installed:
          jq libjq1
          0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
          Need to get 171 kB of archives.
          After this operation, 450 kB of additional disk space will be used.
          Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libjq1 amd64 1.6-1ubuntu0.20.04.1 [121 kB]
          Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 jq amd64 1.6-1ubuntu0.20.04.1 [50.2 kB]
          Fetched 171 kB in 0s (888 kB/s)
          Selecting previously unselected package libjq1:amd64.
          (Reading database …
          (Reading database … 5%
          (Reading database … 10%
          (Reading database … 15%
          (Reading database … 20%
          (Reading database … 25%
          (Reading database … 30%
          (Reading database … 35%
          (Reading database … 40%
          (Reading database … 45%
          (Reading database … 50%
          (Reading database … 55%
          (Reading database … 60%
          (Reading database … 65%
          (Reading database … 70%
          (Reading database … 75%
          (Reading database … 80%
          (Reading database … 85%
          (Reading database … 90%
          (Reading database … 95%
          (Reading database … 100%
          (Reading database … 191237 files and directories currently installed.)
          Preparing to unpack …/libjq1_1.6-1ubuntu0.20.04.1_amd64.deb …
          Unpacking libjq1:amd64 (1.6-1ubuntu0.20.04.1) …
          Selecting previously unselected package jq.
          Preparing to unpack …/jq_1.6-1ubuntu0.20.04.1_amd64.deb …
          Unpacking jq (1.6-1ubuntu0.20.04.1) …
          Setting up libjq1:amd64 (1.6-1ubuntu0.20.04.1) …
          Setting up jq (1.6-1ubuntu0.20.04.1) …
          Processing triggers for man-db (2.9.1-1) …
          Processing triggers for libc-bin (2.31-0ubuntu9.18) …
          ii lftp 4.8.4-2build3 amd64 Sophisticated command-line FTP/HTTP/BitTorrent client programs
          ii libapache2-mod-php 2:7.4+75 all server-side, HTML-embedded scripting language (Apache 2 module) (default)
          ii libc6:amd64 2.31-0ubuntu9.18 amd64 GNU C Library: Shared libraries
          ii libcurl4:amd64 7.68.0-1ubuntu2.25 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
          ii liblzma-dev:amd64 5.2.4-1ubuntu1.1 amd64 XZ-format compression library - development files
          ii m4 1.4.18-4 amd64 macro processing language
          mariadb-client-10.3
          mariadb-client-core-10.3
          mariadb-client
          ii mariadb-client 1:10.3.39-0ubuntu0.20.04.2 all MariaDB database client (metapackage depending on the latest version)
          ii mariadb-client 1:10.3.39-0ubuntu0.20.04.2 all MariaDB database client (metapackage depending on the latest version)
          mariadb-server-core-10.3
          mariadb-server-10.3
          mariadb-server
          ii mariadb-server 1:10.3.39-0ubuntu0.20.04.2 all MariaDB database server (metapackage depending on the latest version)
          ii mariadb-server 1:10.3.39-0ubuntu0.20.04.2 all MariaDB database server (metapackage depending on the latest version)
          ii net-tools 1.60+git20180626.aebd88e-1ubuntu1.3 amd64 NET-3 networking toolkit
          ii nfs-kernel-server 1:1.3.4-2.5ubuntu3.7 amd64 support for NFS kernel server
          ii openssh-server 1:8.2p1-4ubuntu0.13 amd64 secure shell (SSH) server, for secure access from remote machines
          ii php 2:7.4+75 all server-side, HTML-embedded scripting language (default)
          ii php-bcmath 2:7.4+75 all Bcmath module for PHP [default]
          ii php-cli 2:7.4+75 all command-line interpreter for the PHP scripting language (default)
          ii php-curl 2:7.4+75 all CURL module for PHP [default]
          ii php-fpm 2:7.4+75 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
          ii php-gd 2:7.4+75 all GD module for PHP [default]
          php-json
          php-json-schema
          ii php-json 2:7.4+75 all JSON module for PHP [default]
          ii php-ldap 2:7.4+75 all LDAP module for PHP [default]
          ii php-mbstring 2:7.4+75 all MBSTRING module for PHP [default]
          php-mysql
          ii php-mysql 2:7.4+75 all MySQL module for PHP [default]
          php-ssh2
          Reading package lists…
          Building dependency tree…
          Reading state information…
          The following packages were automatically installed and are no longer required:
          gir1.2-goa-1.0 libfwupdplugin1 libxmlb1
          Use ‘apt autoremove’ to remove them.
          The following additional packages will be installed:
          libssh2-1
          The following NEW packages will be installed:
          libssh2-1 php-ssh2
          0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
          Need to get 104 kB of archives.
          After this operation, 397 kB of additional disk space will be used.
          Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 libssh2-1 amd64 1.8.0-2.1ubuntu0.1 [75.5 kB]
          Get:2 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 php-ssh2 amd64 1.2+0.13-1build1 [29.0 kB]
          Fetched 104 kB in 0s (463 kB/s)
          Selecting previously unselected package libssh2-1:amd64.
          (Reading database …
          (Reading database … 5%
          (Reading database … 10%
          (Reading database … 15%
          (Reading database … 20%
          (Reading database … 25%
          (Reading database … 30%
          (Reading database … 35%
          (Reading database … 40%
          (Reading database … 45%
          (Reading database … 50%
          (Reading database … 55%
          (Reading database … 60%
          (Reading database … 65%
          (Reading database … 70%
          (Reading database … 75%
          (Reading database … 80%
          (Reading database … 85%
          (Reading database … 90%
          (Reading database … 95%
          (Reading database … 100%
          (Reading database … 191249 files and directories currently installed.)
          Preparing to unpack …/libssh2-1_1.8.0-2.1ubuntu0.1_amd64.deb …
          Unpacking libssh2-1:amd64 (1.8.0-2.1ubuntu0.1) …
          Selecting previously unselected package php-ssh2.
          Preparing to unpack …/php-ssh2_1.2+0.13-1build1_amd64.deb …
          Unpacking php-ssh2 (1.2+0.13-1build1) …
          Setting up libssh2-1:amd64 (1.8.0-2.1ubuntu0.1) …
          Setting up php-ssh2 (1.2+0.13-1build1) …
          Processing triggers for libc-bin (2.31-0ubuntu9.18) …
          Processing triggers for php7.4-cli (7.4.3-4ubuntu2.29) …
          Processing triggers for php7.4-fpm (7.4.3-4ubuntu2.29) …
          NOTICE: Not enabling PHP 7.4 FPM by default.
          NOTICE: To enable PHP 7.4 FPM in Apache2 do:
          NOTICE: a2enmod proxy_fcgi setenvif
          NOTICE: a2enconf php7.4-fpm
          NOTICE: You are seeing this message because you have apache2 package installed.
          Processing triggers for libapache2-mod-php7.4 (7.4.3-4ubuntu2.29) …
          ii tar 1.30+dfsg-7ubuntu0.20.04.4 amd64 GNU version of the tar archiving utility
          ii tftpd-hpa 5.2+20150808-1ubuntu4 amd64 HPA’s tftp server
          ii tftp-hpa 5.2+20150808-1ubuntu4 amd64 HPA’s tftp client
          ii unzip 6.0-25ubuntu1.2 amd64 De-archiver for .zip files
          ii vsftpd 3.0.5-0ubuntu0.20.04.2 amd64 lightweight, efficient FTP server written for security
          ii wget 1.20.3-1ubuntu2.1 amd64 retrieves files from the web
          ii zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.5 amd64 compression library - runtime
          Reading package lists…
          Building dependency tree…
          Reading state information…
          attr is already the newest version (1:2.4.48-5).
          bc is already the newest version (1.07.1-2build1).
          cpp is already the newest version (4:9.3.0-1ubuntu2).
          g++ is already the newest version (4:9.3.0-1ubuntu2).
          gcc is already the newest version (4:9.3.0-1ubuntu2).
          genisoimage is already the newest version (9:1.1.11-3.1ubuntu1).
          isolinux is already the newest version (3:6.04~git20190206.bf6db5b4+dfsg1-2).
          lftp is already the newest version (4.8.4-2build3).
          libapache2-mod-php is already the newest version (2:7.4+75).
          m4 is already the newest version (1.4.18-4).
          php is already the newest version (2:7.4+75).
          php-cli is already the newest version (2:7.4+75).
          php-curl is already the newest version (2:7.4+75).
          php-gd is already the newest version (2:7.4+75).
          php-ldap is already the newest version (2:7.4+75).
          php-mysql is already the newest version (2:7.4+75).
          tftp-hpa is already the newest version (5.2+20150808-1ubuntu4).
          tftpd-hpa is already the newest version (5.2+20150808-1ubuntu4).
          php-bcmath is already the newest version (2:7.4+75).
          php-fpm is already the newest version (2:7.4+75).
          php-json is already the newest version (2:7.4+75).
          php-mbstring is already the newest version (2:7.4+75).
          php-ssh2 is already the newest version (1.2+0.13-1build1).
          apache2 is already the newest version (2.4.41-4ubuntu3.23).
          build-essential is already the newest version (12.8ubuntu1.1).
          curl is already the newest version (7.68.0-1ubuntu2.25).
          gawk is already the newest version (1:5.0.1+dfsg-1ubuntu0.1).
          git is already the newest version (1:2.25.1-1ubuntu3.14).
          gzip is already the newest version (1.10-0ubuntu4.1).
          jq is already the newest version (1.6-1ubuntu0.20.04.1).
          libc6 is already the newest version (2.31-0ubuntu9.18).
          libcurl4 is already the newest version (7.68.0-1ubuntu2.25).
          liblzma-dev is already the newest version (5.2.4-1ubuntu1.1).
          net-tools is already the newest version (1.60+git20180626.aebd88e-1ubuntu1.3).
          nfs-kernel-server is already the newest version (1:1.3.4-2.5ubuntu3.7).
          openssh-server is already the newest version (1:8.2p1-4ubuntu0.13).
          tar is already the newest version (1.30+dfsg-7ubuntu0.20.04.4).
          unzip is already the newest version (6.0-25ubuntu1.2).
          vsftpd is already the newest version (3.0.5-0ubuntu0.20.04.2).
          wget is already the newest version (1.20.3-1ubuntu2.1).
          zlib1g is already the newest version (1:1.2.11.dfsg-2ubuntu1.5).
          htmldoc is already the newest version (1.9.7-1ubuntu0.3).
          mariadb-client is already the newest version (1:10.3.39-0ubuntu0.20.04.2).
          mariadb-server is already the newest version (1:10.3.39-0ubuntu0.20.04.2).
          Calculating upgrade…
          The following packages were automatically installed and are no longer required:
          gir1.2-goa-1.0 libfwupdplugin1 libxmlb1
          Use ‘apt autoremove’ to remove them.
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          ii apache2 2.4.41-4ubuntu3.23 amd64 Apache HTTP Server
          ii attr 1:2.4.48-5 amd64 utilities for manipulating filesystem extended attributes
          ii bc 1.07.1-2build1 amd64 GNU bc arbitrary precision calculator language
          ii build-essential 12.8ubuntu1.1 amd64 Informational list of build-essential packages
          ii cpp 4:9.3.0-1ubuntu2 amd64 GNU C preprocessor (cpp)
          ii curl 7.68.0-1ubuntu2.25 amd64 command line tool for transferring data with URL syntax
          ii g++ 4:9.3.0-1ubuntu2 amd64 GNU C++ compiler
          ii gawk 1:5.0.1+dfsg-1ubuntu0.1 amd64 GNU awk, a pattern scanning and processing language
          ii gcc 4:9.3.0-1ubuntu2 amd64 GNU C compiler
          ii genisoimage 9:1.1.11-3.1ubuntu1 amd64 Creates ISO-9660 CD-ROM filesystem images
          ii git 1:2.25.1-1ubuntu3.14 amd64 fast, scalable, distributed revision control system
          ii gzip 1.10-0ubuntu4.1 amd64 GNU compression utilities
          ii htmldoc 1.9.7-1ubuntu0.3 amd64 HTML processor that generates indexed HTML, PS, and PDF
          ii isolinux 3:6.04~git20190206.bf6db5b4+dfsg1-2 all collection of bootloaders (ISO 9660 bootloader)
          ii jq 1.6-1ubuntu0.20.04.1 amd64 lightweight and flexible command-line JSON processor
          ii lftp 4.8.4-2build3 amd64 Sophisticated command-line FTP/HTTP/BitTorrent client programs
          ii libapache2-mod-php 2:7.4+75 all server-side, HTML-embedded scripting language (Apache 2 module) (default)
          ii libc6:amd64 2.31-0ubuntu9.18 amd64 GNU C Library: Shared libraries
          ii libcurl4:amd64 7.68.0-1ubuntu2.25 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
          ii liblzma-dev:amd64 5.2.4-1ubuntu1.1 amd64 XZ-format compression library - development files
          ii m4 1.4.18-4 amd64 macro processing language
          ii mariadb-client 1:10.3.39-0ubuntu0.20.04.2 all MariaDB database client (metapackage depending on the latest version)
          ii mariadb-server 1:10.3.39-0ubuntu0.20.04.2 all MariaDB database server (metapackage depending on the latest version)
          ii net-tools 1.60+git20180626.aebd88e-1ubuntu1.3 amd64 NET-3 networking toolkit
          ii nfs-kernel-server 1:1.3.4-2.5ubuntu3.7 amd64 support for NFS kernel server
          ii openssh-server 1:8.2p1-4ubuntu0.13 amd64 secure shell (SSH) server, for secure access from remote machines
          ii php 2:7.4+75 all server-side, HTML-embedded scripting language (default)
          ii php-bcmath 2:7.4+75 all Bcmath module for PHP [default]
          ii php-cli 2:7.4+75 all command-line interpreter for the PHP scripting language (default)
          ii php-curl 2:7.4+75 all CURL module for PHP [default]
          ii php-fpm 2:7.4+75 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
          ii php-gd 2:7.4+75 all GD module for PHP [default]
          ii php-json 2:7.4+75 all JSON module for PHP [default]
          ii php-ldap 2:7.4+75 all LDAP module for PHP [default]
          ii php-mbstring 2:7.4+75 all MBSTRING module for PHP [default]
          ii php-mysql 2:7.4+75 all MySQL module for PHP [default]
          ii php-ssh2 1.2+0.13-1build1 amd64 Bindings for the libssh2 library
          ii tar 1.30+dfsg-7ubuntu0.20.04.4 amd64 GNU version of the tar archiving utility
          ii tftpd-hpa 5.2+20150808-1ubuntu4 amd64 HPA’s tftp server
          ii tftp-hpa 5.2+20150808-1ubuntu4 amd64 HPA’s tftp client
          ii unzip 6.0-25ubuntu1.2 amd64 De-archiver for .zip files
          ii vsftpd 3.0.5-0ubuntu0.20.04.2 amd64 lightweight, efficient FTP server written for security
          ii wget 1.20.3-1ubuntu2.1 amd64 retrieves files from the web
          ii zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.5 amd64 compression library - runtime
          New password: Retype new password: passwd: password updated successfully
          init.xz: OK
          init_32.xz: OK
          bzImage: OK
          bzImage32: OK
          FOGService.msi: OK
          SmartInstaller.exe: OK
          arm_init.cpio.gz: OK
          arm_Image: OK
          ‘bzImage’ -> ‘/var/www/fog//service/ipxe/bzImage’
          Attribute “version” set to a 7 byte value for /var/www/fog//service/ipxe/bzImage:
          6.12.35
          Attribute “tag_name” set to a 10 byte value for /var/www/fog//service/ipxe/bzImage:
          “20260306”
          ‘bzImage32’ -> ‘/var/www/fog//service/ipxe/bzImage32’
          Attribute “version” set to a 7 byte value for /var/www/fog//service/ipxe/bzImage32:
          6.12.35
          Attribute “tag_name” set to a 10 byte value for /var/www/fog//service/ipxe/bzImage32:
          “20260306”
          ‘arm_Image’ -> ‘/var/www/fog//service/ipxe/arm_Image’
          Attribute “version” set to a 7 byte value for /var/www/fog//service/ipxe/arm_Image:
          6.12.35
          Attribute “tag_name” set to a 10 byte value for /var/www/fog//service/ipxe/arm_Image:
          “20260306”
          ‘init.xz’ -> ‘/var/www/fog//service/ipxe/init.xz’
          Attribute “version” set to a 9 byte value for /var/www/fog//service/ipxe/init.xz:
          2025.02.4
          Attribute “tag_name” set to a 10 byte value for /var/www/fog//service/ipxe/init.xz:
          “20260306”
          ‘init_32.xz’ -> ‘/var/www/fog//service/ipxe/init_32.xz’
          Attribute “version” set to a 9 byte value for /var/www/fog//service/ipxe/init_32.xz:
          2025.02.4
          Attribute “tag_name” set to a 10 byte value for /var/www/fog//service/ipxe/init_32.xz:
          “20260306”
          ‘arm_init.cpio.gz’ -> ‘/var/www/fog//service/ipxe/arm_init.cpio.gz’
          Attribute “version” set to a 9 byte value for /var/www/fog//service/ipxe/arm_init.cpio.gz:
          2025.02.4
          Attribute “tag_name” set to a 10 byte value for /var/www/fog//service/ipxe/arm_init.cpio.gz:
          “20260306”
          ‘FOGService.msi’ -> ‘/var/www/fog//client/FOGService.msi’
          ‘SmartInstaller.exe’ -> ‘/var/www/fog//client/SmartInstaller.exe’
          mysqlnd
          ln: ‘/opt/fog/snapins/ssl//CA/.fogCA.key’ and ‘/opt/fog/snapins/ssl//CA/.fogCA.key’ are the same file
          ln: ‘/opt/fog/snapins/ssl//CA/.fogCA.pem’ and ‘/opt/fog/snapins/ssl//CA/.fogCA.pem’ are the same file
          Signature ok
          subject=CN = 10.46.10.40
          Getting CA Private Key
          Site 001-fog disabled.
          To activate the new configuration, you need to run:
          systemctl reload apache2
          Enabling site 000-default.
          To activate the new configuration, you need to run:
          systemctl reload apache2
          renamed ‘/etc/apache2/sites-available/001-fog.conf’ -> ‘/etc/apache2/sites-available/001-fog.conf.1785152340’
          Files /etc/apache2/sites-available/001-fog.conf and /etc/apache2/sites-available/001-fog.conf.1785152340 differ
          ln: failed to create symbolic link ‘/var/www/fog/fog’: File exists
          ERROR: Module php does not exist!
          Considering dependency proxy for proxy_fcgi:
          Module proxy already enabled
          Module proxy_fcgi already enabled
          Module setenvif already enabled
          Module rewrite already enabled
          Enabling module expires.
          Considering dependency filter for deflate:
          Module filter already enabled
          Module deflate already enabled
          Module filter already enabled
          To activate the new configuration, you need to run:
          systemctl restart apache2
          Considering dependency setenvif for ssl:
          Module setenvif already enabled
          Considering dependency mime for ssl:
          Module mime already enabled
          Considering dependency socache_shmcb for ssl:
          Module socache_shmcb already enabled
          Module ssl already enabled
          Enabling site 001-fog.
          To activate the new configuration, you need to run:
          systemctl reload apache2
          Site 000-default disabled.
          To activate the new configuration, you need to run:
          systemctl reload apache2
          ● apache2.service - The Apache HTTP Server
          Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
          Active: active (running) since Mon 2026-07-27 07:40:35 EDT; 15ms ago
          Docs: https://httpd.apache.org/docs/2.4/
          Process: 310048 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
          Main PID: 310054 (apache2)
          Tasks: 1 (limit: 1032)
          Memory: 8.7M
          CGroup: /system.slice/apache2.service
          └─310054 /usr/sbin/apache2 -k start

          Jul 27 07:40:35 CRLCORE-VMFOG systemd[1]: Starting The Apache HTTP Server…
          Jul 27 07:40:35 CRLCORE-VMFOG apachectl[310052]: AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message
          Jul 27 07:40:35 CRLCORE-VMFOG systemd[1]: Started The Apache HTTP Server.

          ● php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager
          Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor preset: enabled)
          Active: active (running) since Mon 2026-07-27 07:40:35 EDT; 1s ago
          Docs: man:php-fpm7.4(8)
          Process: 310059 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/7.4/fpm/pool.d/www.conf 74 (code=exited, status=0/SUCCESS)
          Main PID: 310050 (php-fpm7.4)
          Status: “Ready to handle connections”
          Tasks: 6 (limit: 1032)
          Memory: 14.1M
          CGroup: /system.slice/php7.4-fpm.service
          ├─310050 php-fpm: master process (/etc/php/7.4/fpm/php-fpm.conf)
          ├─310053 php-fpm: pool www
          ├─310055 php-fpm: pool www
          ├─310056 php-fpm: pool www
          ├─310057 php-fpm: pool www
          └─310058 php-fpm: pool www

          Jul 27 07:40:35 CRLCORE-VMFOG systemd[1]: Starting The PHP 7.4 FastCGI Process Manager…
          Jul 27 07:40:35 CRLCORE-VMFOG systemd[1]: Started The PHP 7.4 FastCGI Process Manager.

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @Strahd
            last edited by

            @Strahd Can you retry the install again?

            Just to be on the safe side of course.

            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            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

            S 1 Reply Last reply Reply Quote 0
            • S
              Strahd @Tom Elliott
              last edited by

              @Tom-Elliott I did the install process again. No change, same error.

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @Strahd
                last edited by

                @Strahd Please pull dev-branch/working-1.6 again and try again. I think it should work.

                I’m trying to test all cases but need the help thanks

                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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                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

                S 1 Reply Last reply Reply Quote 0
                • S
                  Strahd @Tom Elliott
                  last edited by

                  @Tom-Elliott ok I did my best to install again. Different error this time

                  sudo -i
                  cd /root
                  cd fogproject
                  git fetch --all
                  (“git pull dev-branch/working1.6” is not a valid comand and I’m not very familiar with this os)
                  git checkout dev-branch
                  git pull (“already up to date”)
                  cd /root/fogproject/bin
                  ./installfog.sh

                  474f469a-7231-47da-b8fe-432b6a6aa9f8-image.png

                  /usr/bin/lsb_release
                  /usr/bin/systemctl
                  systemd
                  ln: failed to create symbolic link ‘/lib/systemd/system/mysql.service’: File exists
                  ln: failed to create symbolic link ‘/lib/systemd/system/mysqld.service’: File exists
                  ln: failed to create symbolic link ‘/etc/systemd/system/mysql.service’: File exists
                  ln: failed to create symbolic link ‘/etc/systemd/system/mysqld.service’: File exists
                  /usr/sbin/iptables
                  /opt/fog/.fogsettings
                  Reading package lists…
                  Building dependency tree…
                  Reading state information…
                  curl is already the newest version (7.68.0-1ubuntu2.25).
                  The following packages were automatically installed and are no longer required:
                  gir1.2-goa-1.0 libfwupdplugin1 libxmlb1
                  Use ‘apt autoremove’ to remove them.
                  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                  Testing DNS name resolution (httpbin.org)… OK
                  Testing HTTP connection (http://httpbin.org)… OK
                  Testing HTTPS connection (https://github.com)… OK
                  ‘universe’ distribution component is already enabled for all sources.
                  Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
                  Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
                  Hit:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
                  Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
                  Reading package lists…
                  ii apache2 2.4.41-4ubuntu3.23 amd64 Apache HTTP Server
                  ii attr 1:2.4.48-5 amd64 utilities for manipulating filesystem extended attributes
                  ii bc 1.07.1-2build1 amd64 GNU bc arbitrary precision calculator language
                  ii build-essential 12.8ubuntu1.1 amd64 Informational list of build-essential packages
                  ii cpp 4:9.3.0-1ubuntu2 amd64 GNU C preprocessor (cpp)
                  ii curl 7.68.0-1ubuntu2.25 amd64 command line tool for transferring data with URL syntax
                  ii g++ 4:9.3.0-1ubuntu2 amd64 GNU C++ compiler
                  ii gawk 1:5.0.1+dfsg-1ubuntu0.1 amd64 GNU awk, a pattern scanning and processing language
                  ii gcc 4:9.3.0-1ubuntu2 amd64 GNU C compiler
                  ii genisoimage 9:1.1.11-3.1ubuntu1 amd64 Creates ISO-9660 CD-ROM filesystem images
                  ii git 1:2.25.1-1ubuntu3.14 amd64 fast, scalable, distributed revision control system
                  ii gzip 1.10-0ubuntu4.1 amd64 GNU compression utilities
                  ii htmldoc 1.9.7-1ubuntu0.3 amd64 HTML processor that generates indexed HTML, PS, and PDF
                  ii isolinux 3:6.04~git20190206.bf6db5b4+dfsg1-2 all collection of bootloaders (ISO 9660 bootloader)
                  ii jq 1.6-1ubuntu0.20.04.1 amd64 lightweight and flexible command-line JSON processor
                  ii lftp 4.8.4-2build3 amd64 Sophisticated command-line FTP/HTTP/BitTorrent client programs
                  ii libapache2-mod-php 2:7.4+75 all server-side, HTML-embedded scripting language (Apache 2 module) (default)
                  ii libc6:amd64 2.31-0ubuntu9.18 amd64 GNU C Library: Shared libraries
                  ii libcurl4:amd64 7.68.0-1ubuntu2.25 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
                  ii liblzma-dev:amd64 5.2.4-1ubuntu1.1 amd64 XZ-format compression library - development files
                  ii m4 1.4.18-4 amd64 macro processing language
                  mariadb-client-10.3
                  mariadb-client-core-10.3
                  mariadb-client
                  ii mariadb-client 1:10.3.39-0ubuntu0.20.04.2 all MariaDB database client (metapackage depending on the latest version)
                  ii mariadb-client 1:10.3.39-0ubuntu0.20.04.2 all MariaDB database client (metapackage depending on the latest version)
                  mariadb-server-core-10.3
                  mariadb-server-10.3
                  mariadb-server
                  ii mariadb-server 1:10.3.39-0ubuntu0.20.04.2 all MariaDB database server (metapackage depending on the latest version)
                  ii mariadb-server 1:10.3.39-0ubuntu0.20.04.2 all MariaDB database server (metapackage depending on the latest version)
                  ii net-tools 1.60+git20180626.aebd88e-1ubuntu1.3 amd64 NET-3 networking toolkit
                  ii nfs-kernel-server 1:1.3.4-2.5ubuntu3.7 amd64 support for NFS kernel server
                  ii openssh-server 1:8.2p1-4ubuntu0.13 amd64 secure shell (SSH) server, for secure access from remote machines
                  ii php 2:7.4+75 all server-side, HTML-embedded scripting language (default)
                  ii php-bcmath 2:7.4+75 all Bcmath module for PHP [default]
                  ii php-cli 2:7.4+75 all command-line interpreter for the PHP scripting language (default)
                  ii php-curl 2:7.4+75 all CURL module for PHP [default]
                  ii php-fpm 2:7.4+75 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
                  ii php-gd 2:7.4+75 all GD module for PHP [default]
                  php-json
                  php-json-schema
                  ii php-json 2:7.4+75 all JSON module for PHP [default]
                  ii php-ldap 2:7.4+75 all LDAP module for PHP [default]
                  ii php-mbstring 2:7.4+75 all MBSTRING module for PHP [default]
                  php-mysql
                  ii php-mysql 2:7.4+75 all MySQL module for PHP [default]
                  ii php-ssh2 1.2+0.13-1build1 amd64 Bindings for the libssh2 library
                  ii tar 1.30+dfsg-7ubuntu0.20.04.4 amd64 GNU version of the tar archiving utility
                  ii tftpd-hpa 5.2+20150808-1ubuntu4 amd64 HPA’s tftp server
                  ii tftp-hpa 5.2+20150808-1ubuntu4 amd64 HPA’s tftp client
                  ii unzip 6.0-25ubuntu1.2 amd64 De-archiver for .zip files
                  ii vsftpd 3.0.5-0ubuntu0.20.04.2 amd64 lightweight, efficient FTP server written for security
                  ii wget 1.20.3-1ubuntu2.1 amd64 retrieves files from the web
                  ii zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.5 amd64 compression library - runtime
                  Reading package lists…
                  Building dependency tree…
                  Reading state information…
                  attr is already the newest version (1:2.4.48-5).
                  bc is already the newest version (1.07.1-2build1).
                  cpp is already the newest version (4:9.3.0-1ubuntu2).
                  g++ is already the newest version (4:9.3.0-1ubuntu2).
                  gcc is already the newest version (4:9.3.0-1ubuntu2).
                  genisoimage is already the newest version (9:1.1.11-3.1ubuntu1).
                  isolinux is already the newest version (3:6.04~git20190206.bf6db5b4+dfsg1-2).
                  lftp is already the newest version (4.8.4-2build3).
                  libapache2-mod-php is already the newest version (2:7.4+75).
                  m4 is already the newest version (1.4.18-4).
                  php is already the newest version (2:7.4+75).
                  php-cli is already the newest version (2:7.4+75).
                  php-curl is already the newest version (2:7.4+75).
                  php-gd is already the newest version (2:7.4+75).
                  php-ldap is already the newest version (2:7.4+75).
                  php-mysql is already the newest version (2:7.4+75).
                  tftp-hpa is already the newest version (5.2+20150808-1ubuntu4).
                  tftpd-hpa is already the newest version (5.2+20150808-1ubuntu4).
                  php-bcmath is already the newest version (2:7.4+75).
                  php-fpm is already the newest version (2:7.4+75).
                  php-json is already the newest version (2:7.4+75).
                  php-mbstring is already the newest version (2:7.4+75).
                  php-ssh2 is already the newest version (1.2+0.13-1build1).
                  apache2 is already the newest version (2.4.41-4ubuntu3.23).
                  build-essential is already the newest version (12.8ubuntu1.1).
                  curl is already the newest version (7.68.0-1ubuntu2.25).
                  gawk is already the newest version (1:5.0.1+dfsg-1ubuntu0.1).
                  git is already the newest version (1:2.25.1-1ubuntu3.14).
                  gzip is already the newest version (1.10-0ubuntu4.1).
                  jq is already the newest version (1.6-1ubuntu0.20.04.1).
                  libc6 is already the newest version (2.31-0ubuntu9.18).
                  libcurl4 is already the newest version (7.68.0-1ubuntu2.25).
                  liblzma-dev is already the newest version (5.2.4-1ubuntu1.1).
                  net-tools is already the newest version (1.60+git20180626.aebd88e-1ubuntu1.3).
                  nfs-kernel-server is already the newest version (1:1.3.4-2.5ubuntu3.7).
                  openssh-server is already the newest version (1:8.2p1-4ubuntu0.13).
                  tar is already the newest version (1.30+dfsg-7ubuntu0.20.04.4).
                  unzip is already the newest version (6.0-25ubuntu1.2).
                  vsftpd is already the newest version (3.0.5-0ubuntu0.20.04.2).
                  wget is already the newest version (1.20.3-1ubuntu2.1).
                  zlib1g is already the newest version (1:1.2.11.dfsg-2ubuntu1.5).
                  htmldoc is already the newest version (1.9.7-1ubuntu0.3).
                  mariadb-client is already the newest version (1:10.3.39-0ubuntu0.20.04.2).
                  mariadb-server is already the newest version (1:10.3.39-0ubuntu0.20.04.2).
                  Calculating upgrade…
                  The following packages were automatically installed and are no longer required:
                  gir1.2-goa-1.0 libfwupdplugin1 libxmlb1
                  Use ‘apt autoremove’ to remove them.
                  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                  ii apache2 2.4.41-4ubuntu3.23 amd64 Apache HTTP Server
                  ii attr 1:2.4.48-5 amd64 utilities for manipulating filesystem extended attributes
                  ii bc 1.07.1-2build1 amd64 GNU bc arbitrary precision calculator language
                  ii build-essential 12.8ubuntu1.1 amd64 Informational list of build-essential packages
                  ii cpp 4:9.3.0-1ubuntu2 amd64 GNU C preprocessor (cpp)
                  ii curl 7.68.0-1ubuntu2.25 amd64 command line tool for transferring data with URL syntax
                  ii g++ 4:9.3.0-1ubuntu2 amd64 GNU C++ compiler
                  ii gawk 1:5.0.1+dfsg-1ubuntu0.1 amd64 GNU awk, a pattern scanning and processing language
                  ii gcc 4:9.3.0-1ubuntu2 amd64 GNU C compiler
                  ii genisoimage 9:1.1.11-3.1ubuntu1 amd64 Creates ISO-9660 CD-ROM filesystem images
                  ii git 1:2.25.1-1ubuntu3.14 amd64 fast, scalable, distributed revision control system
                  ii gzip 1.10-0ubuntu4.1 amd64 GNU compression utilities
                  ii htmldoc 1.9.7-1ubuntu0.3 amd64 HTML processor that generates indexed HTML, PS, and PDF
                  ii isolinux 3:6.04~git20190206.bf6db5b4+dfsg1-2 all collection of bootloaders (ISO 9660 bootloader)
                  ii jq 1.6-1ubuntu0.20.04.1 amd64 lightweight and flexible command-line JSON processor
                  ii lftp 4.8.4-2build3 amd64 Sophisticated command-line FTP/HTTP/BitTorrent client programs
                  ii libapache2-mod-php 2:7.4+75 all server-side, HTML-embedded scripting language (Apache 2 module) (default)
                  ii libc6:amd64 2.31-0ubuntu9.18 amd64 GNU C Library: Shared libraries
                  ii libcurl4:amd64 7.68.0-1ubuntu2.25 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
                  ii liblzma-dev:amd64 5.2.4-1ubuntu1.1 amd64 XZ-format compression library - development files
                  ii m4 1.4.18-4 amd64 macro processing language
                  ii mariadb-client 1:10.3.39-0ubuntu0.20.04.2 all MariaDB database client (metapackage depending on the latest version)
                  ii mariadb-server 1:10.3.39-0ubuntu0.20.04.2 all MariaDB database server (metapackage depending on the latest version)
                  ii net-tools 1.60+git20180626.aebd88e-1ubuntu1.3 amd64 NET-3 networking toolkit
                  ii nfs-kernel-server 1:1.3.4-2.5ubuntu3.7 amd64 support for NFS kernel server
                  ii openssh-server 1:8.2p1-4ubuntu0.13 amd64 secure shell (SSH) server, for secure access from remote machines
                  ii php 2:7.4+75 all server-side, HTML-embedded scripting language (default)
                  ii php-bcmath 2:7.4+75 all Bcmath module for PHP [default]
                  ii php-cli 2:7.4+75 all command-line interpreter for the PHP scripting language (default)
                  ii php-curl 2:7.4+75 all CURL module for PHP [default]
                  ii php-fpm 2:7.4+75 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
                  ii php-gd 2:7.4+75 all GD module for PHP [default]
                  ii php-json 2:7.4+75 all JSON module for PHP [default]
                  ii php-ldap 2:7.4+75 all LDAP module for PHP [default]
                  ii php-mbstring 2:7.4+75 all MBSTRING module for PHP [default]
                  ii php-mysql 2:7.4+75 all MySQL module for PHP [default]
                  ii php-ssh2 1.2+0.13-1build1 amd64 Bindings for the libssh2 library
                  ii tar 1.30+dfsg-7ubuntu0.20.04.4 amd64 GNU version of the tar archiving utility
                  ii tftpd-hpa 5.2+20150808-1ubuntu4 amd64 HPA’s tftp server
                  ii tftp-hpa 5.2+20150808-1ubuntu4 amd64 HPA’s tftp client
                  ii unzip 6.0-25ubuntu1.2 amd64 De-archiver for .zip files
                  ii vsftpd 3.0.5-0ubuntu0.20.04.2 amd64 lightweight, efficient FTP server written for security
                  ii wget 1.20.3-1ubuntu2.1 amd64 retrieves files from the web
                  ii zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.5 amd64 compression library - runtime
                  New password: Retype new password: passwd: password updated successfully
                  init.xz: OK
                  init_32.xz: OK
                  bzImage: OK
                  bzImage32: OK
                  FOGService.msi: OK
                  SmartInstaller.exe: OK
                  arm_init.cpio.gz: OK
                  arm_Image: OK
                  ‘bzImage’ -> ‘/var/www/fog//service/ipxe/bzImage’
                  Attribute “version” set to a 7 byte value for /var/www/fog//service/ipxe/bzImage:
                  6.12.35
                  Attribute “tag_name” set to a 10 byte value for /var/www/fog//service/ipxe/bzImage:
                  “20260306”
                  ‘bzImage32’ -> ‘/var/www/fog//service/ipxe/bzImage32’
                  Attribute “version” set to a 7 byte value for /var/www/fog//service/ipxe/bzImage32:
                  6.12.35
                  Attribute “tag_name” set to a 10 byte value for /var/www/fog//service/ipxe/bzImage32:
                  “20260306”
                  ‘arm_Image’ -> ‘/var/www/fog//service/ipxe/arm_Image’
                  Attribute “version” set to a 7 byte value for /var/www/fog//service/ipxe/arm_Image:
                  6.12.35
                  Attribute “tag_name” set to a 10 byte value for /var/www/fog//service/ipxe/arm_Image:
                  “20260306”
                  ‘init.xz’ -> ‘/var/www/fog//service/ipxe/init.xz’
                  Attribute “version” set to a 9 byte value for /var/www/fog//service/ipxe/init.xz:
                  2025.02.4
                  Attribute “tag_name” set to a 10 byte value for /var/www/fog//service/ipxe/init.xz:
                  “20260306”
                  ‘init_32.xz’ -> ‘/var/www/fog//service/ipxe/init_32.xz’
                  Attribute “version” set to a 9 byte value for /var/www/fog//service/ipxe/init_32.xz:
                  2025.02.4
                  Attribute “tag_name” set to a 10 byte value for /var/www/fog//service/ipxe/init_32.xz:
                  “20260306”
                  ‘arm_init.cpio.gz’ -> ‘/var/www/fog//service/ipxe/arm_init.cpio.gz’
                  Attribute “version” set to a 9 byte value for /var/www/fog//service/ipxe/arm_init.cpio.gz:
                  2025.02.4
                  Attribute “tag_name” set to a 10 byte value for /var/www/fog//service/ipxe/arm_init.cpio.gz:
                  “20260306”
                  ‘FOGService.msi’ -> ‘/var/www/fog//client/FOGService.msi’
                  ‘SmartInstaller.exe’ -> ‘/var/www/fog//client/SmartInstaller.exe’
                  mysqlnd
                  ln: ‘/opt/fog/snapins/ssl//CA/.fogCA.key’ and ‘/opt/fog/snapins/ssl//CA/.fogCA.key’ are the same file
                  ln: ‘/opt/fog/snapins/ssl//CA/.fogCA.pem’ and ‘/opt/fog/snapins/ssl//CA/.fogCA.pem’ are the same file
                  Signature ok
                  subject=CN = 10.46.10.40
                  Getting CA Private Key
                  Site 001-fog disabled.
                  To activate the new configuration, you need to run:
                  systemctl reload apache2
                  Enabling site 000-default.
                  To activate the new configuration, you need to run:
                  systemctl reload apache2
                  renamed ‘/etc/apache2/sites-available/001-fog.conf’ -> ‘/etc/apache2/sites-available/001-fog.conf.1785160292’
                  ln: failed to create symbolic link ‘/var/www/fog/fog’: File exists
                  ERROR: Module php does not exist!
                  Considering dependency proxy for proxy_fcgi:
                  Module proxy already enabled
                  Module proxy_fcgi already enabled
                  Module setenvif already enabled
                  Module rewrite already enabled
                  Module expires already enabled
                  Considering dependency filter for deflate:
                  Module filter already enabled
                  Module deflate already enabled
                  Module filter already enabled
                  Considering dependency setenvif for ssl:
                  Module setenvif already enabled
                  Considering dependency mime for ssl:
                  Module mime already enabled
                  Considering dependency socache_shmcb for ssl:
                  Module socache_shmcb already enabled
                  Module ssl already enabled
                  Enabling site 001-fog.
                  To activate the new configuration, you need to run:
                  systemctl reload apache2
                  Site 000-default disabled.
                  To activate the new configuration, you need to run:
                  systemctl reload apache2
                  ● apache2.service - The Apache HTTP Server
                  Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
                  Active: active (running) since Mon 2026-07-27 09:52:22 EDT; 11ms ago
                  Docs: https://httpd.apache.org/docs/2.4/
                  Process: 314014 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
                  Main PID: 314026 (apache2)
                  Tasks: 1 (limit: 1032)
                  Memory: 9.0M
                  CGroup: /system.slice/apache2.service
                  └─314026 /usr/sbin/apache2 -k start

                  Jul 27 09:52:22 CRLCORE-VMFOG systemd[1]: Starting The Apache HTTP Server…
                  Jul 27 09:52:22 CRLCORE-VMFOG apachectl[314018]: AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message
                  Jul 27 09:52:22 CRLCORE-VMFOG systemd[1]: Started The Apache HTTP Server.

                  ● php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager
                  Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor preset: enabled)
                  Active: active (running) since Mon 2026-07-27 09:52:22 EDT; 1s ago
                  Docs: man:php-fpm7.4(8)
                  Process: 314024 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/7.4/fpm/pool.d/www.conf 74 (code=exited, status=0/SUCCESS)
                  Main PID: 314015 (php-fpm7.4)
                  Status: “Ready to handle connections”
                  Tasks: 6 (limit: 1032)
                  Memory: 14.2M
                  CGroup: /system.slice/php7.4-fpm.service
                  ├─314015 php-fpm: master process (/etc/php/7.4/fpm/php-fpm.conf)
                  ├─314019 php-fpm: pool www
                  ├─314020 php-fpm: pool www
                  ├─314021 php-fpm: pool www
                  ├─314022 php-fpm: pool www
                  └─314023 php-fpm: pool www

                  Jul 27 09:52:22 CRLCORE-VMFOG systemd[1]: Starting The PHP 7.4 FastCGI Process Manager…
                  Jul 27 09:52:22 CRLCORE-VMFOG systemd[1]: Started The PHP 7.4 FastCGI Process Manager.

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @Strahd
                    last edited by Tom Elliott

                    @Strahd are you attempting to install dev-branch or working-1.6?

                    I see the problem appears to be when you’re installing dev-branch this time around, but yesterday it seemed you were attempting working-1.6?

                    So I’m unsure if the issue is related to a partially updated version now attempting to install against a version that would no longer be directly supported.

                    Please also post:

                    sudo tail -50 /var/log/apache2/error.log
                    sudo php -v
                    sudo ls /etc/php/*/fpm/pool.d/
                    sudo systemctl status 'php*-fpm' --no-pager
                    

                    Findings

                    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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    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

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Strahd @Tom Elliott
                      last edited by

                      @Tom-Elliott The FOG kernal was failing to load on our newest computers so I figured I needed to update since our fog server is at least 5 or more years old now. I just wanted to update to the latest working release, but when it failed I came here for support.

                      According to your post “Dev-branch appears to have this fixed best I can tell, but also fixed it in working-1.6 (if you want to test this version I think you’ll like it a bit more - but I’ll admit I’m biased lol)”

                      Ok so I tried to install the working-1.6 but it failed too.

                      You next posted “Please pull dev-branch/working-1.6 again and try again. I think it should work.”

                      Ok so now I’m on the dev-branch I think? At this point I just don’t care what version I’m running, I just need things to work. If you’re in the mood to remote in and poke around, I’m 100% fine with that. If it’s just a database problem of some sort, I don’t even care if I lose all my registered clients, but I would like to keep my images and pxe boot files. The last thing I wanted to do was blow everything out and reinstall the os+fog from scratch but it keeps looking like that. Thanks for looking into this.

                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @Strahd
                        last edited by

                        @Strahd Do this:

                        cd /root/fogproject
                        git checkout working-1.6
                        git pull
                        cd bin
                        sudo ./installfog.sh -y
                        

                        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        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

                        S 3 Replies Last reply Reply Quote 0
                        • S
                          Strahd @Tom Elliott
                          last edited by

                          @Tom-Elliott

                          hmmm…

                          d51d7510-d318-468a-87dd-85a5921480dd-image.png

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            Strahd @Strahd
                            last edited by

                            @Strahd

                            ok cancel that last post I think our internet filter was getting in the way or somethine weird and i’m past that now.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Strahd @Tom Elliott
                              last edited by

                              @Tom-Elliott ok heres the logs you requested

                              637d60b4-df02-4793-ac36-a1a7841c2d68-image.png

                              (FYI 10.46.101.20 is my PC’s ip address. The fog server is a VM. It is 10.46.10.40)

                              89fde997-d066-4ff8-bee3-326bed4d6410-image.png

                              d6ccbd01-7893-4864-8a69-8ad97ee0bd20-image.png

                              1 Reply Last reply Reply Quote 0
                              • S
                                Strahd @Tom Elliott
                                last edited by

                                @Tom-Elliott I did this as per your post, did not work, same DB update error as before

                                cd /root/fogproject
                                git checkout working-1.6
                                git pull
                                cd bin
                                sudo ./installfog.sh -y

                                Tom ElliottT 2 Replies Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @Strahd
                                  last edited by

                                  @Strahd @Strahd Those logs were exactly what I needed, thank you. Two separate things going on
                                  and neither one is your fault.

                                  First, this line is your 500:

                                  [proxy:error] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
                                  [proxy_fcgi:error] AH01079: failed to make connection to backend: 127.0.0.1
                                  

                                  Apache was trying to hand PHP off on port 9000 and php-fpm wasn’t listening there yet.
                                  Notice apache came back up at 08:57:16 and there are no more of those errors after it.
                                  So before you do anything else, just reload the page:

                                  http://10.46.10.40/fog/management
                                  

                                  There’s a decent chance it works now.

                                  Second, “Updating Database…Failed!” is the part I still need to see. That curl’s
                                  output goes into the install log, so please post:

                                  sudo grep -A5 -i "schema\|Updating Database" /root/fogproject/bin/error_logs/fog_error_1.6.0-beta.3050.log | tail -60
                                  

                                  That’ll tell me why the schema update itself came back an error, which is the last piece.

                                  Third - you found a real bug. On 1.6 the schema page makes you log in first, but the
                                  login reads a database column that doesn’t exist until the schema update runs. So it
                                  asks you to sign in, sign in can’t work, and there’s no way out. That hits everyone
                                  upgrading from any released FOG, not just you. I’ve fixed it and pushed it, tracked in
                                  #927.

                                  If the page is still dead, here’s the manual way to force the database update. Get your
                                  token:

                                  sudo grep FOG_SCHEMA_INSTALL_TOKEN /var/www/html/fog/lib/fog/config.class.php
                                  

                                  Then paste it into this:

                                  sudo curl -X POST -H "X-Fog-Install-Token: PASTE_TOKEN_HERE" -d "schemaupdate=1" \
                                    "http://10.46.10.40/fog/management/index.php?node=schema"
                                  

                                  You want to see:

                                  {"msg":"Schema updated successfully!","title":"Schema Update Success"}
                                  

                                  I tested that against a real 1.5.9 database on PHP 7.4 here, it works.

                                  And to put your mind at ease - none of this touches /images or your tftpboot files. You
                                  are not going to lose your images over this, so please don’t rebuild the box yet.

                                  One last thing. Your install log still had these:

                                  ln: failed to create symbolic link '/lib/systemd/system/mysql.service': File exists
                                  

                                  I fixed those on the 27th and the current code can’t print them anymore, so I don’t think
                                  your checkout took. Run this and show me what it says:

                                  cd /root/fogproject
                                  git rev-parse --abbrev-ref HEAD
                                  git log -1 --oneline
                                  

                                  Thanks for sticking with this one. You’ve found two real bugs so far

                                  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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  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

                                  S 1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott @Strahd
                                    last edited by

                                    @Strahd Simply put:

                                    Please try a repull and install:

                                    cd /root/fogproject
                                    git pull
                                    cd bin
                                    sudo ./installfog.sh -y
                                    

                                    should 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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    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
                                    • S
                                      Strahd @Tom Elliott
                                      last edited by

                                      @Tom-Elliott ok here’s the latest results:

                                      When I visit http://10.46.10.40/fog/management it immediately jumps to http://10.46.10.40/fog/management/index.php?node=schema instead and displays the following:
                                      e5ceb6cd-8406-428a-9299-65c6655b1301-image.png

                                      Clicking update reveals (if I click “here to login” again it sends me to the previous update page, making an endless loop):
                                      d2c833e1-f1c6-4b4e-aaea-56590873243c-image.png

                                      Typing
                                      sudo grep -A5 -i “schema|Updating Database” /root/fogproject/bin/error_logs/fog_error_1.6.0-beta.3050.log | tail -60
                                      Delivers no output at all. If you are looking for the term “Updating Database” I manually opened the log with a text editor and found no reference to “Updating” anywhere in there.

                                      I tried updating the token but it threw an error - please check my syntax

                                      bcfadc26-5450-41cf-ac41-6d0b91dd99d3-image.png

                                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott @Strahd
                                        last edited by

                                        @Strahd IT’s likely the \ character in the line that casued the error you saw.
                                        Either way it seems like it’s working now?

                                        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        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

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          Strahd @Tom Elliott
                                          last edited by

                                          @Tom-Elliott No, can’t get that command to work. I tried removing the \ or removing the quotes, no joy.

                                          d26a8d74-8f91-4a77-9ca4-0cbb79381317-image.png

                                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                                          • Tom ElliottT
                                            Tom Elliott @Strahd
                                            last edited by

                                            @Strahd IS your fog server actually having issues now?

                                            I know you have the schema testing stuffs, but that was less important.

                                            it seems you have a database and all that jazz

                                            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                            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

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

                                            92

                                            Online

                                            12.7k

                                            Users

                                            17.6k

                                            Topics

                                            156.8k

                                            Posts
                                            Copyright © 2012-2026 FOG Project