Fog installation and cofiguration on ubuntu 18.04 / 19.04 No DHCP Option
-
i was about to update to 1.5.7 saying yes
but let me revert snapshot and try your suggestion…
-
@chasosnature Time for bed in Europe. Will see how it went for you tomorrow morning…
Different versions of PHP installed might make it hard to fix all this…
-
sure…thanks for your time.
-
ok below is the scripts that tells the whole story of my test :
so far all installed but mariam db not playing ball.
so i have snapshot it and taking a break,root@FogServerKubuntu:/opt/fogproject-1.5.7/bin# userdel fogproject root@FogServerKubuntu:/opt/fogproject-1.5.7/bin# ./installfog.sh -X Installing LSB_Release as needed * Attempting to get release information.......................Done systemd +------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 1.5.7 Installer/Updater What version of Linux would you like to run the installation for? 1) Redhat Based Linux (Redhat, CentOS, Mageia) 2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu) 3) Arch Linux Choice: [2] 2 Starting Debian based Installation *** Detected a potential need to reinstall apache and php files. *** This will remove the /etc/php* and /etc/apache2* directories *** and remove/purge the apache and php files from this system. *** If you're okay with this please type Y, anything else will *** continue the installation, but may mean you will need to *** remove the files later and make proper changes as *** necessary. (Y/N): y * Removing apache and php files...............................Done * Stopping web services.......................................Done * Removing the apache and php packages........................Done * Resetting our variables to specify php version..............Done FOG Server installation modes: * Normal Server: (Choice N) This is the typical installation type and will install all FOG components for you on this machine. Pick this option if you are unsure what to pick. * Storage Node: (Choice S) This install mode will only install the software required to make this server act as a node in a storage group More information: http://www.fogproject.org/wiki/index.php?title=InstallationModes What type of installation would you like to do? [N/s (Normal/Storage)] n We found the following interfaces on your system: * ens3 - xxx.xxx.x.xx/24 Would you like to change the default network interface from ens3? If you are not sure, select No. [y/N] n Would you like to setup a router address for the DHCP server? [Y/n] n Would you like DHCP to handle DNS? [Y/n] n Would you like to use the FOG server for DHCP service? [y/N] n This version of FOG has internationalization support, would you like to install the additional language packs? [y/N] n *** New option 'hostname' since FOG 1.5.6 *** Would you like to change the default hostname >FogServerKubuntu<? The fully qualified hostname is used for the webserver certificate. If you are not sure, select No. [y/N] n ###################################################################### # FOG now has everything it needs for this setup, but please # # understand that this script will overwrite any setting you may # # have setup for services like DHCP, apache, pxe, tftp, and NFS. # ###################################################################### # It is not recommended that you install this on a production system # # as this script modifies many of your system settings. # ###################################################################### # This script should be run by the root user. # # It will prepend the running with sudo if root is not set # ###################################################################### # Please see our wiki for more information at: # ###################################################################### # https://wiki.fogproject.org/wiki/index.php # ###################################################################### * Here are the settings FOG will use: * Base Linux: Debian * Detected Linux Distribution: Ubuntu * Interface: ens3 * Server IP Address: xxx.xxx.x.xx * Server Subnet Mask: 255.xxx.xxx.0 * Server Hostname: FogServerKubuntu * Installation Type: Normal Server * Internationalization: 0 * Image Storage Location: /images * Using FOG DHCP: No * DHCP will NOT be setup but you must setup your | current DHCP server to use FOG for PXE services. * On a Linux DHCP server you must set: next-server and filename * On a Windows DHCP server you must set options 066 and 067 * Option 066/next-server is the IP of the FOG Server: (e.g. xxx.xxx.x.xx) * Option 067/filename is the bootfile: (e.g. undionly.kpxe) * Are you sure you wish to continue (Y/N) y * Installation Started * Testing internet connection.................................Done * Adding repository if needed.................................OK * Preparing Package Manager...................................OK * Packages to be installed: apache2 bc build-essential cpp curl g++ gawk gcc genisoimage gzip htmldoc isolinux lftp libapache2-mod-php7.2 libc6 libcurl4 liblzma-dev m4 mariadb-client mariadb-server net-tools nfs-kernel-server openssh-server php7.2 php7.2-bcmath php7.2-cli php7.2-curl php7.2-fpm php7.2-gd php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-mysqlnd php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g * Installing package: apache2.................................OK * Skipping package: bc......................................(Already Installed) * Skipping package: build-essential.........................(Already Installed) * Skipping package: cpp.....................................(Already Installed) * Skipping package: curl....................................(Already Installed) * Skipping package: g++.....................................(Already Installed) * Skipping package: gawk....................................(Already Installed) * Skipping package: gcc.....................................(Already Installed) * Skipping package: genisoimage.............................(Already Installed) * Skipping package: gzip....................................(Already Installed) * Skipping package: htmldoc.................................(Already Installed) * Skipping package: isolinux................................(Already Installed) * Skipping package: lftp....................................(Already Installed) * Installing package: libapache2-mod-php7.2...................OK * Skipping package: libc6...................................(Already Installed) * Skipping package: libcurl4................................(Already Installed) * Skipping package: liblzma-dev.............................(Already Installed) * Skipping package: m4......................................(Already Installed) * Skipping package: mariadb-client..........................(Already Installed) * Skipping package: mariadb-server..........................(Already Installed) * Skipping package: net-tools...............................(Already Installed) * Skipping package: nfs-kernel-server.......................(Already Installed) * Skipping package: openssh-server..........................(Already Installed) * Installing package: php7.2..................................OK * Installing package: php7.2-bcmath...........................OK * Skipping package: php7.2-cli..............................(Already Installed) * Installing package: php7.2-curl.............................OK * Installing package: php7.2-fpm..............................OK * Installing package: php7.2-gd...............................OK * Skipping package: php7.2-json.............................(Already Installed) * Installing package: php7.2-ldap.............................OK * Installing package: php7.2-mbstring.........................OK * Installing package: php7.2-mysql............................OK * Skipping package: php7.2-mysql............................(Already Installed) * Installing package: php-gettext.............................OK * Skipping package: sysv-rc-conf..............................(Does not exist) * Skipping package: tar.....................................(Already Installed) * Skipping package: tftpd-hpa...............................(Already Installed) * Skipping package: tftp-hpa................................(Already Installed) * Skipping package: unzip...................................(Already Installed) * Skipping package: vsftpd..................................(Already Installed) * Skipping package: wget....................................(Already Installed) * Skipping package: xinetd..................................(Already Installed) * Skipping package: zlib1g..................................(Already Installed) * Updating packages as needed.................................OK * Confirming package installation * Checking package: apache2...................................OK * Checking package: bc........................................OK * Checking package: build-essential...........................OK * Checking package: cpp.......................................OK * Checking package: curl......................................OK * Checking package: g++.......................................OK * Checking package: gawk......................................OK * Checking package: gcc.......................................OK * Checking package: genisoimage...............................OK * Checking package: gzip......................................OK * Checking package: htmldoc...................................OK * Checking package: isolinux..................................OK * Checking package: lftp......................................OK * Checking package: libapache2-mod-php7.2.....................OK * Checking package: libc6.....................................OK * Checking package: libcurl4..................................OK * Checking package: liblzma-dev...............................OK * Checking package: m4........................................OK * Checking package: mariadb-client............................OK * Checking package: mariadb-server............................OK * Checking package: net-tools.................................OK * Checking package: nfs-kernel-server.........................OK * Checking package: openssh-server............................OK * Checking package: php7.2....................................OK * Checking package: php7.2-bcmath.............................OK * Checking package: php7.2-cli................................OK * Checking package: php7.2-curl...............................OK * Checking package: php7.2-fpm................................OK * Checking package: php7.2-gd.................................OK * Checking package: php7.2-json...............................OK * Checking package: php7.2-ldap...............................OK * Checking package: php7.2-mbstring...........................OK * Checking package: php7.2-mysql..............................OK * Checking package: php-gettext...............................OK * Checking package: tar.......................................OK * Checking package: tftpd-hpa.................................OK * Checking package: tftp-hpa..................................OK * Checking package: unzip.....................................OK * Checking package: vsftpd....................................OK * Checking package: wget......................................OK * Checking package: xinetd....................................OK * Checking package: zlib1g....................................OK * Configuring services * Setting up fogproject user..................................OK * Locking fogproject as a system account......................OK * Setting up fogproject password..............................OK * Stopping FOGMulticastManager.service Service................OK * Stopping FOGImageReplicator.service Service.................OK * Stopping FOGSnapinReplicator.service Service................OK * Stopping FOGScheduler.service Service.......................OK * Stopping FOGPingHosts.service Service.......................OK * Stopping FOGSnapinHash.service Service......................OK * Stopping FOGImageSize.service Service.......................OK * Is the MySQL password blank? (Y/n) y * Setting up and starting MySQL...............................Done * Backing up user reports.....................................Done * Stopping web service........................................OK * Setting up Apache and PHP files.............................OK * Testing and removing symbolic links if found................OK * Backing up old data.........................................OK * Copying new files to web folder.............................OK * Creating config file........................................OK * Downloading kernel, init and fog-client binaries............Done * Extracting the binaries archive.............................OK * Copying binaries to destination paths.......................OK * Enabling apache and fpm services on boot....................OK * Creating SSL CA.............................................OK * Creating SSL Private Key....................................OK * Creating SSL Certificate....................................OK * Creating auth pub key and cert..............................OK * Resetting SSL Permissions...................................OK * Setting up Apache virtual host (no SSL).....................OK * Starting and checking status of web services................OK * Changing permissions on apache log files....................OK * Backing up database.........................................OK * You still need to install/update your database schema. * This can be done by opening a web browser and going to: http://xxx.xxx.x.xx/fog/management * Press [Enter] key when database is updated/installed. * Setting up storage..........................................OK * Setting up and starting DHCP Server.........................Skipped * Setting up and starting TFTP and PXE Servers................OK * Setting up and starting VSFTP Server........................OK * Setting up FOG Snapins......................................OK * Setting up UDPCast..........................................OK * Configuring UDPCast.........................................OK * Building UDPCast............................................OK * Installing UDPCast..........................................OK * Installing FOG System Scripts...............................OK * Configuring FOG System Services * Setting permissions on FOGMulticastManager.service script...OK * Enabling FOGMulticastManager.service Service................OK * Setting permissions on FOGImageReplicator.service script....OK * Enabling FOGImageReplicator.service Service.................OK * Setting permissions on FOGSnapinReplicator.service script...OK * Enabling FOGSnapinReplicator.service Service................OK * Setting permissions on FOGScheduler.service script..........OK * Enabling FOGScheduler.service Service.......................OK * Setting permissions on FOGPingHosts.service script..........OK * Enabling FOGPingHosts.service Service.......................OK * Setting permissions on FOGSnapinHash.service script.........OK * Enabling FOGSnapinHash.service Service......................OK * Setting permissions on FOGImageSize.service script..........OK * Enabling FOGImageSize.service Service.......................OK * Setting up FOG Services.....................................OK * Starting FOGMulticastManager.service Service................OK * Starting FOGImageReplicator.service Service.................OK * Starting FOGSnapinReplicator.service Service................OK * Starting FOGScheduler.service Service.......................OK * Starting FOGPingHosts.service Service.......................OK * Starting FOGSnapinHash.service Service......................OK * Starting FOGImageSize.service Service.......................OK * Setting up exports file.....................................OK * Setting up and starting RPCBind.............................OK * Setting up and starting NFS Server..........................OK * Ensuring node username and passwords match..................Done * Setup complete You can now login to the FOG Management Portal using the information listed below. The login information is only if this is the first install. This can be done by opening a web browser and going to: http://xxx.xxx.x.xx/fog/management Default User Information Username: fog Password: password root@FogServerKubuntu:/opt/fogproject-1.5.7/bin# /etc/init.d/mysql restart [....] Restarting mysql (via systemctl): mysql.serviceJob for mariadb.service failed because a timeout was exceeded. See "systemctl status mariadb.service" and "journalctl -xe" for details. failed! root@FogServerKubuntu:/opt/fogproject-1.5.7/bin# journalctl -xe Nov 26 01:58:31 FogServerKubuntu systemd[1]: mariadb.service: Start operation timed out. Terminating Nov 26 01:58:31 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:31 FogServerKubuntu kernel: audit: type=1400 audit(1574733511.176:256): apparmor="DENIE Nov 26 01:58:31 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:31 FogServerKubuntu kernel: audit: type=1400 audit(1574733511.284:257): apparmor="DENIE Nov 26 01:58:31 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:31 FogServerKubuntu kernel: audit: type=1400 audit(1574733511.384:258): apparmor="DENIE Nov 26 01:58:31 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:31 FogServerKubuntu kernel: audit: type=1400 audit(1574733511.484:259): apparmor="DENIE Nov 26 01:58:31 FogServerKubuntu kernel: audit: type=1400 audit(1574733511.584:260): apparmor="DENIE Nov 26 01:58:31 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:31 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:31 FogServerKubuntu kernel: audit: type=1400 audit(1574733511.688:261): apparmor="DENIE Nov 26 01:58:31 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:31 FogServerKubuntu kernel: audit: type=1400 audit(1574733511.788:262): apparmor="DENIE Nov 26 01:58:31 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:31 FogServerKubuntu kernel: audit: type=1400 audit(1574733511.888:263): apparmor="DENIE Nov 26 01:58:31 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:31 FogServerKubuntu kernel: audit: type=1400 audit(1574733511.988:264): apparmor="DENIE Nov 26 01:58:32 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:32 FogServerKubuntu kernel: audit: type=1400 audit(1574733512.088:265): apparmor="DENIE Nov 26 01:58:32 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:32 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:32 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:33 FogServerKubuntu audit[16858]: AVC apparmor="DENIED" operation="sendmsg" info="Faile Nov 26 01:58:33 FogServerKubuntu systemd[1]: mariadb.service: Failed with result 'timeout'. Nov 26 01:58:33 FogServerKubuntu systemd[1]: Failed to start MariaDB 10.1.43 database server. -- Subject: Unit mariadb.service has failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- Unit mariadb.service has failed. -- -- The result is RESULT. root@FogServerKubuntu:/opt/fogproject-1.5.7/bin#``` about to go to other snapshot (fresh install) and use git.
-
@chasosnature I think I don’t understand what you mean by snapshot?! From what you wrote I understood that you had FOG 1.4.4 on Ubuntu 16.04 and the goal was to upgrade that to FOG 1.5.7 and Ubuntu 18.04?!
The more I re-read all your posts the more I get the impression that we have another great miss-understanding here. You keep saying that you want to upgrade to 1.5.7 but a couple of things in the output you posted last tell me that you don’t!
What type of installation would you like to do? [N/s (Normal/Storage)] n
This question only arises if you never had FOG installed before or renamed/deleted /opt/fog/.fogsettings - If you do remove that file before running the 1.5.7 installer it will be blind (so to say) and might behave different than on a normal upgrade install!
journalctl -xe
Nov 26 01:58:31 FogServerKubuntu systemd[1]: mariadb.service: Start operation timed out. Terminating
Nov 26 01:58:31 FogServerKubuntu audit[16858]: AVC apparmor=“DENIED” operation=“sendmsg” info="FaileThose apparmor messages are known to be false errors not causing any trouble - see my latest post here. You need to take a look at the database log files now.
So what to try now? I’d go this route:
- revert your snapshot to the point where 1.4.4 worked fine
- don’t rename/remove /opt/fog/.fogsettings
- download and run the 1.5.6 installer and say yes to Apache/PHP re-install
- access web UI to make sure it works and update the schema when asked by the installer
- download and run the 1.5.7 installer but say no to Apache/PHP re-install
- check to see if you can access the web UI
-
Morning Seb
did what you asked and it failed at bullet 3.
see script belowroot@FogServerKubuntu:/opt# ls 1.5.6.tar.gz fog fog_1.4.4 fog_1.4.4.tar.gz root@FogServerKubuntu:/opt# cd 1.5.6.tar.gz -su: cd: 1.5.6.tar.gz: Not a directory root@FogServerKubuntu:/opt# tar -xzf 1.5.6.tar.gz root@FogServerKubuntu:/opt# ls 1.5.6.tar.gz fog fog_1.4.4 fog_1.4.4.tar.gz fogproject-1.5.6 root@FogServerKubuntu:/opt# cd fogproject-1.5.6 root@FogServerKubuntu:/opt/fogproject-1.5.6# cd bin root@FogServerKubuntu:/opt/fogproject-1.5.6/bin# ./installfog.sh -X Installing LSB_Release as needed * Attempting to get release information.......................Done systemd +------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 1.5.6 Installer/Updater * Found FOG Settings from previous install at: /opt/fog/.fogsettings * Performing upgrade using these settings Starting Debian based Installation *** Detected a potential need to reinstall apache and php files. *** This will remove the /etc/php* and /etc/apache2* directories *** and remove/purge the apache and php files from this system. *** If you're okay with this please type Y, anything else will *** continue the installation, but may mean you will need to *** remove the files later and make proper changes as *** necessary. (Y/N): y * Removing apache and php files...............................Done * Stopping web services.......................................Done * Removing the apache and php packages........................Failed * Resetting our variables to specify php version..............Done ###################################################################### # FOG now has everything it needs for this setup, but please # # understand that this script will overwrite any setting you may # # have setup for services like DHCP, apache, pxe, tftp, and NFS. # ###################################################################### # It is not recommended that you install this on a production system # # as this script modifies many of your system settings. # ###################################################################### # This script should be run by the root user. # # It will prepend the running with sudo if root is not set # ###################################################################### # Please see our wiki for more information at: # ###################################################################### # https://wiki.fogproject.org/wiki/index.php # ###################################################################### * Here are the settings FOG will use: * Base Linux: Debian * Detected Linux Distribution: Ubuntu * Interface: ens3 * Server IP Address: xx.x.xx.xx * Server Subnet Mask: xx.x.xx.x0 * Server Hostname: * Installation Type: Normal Server * Internationalization: 0 * Image Storage Location: /images * Using FOG DHCP: No * DHCP will NOT be setup but you must setup your | current DHCP server to use FOG for PXE services. * On a Linux DHCP server you must set: next-server and filename * On a Windows DHCP server you must set options 066 and 067 * Option 066/next-server is the IP of the FOG Server: (e.g. xx.x.xx.xx) * Option 067/filename is the bootfile: (e.g. undionly.kpxe) * Are you sure you wish to continue (Y/N) y * Installation Started * Testing internet connection.................................Done * Adding repository if needed.................................OK * Preparing Package Manager...................................OK * Packages to be installed: apache2 bc build-essential cpp curl g++ gawk gcc genisoimage gzip htmldoc isolinux lftp libapache2-mod-php7.2 libc6 libcurl4 liblzma-dev m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.2 php7.2-bcmath php7.2-cli php7.2-curl php7.2-fpm php7.2-gd php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-mysqlnd php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g * Skipping package: apache2.................................(Already Installed) * Skipping package: bc......................................(Already Installed) * Skipping package: build-essential.........................(Already Installed) * Skipping package: cpp.....................................(Already Installed) * Installing package: curl....................................OK * Skipping package: g++.....................................(Already Installed) * Skipping package: gawk....................................(Already Installed) * Skipping package: gcc.....................................(Already Installed) * Skipping package: genisoimage.............................(Already Installed) * Skipping package: gzip....................................(Already Installed) * Skipping package: htmldoc.................................(Already Installed) * Installing package: isolinux................................OK * Skipping package: lftp....................................(Already Installed) * Installing package: libapache2-mod-php7.2...................OK * Skipping package: libc6...................................(Already Installed) * Skipping package: libcurl4................................(Already Installed) * Installing package: liblzma-dev.............................OK * Skipping package: m4......................................(Already Installed) * Skipping package: mysql-client............................(Already Installed) * Skipping package: mysql-server............................(Already Installed) * Skipping package: net-tools...............................(Already Installed) * Skipping package: nfs-kernel-server.......................(Already Installed) * Skipping package: openssh-server..........................(Already Installed) * Installing package: php7.2..................................OK * Installing package: php7.2-bcmath...........................OK * Skipping package: php7.2-cli..............................(Already Installed) * Installing package: php7.2-curl.............................OK * Installing package: php7.2-fpm..............................OK * Installing package: php7.2-gd...............................OK * Skipping package: php7.2-json.............................(Already Installed) * Installing package: php7.2-ldap.............................OK * Installing package: php7.2-mbstring.........................OK * Installing package: php7.2-mysql............................OK * Skipping package: php7.2-mysql............................(Already Installed) * Skipping package: php-gettext.............................(Already Installed) * Skipping package: sysv-rc-conf..............................(Does not exist) * Skipping package: tar.....................................(Already Installed) * Skipping package: tftpd-hpa...............................(Already Installed) * Skipping package: tftp-hpa................................(Already Installed) * Skipping package: unzip...................................(Already Installed) * Skipping package: vsftpd..................................(Already Installed) * Skipping package: wget....................................(Already Installed) * Skipping package: xinetd..................................(Already Installed) * Skipping package: zlib1g..................................(Already Installed) * Updating packages as needed.................................OK * Confirming package installation * Checking package: apache2...................................OK * Checking package: bc........................................OK * Checking package: build-essential...........................OK * Checking package: cpp.......................................OK * Checking package: curl......................................OK * Checking package: g++.......................................OK * Checking package: gawk......................................OK * Checking package: gcc.......................................OK * Checking package: genisoimage...............................OK * Checking package: gzip......................................OK * Checking package: htmldoc...................................OK * Checking package: isolinux..................................OK * Checking package: lftp......................................OK * Checking package: libapache2-mod-php7.2.....................OK * Checking package: libc6.....................................OK * Checking package: libcurl4..................................OK * Checking package: liblzma-dev...............................OK * Checking package: m4........................................OK * Checking package: mysql-client..............................OK * Checking package: mysql-server..............................OK * Checking package: net-tools.................................OK * Checking package: nfs-kernel-server.........................OK * Checking package: openssh-server............................OK * Checking package: php7.2....................................OK * Checking package: php7.2-bcmath.............................OK * Checking package: php7.2-cli................................OK * Checking package: php7.2-curl...............................OK * Checking package: php7.2-fpm................................OK * Checking package: php7.2-gd.................................OK * Checking package: php7.2-json...............................OK * Checking package: php7.2-ldap...............................OK * Checking package: php7.2-mbstring...........................OK * Checking package: php7.2-mysql..............................OK * Checking package: php-gettext...............................OK * Checking package: tar.......................................OK * Checking package: tftpd-hpa.................................OK * Checking package: tftp-hpa..................................OK * Checking package: unzip.....................................OK * Checking package: vsftpd....................................OK * Checking package: wget......................................OK * Checking package: xinetd....................................OK * Checking package: zlib1g....................................OK * Configuring services * Setting up fogproject user..................................OK * Locking fogproject as a system account......................OK * Setting up fogproject password..............................OK * Stopping FOGMulticastManager.service Service................OK * Stopping FOGImageReplicator.service Service.................OK * Stopping FOGSnapinReplicator.service Service................OK * Stopping FOGScheduler.service Service.......................OK * Stopping FOGPingHosts.service Service.......................OK * Stopping FOGSnapinHash.service Service......................OK * Stopping FOGImageSize.service Service.......................OK * Setting up and starting MySQL...............................Done * Backing up user reports.....................................Done * Stopping web service........................................OK * Setting up Apache and PHP files.............................OK * Testing and removing symbolic links if found................OK * Backing up old data.........................................OK * Copying new files to web folder.............................OK * Creating config file........................................OK * Downloading kernel, init and fog-client binaries............Done * Extracting the binaries archive.............................OK * Copying binaries to destination paths.......................OK * Enabling apache and fpm services on boot....................OK * Creating SSL Certificate....................................OK * Creating auth pub key and cert..............................OK * Resetting SSL Permissions...................................OK * Setting up Apache virtual host (no SSL)......................./lib/common/functions.sh: line 1722: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1723: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1727: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1729: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1730: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1731: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1732: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1733: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1734: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1735: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1736: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1737: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1738: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1739: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1740: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1741: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1742: /etc/apache2/sites-available/001-fog.conf: No such file or directory ../lib/common/functions.sh: line 1743: /etc/apache2/sites-available/001-fog.conf: No such file or directory Failed! OK * Starting and checking status of web services................Failed! OK * Changing permissions on apache log files....................OK * Backing up database.........................................Failed! OK * You still need to install/update your database schema. * This can be done by opening a web browser and going to: http://xx.x.xx.xx/fog/management * Press [Enter] key when database is updated/installed.
-
and cannot access the gui:
This site can’t be reached xxx.xxx.x.xx refused to connect. Search Google for fog management ERR_CONNECTION_REFUSED
-
i continued since i couldnt access the gui
and all the required services seem okroot@FogServerKubuntu:/opt/fogproject-1.5.6/bin# /etc/init.d/mysql restart [ ok ] Restarting mysql (via systemctl): mysql.service. root@FogServerKubuntu:/opt/fogproject-1.5.6/bin# /etc/init.d/dnsmasq restart [ ok ] Restarting dnsmasq (via systemctl): dnsmasq.service. root@FogServerKubuntu:/opt/fogproject-1.5.6/bin# /etc/init.d/net* restart [ ok ] Restarting network-manager (via systemctl): network-manager.service. root@FogServerKubuntu:/opt/fogproject-1.5.6/bin# service php7.2-fpm status ● php7.2-fpm.service - The PHP 7.2 FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php7.2-fpm.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2019-11-26 11:57:17 GMT; 1min 1s ago Docs: man:php-fpm7.2(8) Main PID: 12208 (php-fpm7.2) Status: "Processes active: 0, idle: 5, Requests: 0, slow: 0, Traffic: 0req/sec" Tasks: 6 (limit: 3781) CGroup: /system.slice/php7.2-fpm.service ├─12208 php-fpm: master process (/etc/php/7.2/fpm/php-fpm.conf) ├─12210 php-fpm: pool www ├─12211 php-fpm: pool www ├─12212 php-fpm: pool www ├─12213 php-fpm: pool www └─12214 php-fpm: pool www Nov 26 11:57:17 FogServerKubuntu systemd[1]: Starting The PHP 7.2 FastCGI Process Manager... Nov 26 11:57:17 FogServerKubuntu systemd[1]: Started The PHP 7.2 FastCGI Process Manager. root@FogServerKubuntu:/opt/fogproject-1.5.6/bin#
-
on the side i decided to do a clean build on ubuntu 19.04, no modification nothing, just plane ubuntu 19.04
and this is the result:To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. chaosnature@fogserverubuntu:~$ sudo su - [sudo] password for <username>: root@fogserverubuntu:~# cd /opt root@fogserverubuntu:/opt# ls root@fogserverubuntu:/opt# apt-get install git Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.20.1-2ubuntu1). git set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded. root@fogserverubuntu:/opt# git clone https://github.com/fogproject/fogproject.git fog_stable/ Cloning into 'fog_stable'... remote: Enumerating objects: 223, done. remote: Counting objects: 100% (223/223), done. remote: Compressing objects: 100% (144/144), done. remote: Total 148443 (delta 145), reused 130 (delta 74), pack-reused 148220 Receiving objects: 100% (148443/148443), 769.74 MiB | 5.64 MiB/s, done. Resolving deltas: 100% (105105/105105), done. Checking out files: 100% (849/849), done. root@fogserverubuntu:/opt# cd fog_stable/bin root@fogserverubuntu:/opt/fog_stable/bin# sudo ./installfog.sh Installing LSB_Release as needed * Attempting to get release information.......................Done systemd +------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 1.5.7 Installer/Updater What version of Linux would you like to run the installation for? 1) Redhat Based Linux (Redhat, CentOS, Mageia) 2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu) 3) Arch Linux Choice: [2] 2 Starting Debian based Installation *** Detected a potential need to reinstall apache and php files. *** This will remove the /etc/php* and /etc/apache2* directories *** and remove/purge the apache and php files from this system. *** If you're okay with this please type Y, anything else will *** continue the installation, but may mean you will need to *** remove the files later and make proper changes as *** necessary. (Y/N): y * Removing apache and php files...............................Done * Stopping web services.......................................Failed * Removing the apache and php packages........................Done * Resetting our variables to specify php version..............Done FOG Server installation modes: * Normal Server: (Choice N) This is the typical installation type and will install all FOG components for you on this machine. Pick this option if you are unsure what to pick. * Storage Node: (Choice S) This install mode will only install the software required to make this server act as a node in a storage group More information: http://www.fogproject.org/wiki/index.php?title=InstallationModes What type of installation would you like to do? [N/s (Normal/Storage)] n We found the following interfaces on your system: * ens3 - xxx.xxx.x.xx/24 Would you like to change the default network interface from ens3? If you are not sure, select No. [y/N] n Would you like to setup a router address for the DHCP server? [Y/n] n Would you like DHCP to handle DNS? [Y/n] n Would you like to use the FOG server for DHCP service? [y/N] n This version of FOG has internationalization support, would you like to install the additional language packs? [y/N] n *** New option 'hostname' since FOG 1.5.6 *** Would you like to change the default hostname >fogserverubuntu<? The fully qualified hostname is used for the webserver certificate. If you are not sure, select No. [y/N] n ###################################################################### # FOG now has everything it needs for this setup, but please # # understand that this script will overwrite any setting you may # # have setup for services like DHCP, apache, pxe, tftp, and NFS. # ###################################################################### # It is not recommended that you install this on a production system # # as this script modifies many of your system settings. # ###################################################################### # This script should be run by the root user. # # It will prepend the running with sudo if root is not set # ###################################################################### # Please see our wiki for more information at: # ###################################################################### # https://wiki.fogproject.org/wiki/index.php # ###################################################################### * Here are the settings FOG will use: * Base Linux: Debian * Detected Linux Distribution: Ubuntu * Interface: ens3 * Server IP Address: xxx.xxx.x.xx * Server Subnet Mask: xxx.xxx.x.xx * Server Hostname: fogserverubuntu * Installation Type: Normal Server * Internationalization: 0 * Image Storage Location: /images * Using FOG DHCP: No * DHCP will NOT be setup but you must setup your | current DHCP server to use FOG for PXE services. * On a Linux DHCP server you must set: next-server and filename * On a Windows DHCP server you must set options 066 and 067 * Option 066/next-server is the IP of the FOG Server: (e.g. xxx.xxx.x.xx) * Option 067/filename is the bootfile: (e.g. undionly.kpxe) * Are you sure you wish to continue (Y/N) y * Installation Started * Testing internet connection.................................Done * Adding repository if needed.................................OK * Preparing Package Manager...................................OK * Packages to be installed: apache2 bc build-essential cpp curl g++ gawk gcc genisoimage gzip htmldoc isolinux lftp libapache2-mod-php7.2 libc6 libcurl4 liblzma-dev m4 mariadb-client mariadb-server net-tools nfs-kernel-server openssh-server php-gettext php7.2 php7.2-bcmath php7.2-cli php7.2-curl php7.2-fpm php7.2-gd php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-mysqlnd sysv-rc-conf tar tftp-hpa tftpd-hpa unzip vsftpd wget xinetd zlib1g * Installing package: apache2.................................OK * Skipping package: bc......................................(Already Installed) * Installing package: build-essential.........................OK * Skipping package: cpp.....................................(Already Installed) * Skipping package: curl....................................(Already Installed) * Skipping package: g++.....................................(Already Installed) * Skipping package: gawk....................................(Already Installed) * Skipping package: gcc.....................................(Already Installed) * Installing package: genisoimage.............................OK * Skipping package: gzip....................................(Already Installed) * Installing package: htmldoc.................................OK * Installing package: isolinux................................OK * Installing package: lftp....................................OK * Skipping package: libapache2-mod-php7.2.....................(Does not exist) * Skipping package: libc6...................................(Already Installed) * Skipping package: libcurl4................................(Already Installed) * Installing package: liblzma-dev.............................OK * Installing package: m4......................................OK * Installing package: mariadb-client..........................OK * Installing package: mariadb-server..........................OK * Installing package: net-tools...............................OK * Installing package: nfs-kernel-server.......................OK * Skipping package: openssh-server..........................(Already Installed) * Installing package: php-gettext.............................OK * Skipping package: php7.2....................................(Does not exist) * Skipping package: php7.2-bcmath.............................(Does not exist) * Skipping package: php7.2-cli................................(Does not exist) * Skipping package: php7.2-curl...............................(Does not exist) * Skipping package: php7.2-fpm................................(Does not exist) * Skipping package: php7.2-gd.................................(Does not exist) * Skipping package: php7.2-json...............................(Does not exist) * Skipping package: php7.2-ldap...............................(Does not exist) * Skipping package: php7.2-mbstring...........................(Does not exist) * Skipping package: php7.2-mysql..............................(Does not exist) * Skipping package: php7.2-mysqlnd............................(Does not exist) * Skipping package: sysv-rc-conf..............................(Does not exist) * Skipping package: tar.....................................(Already Installed) * Installing package: tftp-hpa................................OK * Installing package: tftpd-hpa...............................OK * Installing package: unzip...................................OK * Installing package: vsftpd..................................OK * Skipping package: wget....................................(Already Installed) * Installing package: xinetd..................................OK * Skipping package: zlib1g..................................(Already Installed) * Updating packages as needed.................................OK * Confirming package installation * Checking package: apache2...................................OK * Checking package: bc........................................OK * Checking package: build-essential...........................OK * Checking package: cpp.......................................OK * Checking package: curl......................................OK * Checking package: g++.......................................OK * Checking package: gawk......................................OK * Checking package: gcc.......................................OK * Checking package: genisoimage...............................OK * Checking package: gzip......................................OK * Checking package: htmldoc...................................OK * Checking package: isolinux..................................OK * Checking package: lftp......................................OK * Checking package: libc6.....................................OK * Checking package: libcurl4..................................OK * Checking package: liblzma-dev...............................OK * Checking package: m4........................................OK * Checking package: mariadb-client............................OK * Checking package: mariadb-server............................OK * Checking package: net-tools.................................OK * Checking package: nfs-kernel-server.........................OK * Checking package: openssh-server............................OK * Checking package: php-gettext...............................OK * Checking package: tar.......................................OK * Checking package: tftp-hpa..................................OK * Checking package: tftpd-hpa.................................OK * Checking package: unzip.....................................OK * Checking package: vsftpd....................................OK * Checking package: wget......................................OK * Checking package: xinetd....................................OK * Checking package: zlib1g....................................OK * Configuring services * Setting up fogproject user..................................OK * Locking fogproject as a system account......................OK * Setting up fogproject password..............................OK * Stopping FOGMulticastManager.service Service................OK * Stopping FOGImageReplicator.service Service.................OK * Stopping FOGSnapinReplicator.service Service................OK * Stopping FOGScheduler.service Service.......................OK * Stopping FOGPingHosts.service Service.......................OK * Stopping FOGSnapinHash.service Service......................OK * Stopping FOGImageSize.service Service.......................OK * Is the MySQL password blank? (Y/n) y * Setting up and starting MySQL...............................Done * Backing up user reports.....................................Done * Stopping web service........................................Failed! root@fogserverubuntu:/opt/fog_stable/bin#
And yet on spice work i have others confirming the got it working from git on version 19.04
i think you should check and test options y, n, n, n, n, n, y
bcos the options is the only thing i see different from other’s deployment.
-
Updates to 19.04 installation and Re-installaion.
After the 1st installation failure ( with options - Y, and N x7, then Y) i did:
1.# Delete fogproject Account
userdel fogproject2.# Start the insall
./installfog.sh3.# Then, No options of DNS and DHCP Exclusions by
Selecting Y, and N x7, then YInstallations begins…
* Configuring services * Setting up fogproject user..................................OK * Locking fogproject as a system account......................OK * Setting up fogproject password..............................OK * Stopping FOGMulticastManager.service Service................OK * Stopping FOGImageReplicator.service Service.................OK * Stopping FOGSnapinReplicator.service Service................OK * Stopping FOGScheduler.service Service.......................OK * Stopping FOGPingHosts.service Service.......................OK * Stopping FOGSnapinHash.service Service......................OK * Stopping FOGImageSize.service Service.......................OK * Is the MySQL password blank? (Y/n)
Don’t Press yes yet… (Open another Terminal and run do the below steps):
cd /tmp && wget http://mirrors.kernel.org/ubuntu/pool/multiverse/liba/libapache-mod-fastcgi/libapache2-mod-fastcgi_2.4.7~0910052141-1.2_amd64.deb sudo dpkg -i libapache2-mod-fastcgi_2.4.7~0910052141-1.2_amd64.deb; sudo apt install -f
- Add Repo:
sudo apt-get install software-properties-common sudo add-apt-repository ppa:ondrej/php
- update Repo:
sudo apt update
- manually installed the below:
sudo apt install php7.2 php7.2-fpm php7.2-common
… (etc)
* Skipping package: php7.2....................................(Does not exist) * Skipping package: php7.2-bcmath.............................(Does not exist) * Skipping package: php7.2-cli................................(Does not exist) * Skipping package: php7.2-curl...............................(Does not exist) * Skipping package: php7.2-fpm................................(Does not exist) * Skipping package: php7.2-gd.................................(Does not exist) * Skipping package: php7.2-json...............................(Does not exist) * Skipping package: php7.2-ldap...............................(Does not exist) * Skipping package: php7.2-mbstring...........................(Does not exist) * Skipping package: php7.2-mysql..............................(Does not exist) * Skipping package: php7.2-mysqlnd............................(Does not exist)
- Back to the installation terminal, Then select yes
* Is the MySQL password blank? (Y/n) y
Next section continue until update mysql schema
* Creating auth pub key and cert..............................OK * Resetting SSL Permissions...................................OK * Setting up Apache virtual host (no SSL).....................OK * Starting and checking status of web services................OK * Changing permissions on apache log files....................OK * Backing up database.........................................OK * You still need to install/update your database schema. * This can be done by opening a web browser and going to: http://xxx.xxx.x.xx/fog/management
- Update Schema and press eneter to continue
* Press [Enter] key when database is updated/installed.
All OKs install complete
* Setting up storage..........................................OK * Setting up and starting DHCP Server.........................Skipped * Setting up and starting TFTP and PXE Servers................OK * Setting up and starting VSFTP Server........................OK * Setting up FOG Snapins......................................OK * Setting up UDPCast..........................................OK * Configuring UDPCast.........................................OK * Building UDPCast............................................OK * Installing UDPCast..........................................OK * Installing FOG System Scripts...............................OK * Configuring FOG System Services * Setting up and starting NFS Server..........................OK * Linking FOG Logs to Linux Logs..............................OK * Linking FOG Service config /etc.............................OK * Ensuring node username and passwords match..................Done * Setup complete You can now login to the FOG Management Portal using the information listed below. The login information is only if this is the first install. This can be done by opening a web browser and going to: http://xxx.xxx.x.xx/fog/management Default User Information Username: fog Password: password
- Login Successful
Notes: So imagine the pre-req for installing Fog on ubuntu 19 with the selected options would be perform steps 3 to 6
which means if step 3 to 6 is performed before install, it should be successful.i will try this on ubuntu 18 next (installing the pre-req before initiating install)
it looks like the repo is the issue here…is there no way to include the php 7.2 components to the Fog installation files?
Now FOG Config
-----------------------------------------DNSMASQ Configuration would be:…
Follow the steps outlined in the link below:
https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_serverSetup and Configuration steps 1 to 6
nano /etc/exports and enter step 5 details (i comment out the existing details)
sudo apt-get install dnsmasq
Skip step 7
Do “DNSMASQ settings for iPXE” sections (change ip details to reflect your environment)
nano /etc/dnsmasq.d/ltsp.conf (Enter DNSMASQ settings for iPXE details)
Make a symlink for the undionly.kpxe file so dnsmasq can find it.
cd /tftpboot
sudo ln -s undionly.kpxe undionly.0
ORcd /tftpboot
cp undionly.kpxe undionly.0 (i used this option)then finally
back to step 8sudo /etc/init.d/dnsmasq restart
after dnsmasq config Vm can pxe
____ …End Results
Able to loging with fog/password , fog is 1.5.7
-----------------------------------------DNSMASQ Troubleshooting…
if you receive ( failed to create listening socket for port 53:) Run:
usejournalctl -xe
to find out why then…lsof -Pn +M | grep ':53 (LISTEN)'
(you should see whats hugging port 53 , usally resolver)
/etc/init.d/tftp* stop
(to free up port 53)
-
so now the question is does it image, as this is where i stopped with ubuntu 18.04 too
will update.
-
@chasosnature You seem to jump from one topic to another. Ubuntu 16.04, then 18.04 and now 19.04. They are all very different and sure don’t behave the same way.
Intall problem with FOG 1.5.7 on 19.04 is known and fixed in the development version - this should do the trick:
git clone https://github.com/FOGProject/fogproject cd fogproject git checkout dev-branch cd bin ./installfog.sh
By the way, which version of Ubuntu do you use? If I remember correctly we have seen Ubuntu Desktop to cause some problems. We always use Ubuntu Server!
About 1.5.6 install - you said:
…
- Resetting SSL Permissions…OK
- Setting up Apache virtual host (no SSL)…/lib/common/functions.sh: line 1722: /etc/apache2/sites-available/001-fog.conf: No such file or directory
…/lib/common/functions.sh: line 1723: /etc/apache2/sites-available/001-fog.conf: No such file or directory
…
This error can only be caused if the directory
/etc/apache2/sites-available/
doesn’t exist on your system. Looking further up I seeapache2.................................(Already Installed)
. Possibly some kind of modified apache package you have installed?!?dpkg -l | grep apache
?? -
I thought of posting this with new topic, but decided let’s have it all in one topic (they are related), can still be moved with you like.
- Started with installing 1.4.4 on ubuntu 18.04 LTS version
issues - some clients errors , though after much manipulations got fog to install , could pxe and login to Gui: imaging not fully tested - Got adviced to cann it and upgrade to fog 1.5…7 , did so on ubuntu 18.04 LTS version
Issues - could not upgraded from 1.4.4 to 1.5.7 (still pending…) - Decided to install 1.5.7 on ubuntu 19.04 (reason to see if the option Y, N, N, N, N ,N,N N, Y is the issue as i have reports that 1.5.7 on 19.04 works fine)
issues - PHP 7.2 and its components refused to play ball…so did that below work around.
No ubuntu server in any of my setup…
“Ubuntu 16.04, then 18.04 and now 19.04.”
Forget ubuntu 16, this was just used to describe a scenerio that justifies an upgrade from systems that moved from 16 to 18.04 OS, to move/upgrade Fog 1.4.4 to 1.5.7 unto 18.04“Intall problem with FOG 1.5.7 on 19.04 is known and fixed in the development version - this should do the trick:”
Can you point me to a post that descibes this known issue with 1.5.7 on 19.04?Bcos i am not sure why others would advice that i try an installation of 1.5.7 on 19.04 without warning me of this glitch.
I was simpley directed to this link in spice : https://github.com/FOGProject/fogproject
which i followed and got my self tangled in this php7.2 issuesAnd by the way with the options mentioned above on a fresh 18.04 1.5.7 also had issues
As we speak someone is about to test 1.4.4 on 18.04 from spcice.
- Started with installing 1.4.4 on ubuntu 18.04 LTS version
-
@Sebastian-Roth said in Fog installation and cofiguration on ubuntu 18.04:
apache2…(Already Installed). Possibly some kind of modified apache package you have installed?
This is bcos the installation described in my tutorial is a re-install. (reinstallation of 19.04)
-
@chasosnature said in Fog installation and cofiguration on ubuntu 18.04:
so now the question is does it image, as this is where i stopped with ubuntu 18.04 too
will update.it appears to function…not dont a full image test yet
but as said its very different from its predecesoros 1.4.4 …a lot of work and improvement has been done.
i notice the imaging option was move from the pxe client to the server menu.
nice work!!
-
@chasosnature said in Fog installation and cofiguration on ubuntu 18.04:
Can you point me to a post that descibes this known issue with 1.5.7 on 19.04?
I am not exactly sure this has been discussed in the forums but the fix you can find here: https://github.com/FOGProject/fogproject/commit/ab61ce0f6bff184ed00609b29efacdda4fd56347
Bcos i am not sure why others would advice that i try an installation of 1.5.7 on 19.04 without warning me of this glitch.
Not true. I just read through the whole lot of messages again and no one ever advised you to install plain 1.5.7 on 19.04! When @Quazz and I told you about using 1.5.7 (instead of 1.4.4) Ubuntu 19.04 has not been mentioned by you at all up to that point.
- Started with installing 1.4.4 on ubuntu 18.04 LTS version
issues - some clients errors , though after much manipulations got fog to install , could pxe and login to Gui: imaging not fully tested - Got adviced to cann it and upgrade to fog 1.5…7 , did so on ubuntu 18.04 LTS version
Issues - could not upgraded from 1.4.4 to 1.5.7 (still pending…)
As you mention in bullet 1. you’ve done much of custom changes to that first install. So I don’t wonder it’s failing to upgrade to 1.5.7. I guess with even more manuall intervention you could make that work again but what’s the point?
No ubuntu server in any of my setup…
All Desktop? Possible cause of trouble as well.
- Started with installing 1.4.4 on ubuntu 18.04 LTS version
-
@Sebastian-Roth said in Fog installation and cofiguration on ubuntu 18.04:
I just read through the whole lot of messages again and no one ever advised you to install plain 1.5.7 on 19.04
The advice was not giveing in here but in spice : https://community.spiceworks.com/topic/2244389-fog-ubuntu-18-04?page=1#entry-8664504
:::::::::::::::::::
I have fog 1.5.7.55 running perfectly under ubuntu 19.10 by using the git repository: git clone https://github.com/FOGProject/fogproject.gitgit pull for every next update. don’t forget the ./installfog.sh script inside the bin folder… this should install all required modules.
::::::::::::::::::You’ve done much of custom changes to that first install."
No, the 19.04 was a fresh install, nothing touch , nothing added.
the build that received mod was the original 18.04 i started this post with.
i am clearing this so as not to confuse others who arrive on this post for resolution.
All Desktop? Possible cause of trouble as well."
Apologies , mistkae : No ubuntu Desktop in any of my setup…
By the way, i got my firsdt image from 19.04 version 1.5.7,… many thanks for your product and hard work
-
@chasosnature said in Fog installation and cofiguration on ubuntu 18.04:
The advice was not giveing in here but in spice : https://community.spiceworks.com/topic/2244389-fog-ubuntu-18-04?page=1#entry-8664504
- Cross posting stuff in different forums is not nice - just a piece of advice: the more noise you make the less people are willing to help you
- From what I see in that topic there is only one guy saying this about 19.04: “I have fog 1.5.7.55 running perfectly under ubuntu 19.10 by using the git repository” - 1.5.7 is not 1.5.7.55 - what he refers to is absolutely right, the
dev-branch
which works on 19.04!
-
@Sebastian-Roth said in Fog installation and cofiguration on ubuntu 18.04:
Cross posting stuff in different forums is not nice - just a piece of advice: the more noise you make the less people are willing to help you
ok, wasnt aware this was an issue…point taken.
-
@Sebastian-Roth said in Fog installation and cofiguration on ubuntu 18.04:
You are welcome to open new topics for each question you have. It’s way easier for others having similar or same problems to find the right answer in a short topic instead of half a dozen questions being packed in one thread.
thanks,
I agree, i will start a seperate thread to update on any progress on this topic.