@Tom-Elliott Thanks for the reply. I noticed PHP 8 support in the release notes so I’m guessing that the comment in the source code of the management page is just out of date. No worries. It seems like I should not have a problem using Debian 12.5 but for some reason I get a blank page when I click on /fog/management webpage during the install. I’ll try again with debian 12.5 standard … maybe Lynx would work?
Posts made by tedlaur
-
RE: FOG 1.5.10 officially released
-
RE: FOG 1.5.10 officially released
@Sebastian-Roth Thank you for this update. I’m curious … do you know the release schedule (or if there is one)? I’ve been doing some test installs and it looks like php 5 is a dependency that seems to be problematic for me. I’ve found I can get past it using Debian 11 but would rather use something a little more current. I’m grateful for all the FOG team has done on this project. Its a life saver!
-
RE: Installation - Error cloning fogproject in Debian 12 Hyper-V VM ( 8 GB RAM / 127 GB DISK )
Some additional info …
root@fog:~# cat /root/fogproject-dev-branch/bin/error_logs/fog_error_1.5.10.18.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/sestatus
dpkg-query: no packages found matching mysql-server
Reading package lists…
Building dependency tree…
Reading state information…
curl is already the newest version (7.88.1-10+deb12u5).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Testing DNS name resolution (neverssl.com)… OK
Testing HTTP connection (http://neverssl.com)… OK
Testing HTTPS connection (https://github.com)… OK
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Get:2 http://deb.debian.org/debian bookworm InRelease [151 kB]
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Fetched 151 kB in 1s (157 kB/s)
Reading package lists…
ii apache2 2.4.59-1~deb12u1 amd64 Apache HTTP Server
ii bc 1.07.1-3+b1 amd64 GNU bc arbitrary precision calculator language
ii build-essential 12.9 amd64 Informational list of build-essential packages
ii cpp 4:12.2.0-3 amd64 GNU C preprocessor (cpp)
ii curl 7.88.1-10+deb12u5 amd64 command line tool for transferring data with URL syntax
ii g++ 4:12.2.0-3 amd64 GNU C++ compiler
ii gawk 1:5.2.1-2 amd64 GNU awk, a pattern scanning and processing language
ii gcc 4:12.2.0-3 amd64 GNU C compiler
ii genisoimage 9:1.1.11-3.4 amd64 Creates ISO-9660 CD-ROM filesystem images
ii git 1:2.39.2-1.1 amd64 fast, scalable, distributed revision control system
ii gzip 1.12-1 amd64 GNU compression utilities
ii htmldoc 1.9.16-1 amd64 HTML processor that generates indexed HTML, PS, and PDF
ii isolinux 3:6.04~git20190206.bf6db5b4+dfsg1-3 all collection of bootloaders (ISO 9660 bootloader)
ii lftp 4.9.2-2+b1 amd64 Sophisticated command-line FTP/HTTP/BitTorrent client programs
ii libapache2-mod-php 2:8.2+93 all server-side, HTML-embedded scripting language (Apache 2 module) (default)
ii libc6:amd64 2.36-9+deb12u4 amd64 GNU C Library: Shared libraries
ii libcurl4:amd64 7.88.1-10+deb12u5 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii liblzma-dev:amd64 5.4.1-0.2 amd64 XZ-format compression library - development files
ii m4 1.4.19-3 amd64 macro processing language
mariadb-client-core
mariadb-client
ii mariadb-client 1:10.11.6-0+deb12u1 amd64 MariaDB database client binaries
ii mariadb-client 1:10.11.6-0+deb12u1 amd64 MariaDB database client binaries
mariadb-server
mariadb-server-core
mariadb-server-10.5
ii mariadb-server 1:10.11.6-0+deb12u1 amd64 MariaDB database server binaries
ii mariadb-server 1:10.11.6-0+deb12u1 amd64 MariaDB database server binaries
ii net-tools 2.10-0.1 amd64 NET-3 networking toolkit
ii nfs-kernel-server 1:2.6.2-4 amd64 support for NFS kernel server
ii openssh-server 1:9.2p1-2+deb12u2 amd64 secure shell (SSH) server, for secure access from remote machines
ii php 2:8.2+93 all server-side, HTML-embedded scripting language (default)
ii php-bcmath 2:8.2+93 all Bcmath module for PHP [default]
ii php-cli 2:8.2+93 all command-line interpreter for the PHP scripting language (default)
ii php-curl 2:8.2+93 all CURL module for PHP [default]
ii php-fpm 2:8.2+93 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
ii php-gd 2:8.2+93 all GD module for PHP [default]
php-json-schema
php-json
ii php-json 2:8.2+93 all JSON module for PHP [default]
ii php-ldap 2:8.2+93 all LDAP module for PHP [default]
ii php-mbstring 2:8.2+93 all MBSTRING module for PHP [default]
php-mysql
ii php-mysql 2:8.2+93 all MySQL module for PHP [default]
php-mysql
ii php-mysql 2:8.2+93 all MySQL module for PHP [default]
ii tar 1.34+dfsg-1.2+deb12u1 amd64 GNU version of the tar archiving utility
ii tftpd-hpa 5.2+20150808-1.4 amd64 HPA’s tftp server
ii tftp-hpa 5.2+20150808-1.4 amd64 HPA’s tftp client
ii unzip 6.0-28 amd64 De-archiver for .zip files
ii vsftpd 3.0.3-13+b2 amd64 lightweight, efficient FTP server written for security
ii wget 1.21.3-1+b2 amd64 retrieves files from the web
ii zlib1g:amd64 1:1.2.13.dfsg-1 amd64 compression library - runtime
Reading package lists…
Building dependency tree…
Reading state information…
apache2 is already the newest version (2.4.59-1~deb12u1).
bc is already the newest version (1.07.1-3+b1).
build-essential is already the newest version (12.9).
cpp is already the newest version (4:12.2.0-3).
curl is already the newest version (7.88.1-10+deb12u5).
g++ is already the newest version (4:12.2.0-3).
gawk is already the newest version (1:5.2.1-2).
gcc is already the newest version (4:12.2.0-3).
genisoimage is already the newest version (9:1.1.11-3.4).
git is already the newest version (1:2.39.2-1.1).
gzip is already the newest version (1.12-1).
htmldoc is already the newest version (1.9.16-1).
isolinux is already the newest version (3:6.04~git20190206.bf6db5b4+dfsg1-3).
lftp is already the newest version (4.9.2-2+b1).
libapache2-mod-php is already the newest version (2:8.2+93).
libc6 is already the newest version (2.36-9+deb12u4).
libcurl4 is already the newest version (7.88.1-10+deb12u5).
liblzma-dev is already the newest version (5.4.1-0.2).
m4 is already the newest version (1.4.19-3).
mariadb-client is already the newest version (1:10.11.6-0+deb12u1).
mariadb-server is already the newest version (1:10.11.6-0+deb12u1).
net-tools is already the newest version (2.10-0.1).
nfs-kernel-server is already the newest version (1:2.6.2-4).
openssh-server is already the newest version (1:9.2p1-2+deb12u2).
php is already the newest version (2:8.2+93).
php-bcmath is already the newest version (2:8.2+93).
php-cli is already the newest version (2:8.2+93).
php-curl is already the newest version (2:8.2+93).
php-fpm is already the newest version (2:8.2+93).
php-gd is already the newest version (2:8.2+93).
php-json is already the newest version (2:8.2+93).
php-ldap is already the newest version (2:8.2+93).
php-mbstring is already the newest version (2:8.2+93).
php-mysql is already the newest version (2:8.2+93).
tar is already the newest version (1.34+dfsg-1.2+deb12u1).
tftpd-hpa is already the newest version (5.2+20150808-1.4).
tftp-hpa is already the newest version (5.2+20150808-1.4).
unzip is already the newest version (6.0-28).
vsftpd is already the newest version (3.0.3-13+b2).
wget is already the newest version (1.21.3-1+b2).
zlib1g is already the newest version (1:1.2.13.dfsg-1).
Calculating upgrade…
The following packages have been kept back:
linux-headers-amd64 linux-image-amd64
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
ii apache2 2.4.59-1~deb12u1 amd64 Apache HTTP Server
ii bc 1.07.1-3+b1 amd64 GNU bc arbitrary precision calculator language
ii build-essential 12.9 amd64 Informational list of build-essential packages
ii cpp 4:12.2.0-3 amd64 GNU C preprocessor (cpp)
ii curl 7.88.1-10+deb12u5 amd64 command line tool for transferring data with URL syntax
ii g++ 4:12.2.0-3 amd64 GNU C++ compiler
ii gawk 1:5.2.1-2 amd64 GNU awk, a pattern scanning and processing language
ii gcc 4:12.2.0-3 amd64 GNU C compiler
ii genisoimage 9:1.1.11-3.4 amd64 Creates ISO-9660 CD-ROM filesystem images
ii git 1:2.39.2-1.1 amd64 fast, scalable, distributed revision control system
ii gzip 1.12-1 amd64 GNU compression utilities
ii htmldoc 1.9.16-1 amd64 HTML processor that generates indexed HTML, PS, and PDF
ii isolinux 3:6.04~git20190206.bf6db5b4+dfsg1-3 all collection of bootloaders (ISO 9660 bootloader)
ii lftp 4.9.2-2+b1 amd64 Sophisticated command-line FTP/HTTP/BitTorrent client programs
ii libapache2-mod-php 2:8.2+93 all server-side, HTML-embedded scripting language (Apache 2 module) (default)
ii libc6:amd64 2.36-9+deb12u4 amd64 GNU C Library: Shared libraries
ii libcurl4:amd64 7.88.1-10+deb12u5 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii liblzma-dev:amd64 5.4.1-0.2 amd64 XZ-format compression library - development files
ii m4 1.4.19-3 amd64 macro processing language
ii mariadb-client 1:10.11.6-0+deb12u1 amd64 MariaDB database client binaries
ii mariadb-server 1:10.11.6-0+deb12u1 amd64 MariaDB database server binaries
ii net-tools 2.10-0.1 amd64 NET-3 networking toolkit
ii nfs-kernel-server 1:2.6.2-4 amd64 support for NFS kernel server
ii openssh-server 1:9.2p1-2+deb12u2 amd64 secure shell (SSH) server, for secure access from remote machines
ii php 2:8.2+93 all server-side, HTML-embedded scripting language (default)
ii php-bcmath 2:8.2+93 all Bcmath module for PHP [default]
ii php-cli 2:8.2+93 all command-line interpreter for the PHP scripting language (default)
ii php-curl 2:8.2+93 all CURL module for PHP [default]
ii php-fpm 2:8.2+93 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
ii php-gd 2:8.2+93 all GD module for PHP [default]
ii php-json 2:8.2+93 all JSON module for PHP [default]
ii php-ldap 2:8.2+93 all LDAP module for PHP [default]
ii php-mbstring 2:8.2+93 all MBSTRING module for PHP [default]
ii php-mysql 2:8.2+93 all MySQL module for PHP [default]
ii tar 1.34+dfsg-1.2+deb12u1 amd64 GNU version of the tar archiving utility
ii tftpd-hpa 5.2+20150808-1.4 amd64 HPA’s tftp server
ii tftp-hpa 5.2+20150808-1.4 amd64 HPA’s tftp client
ii unzip 6.0-28 amd64 De-archiver for .zip files
ii vsftpd 3.0.3-13+b2 amd64 lightweight, efficient FTP server written for security
ii wget 1.21.3-1+b2 amd64 retrieves files from the web
ii zlib1g:amd64 1:1.2.13.dfsg-1 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
‘bzImage’ -> ‘/var/www/html/fog//service/ipxe/bzImage’
‘bzImage32’ -> ‘/var/www/html/fog//service/ipxe/bzImage32’
‘init.xz’ -> ‘/var/www/html/fog//service/ipxe/init.xz’
‘init_32.xz’ -> ‘/var/www/html/fog//service/ipxe/init_32.xz’
‘FOGService.msi’ -> ‘/var/www/html/fog//client/FOGService.msi’
‘SmartInstaller.exe’ -> ‘/var/www/html/fog//client/SmartInstaller.exe’
mysqlnd
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter ‘.’, the field will be left blank.Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common Name (e.g. server FQDN or YOUR name) []:Email Address []:You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter ‘.’, the field will be left blank.192.168.3.200 []:Certificate request self-signature ok
subject=CN = 192.168.3.200
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.1713680529’
ln: failed to create symbolic link ‘/var/www/html/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
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; preset: enabled)
Active: active (running) since Sat 2024-04-20 23:22:55 PDT; 106ms ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 9422 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 9427 (apache2)
Tasks: 6 (limit: 4588)
Memory: 15.5M
CPU: 170ms
CGroup: /system.slice/apache2.service
├─9427 /usr/sbin/apache2 -k start
├─9434 /usr/sbin/apache2 -k start
├─9435 /usr/sbin/apache2 -k start
├─9436 /usr/sbin/apache2 -k start
├─9437 /usr/sbin/apache2 -k start
└─9438 /usr/sbin/apache2 -k startApr 20 23:22:55 fog systemd[1]: Starting apache2.service - The Apache HTTP Server…
Apr 20 23:22:55 fog systemd[1]: Started apache2.service - The Apache HTTP Server.● php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php8.2-fpm.service; enabled; preset: enabled)
Active: active (running) since Sat 2024-04-20 23:22:55 PDT; 19ms ago
Docs: man:php-fpm8.2(8)
Process: 9433 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/8.2/fpm/pool.d/www.conf 82 (code=exited, status=0/SUCCESS)
Main PID: 9423 (php-fpm8.2)
Status: “Ready to handle connections”
Tasks: 6 (limit: 4588)
Memory: 13.6M
CPU: 146ms
CGroup: /system.slice/php8.2-fpm.service
├─9423 “php-fpm: master process (/etc/php/8.2/fpm/php-fpm.conf)”
├─9428 “php-fpm: pool www”
├─9429 “php-fpm: pool www”
├─9430 “php-fpm: pool www”
├─9431 “php-fpm: pool www”
└─9432 “php-fpm: pool www”Apr 20 23:22:55 fog systemd[1]: Starting php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager…
Apr 20 23:22:55 fog systemd[1]: Started php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
–2024-04-20 23:22:55-- http://192.168.3.200/fog//maintenance/backup_db.php
Connecting to 192.168.3.200:80… connected.
HTTP request sent, awaiting response… 500 Internal Server Error
2024-04-20 23:22:56 ERROR 500: Internal Server Error. -
RE: Installation - Error cloning fogproject in Debian 12 Hyper-V VM ( 8 GB RAM / 127 GB DISK )
@tedlaur said in Installation - Error cloning fogproject in Debian 12 Hyper-V VM ( 8 GB RAM / 127 GB DISK ):
error: RPC failed; curl 56 Recv failure: Connection reset by peer
I have downloaded fog and dev fog ZIP files. I get to the database scheme update and get stuck … the web page just comes up blank.
Anyone up for a the challenge of getting me thru this?
-
Installation - Error cloning fogproject in Debian 12 Hyper-V VM ( 8 GB RAM / 127 GB DISK )
I’ve made several attempts but keep getting this error.
Any ideas???
“root@tlaurent-fog-vm:~# git clone https://github.com/FOGProject/fogproject.git
Cloning into ‘fogproject’…
remote: Enumerating objects: 158214, done.
remote: Counting objects: 100% (4216/4216), done.
remote: Compressing objects: 100% (1061/1061), done.
error: RPC failed; curl 56 Recv failure: Connection reset by peer
error: 156 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
root@tlaurent-fog-vm:~#”