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

Issues after upgrading to 16.04

Scheduled Pinned Locked Moved Unsolved
FOG Problems
7
65
28.0k
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.
  • W
    Wayne Workman @Tom
    last edited by Sep 20, 2016, 4:36 PM

    @Tom what is the output of ip addr 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!
    Daily Clean Installation Results:
    https://fogtesting.fogproject.us/
    FOG Reporting:
    https://fog-external-reporting-results.fogproject.us/

    T 1 Reply Last reply Sep 20, 2016, 5:21 PM Reply Quote 0
    • E
      EAHarvey
      last edited by Sep 20, 2016, 5:00 PM

      FYI Purge didn’t work for me. just reporting back. 🙂 Don’t want to hijack the thread so I’m just going to watch and see what we find out.

      1 Reply Last reply Reply Quote 0
      • E
        EAHarvey
        last edited by Sep 20, 2016, 5:11 PM

        I think it has something to do with Ubuntu 14 was php5 and 16 is php7 and ubuntu will not let you install php5 on 16.04. Just a Thought.

        1 Reply Last reply Reply Quote 1
        • T
          Tom @Wayne Workman
          last edited by Sep 20, 2016, 5:21 PM

          @Wayne-Workman Posted it yesterday, it’s below.

          W 1 Reply Last reply Sep 20, 2016, 5:36 PM Reply Quote 1
          • T
            Tom Elliott
            last edited by Sep 20, 2016, 5:21 PM

            Run :

            rm -rf '/etc/apache*' '/etc/php*'
            apt-get purge 'lib*php*' 'php*' 'apache*'
            

            Then rerun the installer

            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

            E T 2 Replies Last reply Sep 20, 2016, 6:20 PM Reply Quote 0
            • W
              Wayne Workman @Tom
              last edited by Sep 20, 2016, 5:36 PM

              @Tom and I asked for it again to see if IPv6 is really disabled or not. Several times I’ve been told “It’s turned off” yet it was not, hope you understand.

              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/

              E T 2 Replies Last reply Sep 20, 2016, 6:19 PM Reply Quote 0
              • E
                EAHarvey @Wayne Workman
                last edited by Sep 20, 2016, 6:19 PM

                @Wayne-Workman Wayne, is this what you are talking about? Editing the sysctl.conf?

                net.ipv6.conf.all.disable_ipv6 = 1
                net.ipv6.conf.default.disable_ipv6 = 1
                net.ipv6.conf.lo.disable_ipv6 = 1

                I have ran this on my setup and still have the same issue. Here is a good article on doing this.
                lDisable Ipv6

                If you have any other ideas to things to try, I will be glad to do them. I can respond with whatever you need. I just didn’t want to intrude on the other persons issues.

                1 Reply Last reply Reply Quote 1
                • E
                  EAHarvey @Tom Elliott
                  last edited by Sep 20, 2016, 6:20 PM

                  @Tom-Elliott I did this Tom. Same result. Just to inform you of What I have done.

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wayne Workman
                    last edited by Wayne Workman Sep 20, 2016, 2:40 PM Sep 20, 2016, 8:39 PM

                    Try to access the fog db from the command line, see if it works or not:

                    mysql -D fog

                    Earlier I got an error about this, and re-running the installer fixed it - which I guess will just break later again. @Tom-Elliott I believe is aware of that issue.

                    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/

                    E 1 Reply Last reply Sep 21, 2016, 12:51 PM Reply Quote 0
                    • T
                      Tom @Tom Elliott
                      last edited by Sep 20, 2016, 9:10 PM

                      @Tom-Elliott Thank you, it seems that apache2 is running now. But, when trying to access the console, it seems like DB issue.0_1474405744156_SQLERROR.JPG
                      Also, while the installer was running, I noticed that PHP5 is not exist.

                      Thanks,

                      Tom

                      Q 1 Reply Last reply Sep 21, 2016, 10:07 AM Reply Quote 0
                      • T
                        Tom @Wayne Workman
                        last edited by Sep 20, 2016, 9:26 PM

                        @Wayne-Workman Sorry, I must have misunderstood. Here is the ip
                        0_1474406672654_ip2.JPG
                        I followed the instructions from HERE

                        mysql -D fog - Did not resolve the issue.

                        Thanks,

                        Tom

                        W 1 Reply Last reply Sep 20, 2016, 11:57 PM Reply Quote 0
                        • W
                          Wayne Workman @Tom
                          last edited by Wayne Workman Sep 20, 2016, 5:58 PM Sep 20, 2016, 11:57 PM

                          @Tom said in Issues after upgrading to 16.04:

                          mysql -D fog - Did not resolve the issue.

                          It’s not supposed to resolve it, it’s a command that will produce a particular error if there is a particular issue present. I was just asking if you get an error or not when you run that.

                          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/

                          T 1 Reply Last reply Sep 21, 2016, 12:24 PM Reply Quote 0
                          • Q
                            Quazz Moderator @Tom
                            last edited by Sep 21, 2016, 10:07 AM

                            @Tom said in Issues after upgrading to 16.04:

                            @Tom-Elliott Thank you, it seems that apache2 is running now. But, when trying to access the console, it seems like DB issue.0_1474405744156_SQLERROR.JPG
                            Also, while the installer was running, I noticed that PHP5 is not exist.

                            Thanks,

                            Tom

                            It should automatically install php7 on Ubuntu 16.04 as of the latest FOG. Unless it’s being instructed otherwise (in which case it will fail on ubuntu 16.04).

                            Check /opt/fog/.fogsettings for

                            php_ver=''
                            php_verAdds=''
                            

                            If they have values (eg 5 or something) try deleting the variables. Let the installer figure it out.

                            T 1 Reply Last reply Sep 21, 2016, 12:52 PM Reply Quote 0
                            • T
                              Tom @Wayne Workman
                              last edited by Sep 21, 2016, 12:24 PM

                              @Wayne-Workman No errors when running mysql -D fog

                              1 Reply Last reply Reply Quote 0
                              • E
                                EAHarvey @Wayne Workman
                                last edited by Sep 21, 2016, 12:51 PM

                                @Wayne-Workman Mine goes straight to the mysql prompt Wayne. No error seen on my end.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tom @Quazz
                                  last edited by Sep 21, 2016, 12:52 PM

                                  @Quazz I cannot find fogsettings. can you be more specific how to verify php version?
                                  Thanks,

                                  Tom

                                  E Q 2 Replies Last reply Sep 21, 2016, 12:55 PM Reply Quote 0
                                  • E
                                    EAHarvey @Tom
                                    last edited by Sep 21, 2016, 12:55 PM

                                    @Tom I’m thinking that since the install didnt finish, the settings file will not be created. Am I right @Wayne-Workman @Tom-Elliott

                                    W 1 Reply Last reply Sep 21, 2016, 10:22 PM Reply Quote 0
                                    • Q
                                      Quazz Moderator @Tom
                                      last edited by Quazz Sep 21, 2016, 6:59 AM Sep 21, 2016, 12:59 PM

                                      @Tom It’s a hidden file in /opt/fog called .fogsettings

                                      You can view it by

                                      cat /opt/fog/.fogsettings
                                      

                                      @EAHarvey

                                      He mentioned upgrading in his original post, so should have this file.

                                      T 1 Reply Last reply Sep 21, 2016, 1:05 PM Reply Quote 0
                                      • E
                                        EAHarvey
                                        last edited by EAHarvey Sep 21, 2016, 7:06 AM Sep 21, 2016, 1:04 PM

                                        My fogsettings. Under packages its shows php5.

                                        Start of FOG Settings

                                            ## Created by the FOG Installer
                                            ## Version: 6177
                                            ## Install time: Wed 03 Feb 2016 08:16:39 AM CST
                                        
                                            ipaddress='172.29.2.250'
                                            interface='p4p1'
                                            submask='255.255.0.0'
                                            routeraddress='#   No router address added'
                                            plainrouter=''
                                            dnsaddress='#   No dns added'
                                            dnsbootimage=''
                                            password='R7xAlawPeDRCx6NVVnANGqytkDri/MCywCJpbsIQRNg='
                                            osid='2'
                                            osname='Debian'
                                            dodhcp='y'
                                            bldhcp='1'
                                            blexports='1'
                                            installtype='N'
                                            snmysqluser=''
                                            snmysqlpass=''
                                            snmysqlhost=''
                                            installlang='0'
                                            donate='0'
                                            storageLocation='/images'
                                            fogupdateloaded=1
                                            storageftpuser='fog'
                                            storageftppass='R7xAlawPeDRCx6NVVnANGqytkDri/MCywCJpbsIQRNg='
                                            docroot='/var/www/html/'
                                            webroot='fog/'
                                            caCreated='yes'
                                            startrange='172.29.0.253'
                                            endrange='172.29.255.254'
                                            bootfilename='undionly.kpxe'
                                            packages='apache2 php5 php5-json php5-gd php5-cli php5-curl mysql-server mysql-client isc-dhcp-server tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc lftp openssh-server php-gettext php5-mcrypt php5-mysqlnd curl libc6 libcurl3 zlib1g php5-fpm libapache2-mod-php5'
                                            noTftpBuild=''
                                            notpxedefaultfile=''
                                            ## End of FOG Settings
                                        
                                        Q 1 Reply Last reply Sep 21, 2016, 1:09 PM Reply Quote 0
                                        • T
                                          Tom @Quazz
                                          last edited by Sep 21, 2016, 1:05 PM

                                          @Quazz Thank you, here are the results:

                                          0_1474463037410_results.JPG
                                          how can I change it?

                                          Q 1 Reply Last reply Sep 21, 2016, 1:11 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 2 / 4
                                          2 / 4
                                          • First post
                                            23/65
                                            Last post

                                          136

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project