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

    Upgrade Woes - Latest SVN

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    28
    4.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Arsenal101
      last edited by

      Just for your viewing pleasure

       +------------------------------------------+
         |     ..#######:.    ..,#,..     .::##::.  |
         |.:######          .:;####:......;#;..     |
         |...##...        ...##;,;##::::.##...      |
         |   ,#          ...##.....##:::##     ..:: |
         |   ##    .::###,,##.   . ##.::#.:######::.|
         |...##:::###::....#. ..  .#...#. #...#:::. |
         |..:####:..    ..##......##::##  ..  #     |
         |    #  .      ...##:,;##;:::#: ... ##..   |
         |   .#  .       .:;####;::::.##:::;#:..    |
         |    #                     ..:;###..       |
         |                                          |
         +------------------------------------------+
         |      Free Computer Imaging Solution      |
         +------------------------------------------+
         |  Credits: http://fogproject.org/Credits  |
         |       http://fogproject.org/Credits      |
         |       Released under GPL Version 3       |
         +------------------------------------------+
      
      
         Version: 1.3.0-RC-30 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
       ***  break the installation and you will have to remove the files yourself
       ***  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 7.1..........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      #
         ######################################################################
         #           ** Notice ** FOG is difficult to setup securely          #
         #        SELinux and IPTables are usually asked to be disabled       #
         #           There have been strides in adding capabilities           #
         #          The recommendations would now be more appropriate         #
         #    to set SELinux to permissive and to disable firewall for now.   #
         #  You can find some methods to enable SELinux and maintain firewall #
         #   settings and ports. If you feel comfortable doing so please do   #
         ######################################################################
         #            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
       * Server IP Address: 10.1.0.134
       * Server Subnet Mask: 255.255.0.0
       * Interface: eth0
       * Installation Type: Normal Server
       * Donate: 0
       * Internationalization:
       * 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. 10.1.0.134)
       * Option 067/filename is the bootfile: (e.g. undionly.kpxe)
      
      
       * Are you sure you wish to continue (Y/N) Y
      
       * Installation Started
      
       * Installing required packages, if this fails
       | make sure you have an active internet connection.
      
       * Adding needed repository....................................OK
       * Preparing Package Manager...................................OK
       * Packages to be installed:
      
              apache2 bc build-essential cpp curl g++ gawk gcc gzip htmldoc lftp libapache2-mod-php7.1 libc6 libcurl3 m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.1 php7.1-bcmath php7.1-cli php7.1-curl php7.1-fpm php7.1-gd php7.1-json php7.1-ldap php7.1-mbstring php7.1-mcrypt php7.1-mysql php7.1-mysqlnd php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa 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: gzip......................................(Already Installed)
       * Skipping package: htmldoc...................................(Already Installed)
       * Skipping package: lftp......................................(Already Installed)
       * Installing package: libapache2-mod-php7.1...................OK
       * Skipping package: libc6.....................................(Already Installed)
       * Skipping package: libcurl3..................................(Already Installed)
       * 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.1..................................OK
       * Installing package: php7.1-bcmath...........................OK
       * Skipping package: php7.1-cli................................(Already Installed)
       * Installing package: php7.1-curl.............................OK
       * Installing package: php7.1-fpm..............................OK
       * Installing package: php7.1-gd...............................OK
       * Skipping package: php7.1-json...............................(Already Installed)
       * Installing package: php7.1-ldap.............................OK
       * Installing package: php7.1-mbstring.........................OK
       * Installing package: php7.1-mcrypt...........................OK
       * Installing package: php7.1-mysql............................OK
       * Skipping package: php7.1-mysql..............................(Already Installed)
       * Installing package: php-gettext.............................Failed!
      
      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @Arsenal101
        last edited by

        @Arsenal101 What happens if you try:

        apt-get install php-gettext

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • A
          Arsenal101
          last edited by

          I get the same libmodapache dependency error, I was able to clear up the dependency errors at one point but I think the installer goes through and removes the PHP and apache packages when it install and breaks it again

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

            @Arsenal101 Can you try:

            apt-get purge -fyq libapache2-mod-php*

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • A
              Arsenal101
              last edited by

              Sure, After I ran that I was able to install php-gettext no troubles

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • A
                Arsenal101
                last edited by

                is there anyways that the installer will skip the php and apache packages if they are already installed? I noticed it removes them as one of the first steps

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

                  @Arsenal101 Now add:

                  php_ver="7.1"
                  php_verAdds="-7.1"
                  packages="apache2 bc build-essential cpp curl g++ gawk gcc gzip htmldoc lftp libapache2-mod-php7.1 libc6 libcurl3 m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.1 php7.1-bcmath php7.1-cli php7.1-curl php7.1-fpm php7.1-gd php7.1-json php7.1-ldap php7.1-mbstring php7.1-mcrypt php7.1-mysql php7.1-mysqlnd php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa vsftpd wget xinetd zlib1g"
                  

                  To your /opt/fog/.fogsettings file please.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

                    @Arsenal101 It only removes them if the php_ver/php_verAdds variables are not specified (which was what I was trying to get to happen when I asked you to remove those items earlier)

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • A
                      Arsenal101
                      last edited by

                      Gotcha, I did notice it said “setting variables for php” or something along those lines.

                      1 Reply Last reply Reply Quote 0
                      • A
                        Arsenal101
                        last edited by

                        Making Progress! got all the way to backing up database and then it failed…

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

                          @Arsenal101 WHat’s the apache error logs show?

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          1 Reply Last reply Reply Quote 0
                          • A
                            Arsenal101
                            last edited by

                            I don’t see any thing in there… I see the access.log and error.log but when I pico into them or Tail they don’t show anythting

                            1 Reply Last reply Reply Quote 0
                            • A
                              Arsenal101
                              last edited by

                              I noticed this on install…

                              * Setting up and starting MySQL...............................grep: /etc/rc5.d/S20nfs-server: No such file or directory
                              grep: /etc/rc2.d/S20nfs-server: No such file or directory
                              grep: /etc/rc3.d/S20nfs-server: No such file or directory
                              grep: /etc/blkid.tab: No such file or directory
                              grep: /etc/rc4.d/S20nfs-server: No such file or directory
                              grep: /etc/rc5.d/S20nfs-server: No such file or directory
                              grep: /etc/rc2.d/S20nfs-server: No such file or directory
                              grep: /etc/rc3.d/S20nfs-server: No such file or directory
                              grep: /etc/blkid.tab: No such file or directory
                              grep: /etc/rc4.d/S20nfs-server: No such file or directory
                              OK
                              

                              Think its anything?

                              1 Reply Last reply Reply Quote 0
                              • A
                                Arsenal101
                                last edited by

                                mysql username and password are good to go, I can connect separately. Nothing in apache error logs. I’m stuck again.

                                I searched around again and went though all the other posts I could find, again none of them seem to apply to me.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  Arsenal101
                                  last edited by

                                  I can do a manual dump with mysqldump -u root -p fog > /home/fogdump.sql

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

                                    @Arsenal101

                                    Do you have a mysql password for the root user?

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      Arsenal101
                                      last edited by

                                      Nope root user and blank password

                                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                      • Wayne WorkmanW
                                        Wayne Workman @Arsenal101
                                        last edited by

                                        @Arsenal101

                                        mysql -h localhost -D fog
                                        If this lets you in, just type quit

                                        mysql -h 127.0.0.1 -D fog
                                        if this lets you in, just type quit

                                        Do either of these commands give any errors at all?

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          Arsenal101
                                          last edited by

                                          Nope no errors, lets me right in both times

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            Arsenal101
                                            last edited by

                                            So I am not really sure what I did, it was some combination of commands but it let me install it just fine… I’ll take it.

                                            This can be marked as solved I guess!

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

                                            167

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project