@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

/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.