• 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.2k
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.
  • E
    EAHarvey @Quazz
    last edited by Sep 21, 2016, 2:12 PM

    @Quazz I have all the PHP5 stuff remarked out and it skips the installs as it should and install php7. Now I am crashing at Stopping web Service…Failed!!

    Still looking for that fix.

    Q 1 Reply Last reply Sep 21, 2016, 2:17 PM Reply Quote 0
    • E
      EAHarvey
      last edited by Sep 21, 2016, 2:13 PM

      I love this stuff!!!:-) Frustrating and interesting at the same time!!

      1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator @EAHarvey
        last edited by Sep 21, 2016, 2:17 PM

        @EAHarvey Most likely some odd one out php thingy got missed when we tried to manually remove them earlier.

        Check the error logs of the FOG installer (near the bottom) to find out which one.

        E T 2 Replies Last reply Sep 21, 2016, 2:26 PM Reply Quote 0
        • E
          EAHarvey @Quazz
          last edited by Sep 21, 2016, 2:26 PM

          @Quazz Failed to stop php7.0-fpm.service: Unit php7.0-fpm.service not loaded.

          Looking for fix now.

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

            @Quazz commenting the packages line would also be needed

            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 1
            • T
              Tom @Quazz
              last edited by Sep 21, 2016, 2:44 PM

              @Quazz Yes

              1 Reply Last reply Reply Quote 0
              • T
                Tom
                last edited by Sep 21, 2016, 3:03 PM

                Ok, deleted the values for php_ver (5) and php_verAdds(-5.6) in fodsettings and saved.
                Ran php_ver=‘7.0’ php_verAdds=‘-7.0’ ./installfog.sh -y
                installation stopped at this:
                0_1474470181758_install error.JPG

                I hope it helps.

                Q 1 Reply Last reply Sep 21, 2016, 3:05 PM Reply Quote 0
                • Q
                  Quazz Moderator @Tom
                  last edited by Sep 21, 2016, 3:05 PM

                  @Tom As Tom Eliott has stated, you also need to comment out the packages = " line in your /opt/fog/.fogsettings file (simply put a # in front of packages)

                  Because the installer ran previously, it compiled a list of packages to install based on the setting of the time and saved in the .fogsettings file for speed reasons.

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

                    @Quazz Thanks, I put # in front of php_ver and php_verAdds.
                    Ran “php_ver=‘7.0’ php_verAdds=’-7.0’ ./installfog.sh -y” and the installation stopped at the same spot.

                    Should I have commented something else?

                    Q 1 Reply Last reply Sep 21, 2016, 3:13 PM Reply Quote 0
                    • Q
                      Quazz Moderator @Tom
                      last edited by Quazz Sep 21, 2016, 9:14 AM Sep 21, 2016, 3:13 PM

                      @Tom Yes, you have to comment the packages=“list of packages here” line

                      After that you have to remove the old php stuff from your system again.

                      sudo apt purge php*
                      sudo apt purge apache*
                      rm -rf '/etc/apache*' '/etc/php*'
                      
                      T 1 Reply Last reply Sep 21, 2016, 3:42 PM Reply Quote 0
                      • T
                        Tom @Quazz
                        last edited by Sep 21, 2016, 3:42 PM

                        @Quazz Thank you, it seems that php7 was installed successfully and the values in fogsettings has been changed.
                        Tried to access the console, and I got:
                        0_1474472455787_fogerror2.JPG
                        So, I uncommented the lines and ran the installer again.
                        Yet, I get the same screen.

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

                          sudo apt purge php*
                          sudo apt purge apache*
                          sudo apt-get autoremove
                          rm -rf ‘/etc/apache*’ ‘/etc/php*’

                          Along with the #out of the Packages line in the fogsettings file, worked for me. I am up and running and testing an image push right now. YAY!

                          1 Reply Last reply Reply Quote 0
                          • T
                            Thiago @Tom
                            last edited by Sep 21, 2016, 5:45 PM

                            @Tom
                            This happened to me, and when i was looking at /var/www/fog/lib/fog/config.class.php my db password was empty…
                            setting my db password, then webui automatically had changed to correct page…

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tom
                              last edited by Sep 21, 2016, 5:55 PM

                              Ok, so now apache 2 is failing. This my plan, please confirm steps:

                              1. Revert back to 14.04
                              2. Upgrade to 16.04
                              3. Comment php and packges entries in fogsettings
                              4. Purge php* and apache* (3 commands)
                              5. Run apt-get Autoremove
                              6. Run Fog installer
                              7. Undo step 3

                              Thanks,

                              Tom

                              1 Reply Last reply Reply Quote 0
                              • W
                                Wayne Workman @EAHarvey
                                last edited by Wayne Workman Sep 22, 2016, 7:55 AM Sep 21, 2016, 10:22 PM

                                @EAHarvey Correct. If the installer hasn’t completed at least once, there will be no fogsettings file. It exixts here: /opt/fog/.fogsettings

                                @Tom to get the installed php version, it’s just php -v

                                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 1
                                • T
                                  Tom
                                  last edited by Sep 22, 2016, 1:00 PM

                                  So I followed the steps 1-6, when running the installer, apache is failed to install.
                                  0_1474549197289_another error.JPG

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tom
                                    last edited by Sep 22, 2016, 1:23 PM

                                    When trying to install apache2 , I get broken package.
                                    0_1474550575224_anothererror1.JPG
                                    Frustrating!!

                                    E 1 Reply Last reply Sep 22, 2016, 2:00 PM Reply Quote 0
                                    • E
                                      EAHarvey @Tom
                                      last edited by EAHarvey Sep 22, 2016, 8:02 AM Sep 22, 2016, 2:00 PM

                                      @Tom Did you try the commands I talked about earlier.

                                      sudo apt purge php*
                                      sudo apt purge apache*
                                      sudo rm -rf ‘/etc/apache*’ ‘/etc/php*’
                                      sudo apt-get autoremove

                                      Along with the #COMMENT out the entire PACKAGES LINE in fogsettings. So in front of the entire line. (#PACKAGES)

                                      I know you have probably done this too but make sure all is updated.

                                      sudo apt-get update
                                      sudo apt-get upgrade
                                      sudo apt-get dist-upgrade

                                      I would also make sure you have all the updates release info.

                                      sudo do-release-upgrade.

                                      Once this has all been done then reboot (sudo shutdown -r now) and rerun the ./installfog.sh and see what happens.

                                      T 1 Reply Last reply Sep 22, 2016, 2:09 PM Reply Quote 0
                                      • T
                                        Tom @EAHarvey
                                        last edited by Sep 22, 2016, 2:09 PM

                                        @EAHarvey I’ve done it all, once apache2 got broken, I could not fix it.
                                        Thanks!

                                        Q 1 Reply Last reply Sep 22, 2016, 2:21 PM Reply Quote 0
                                        • Q
                                          Quazz Moderator @Tom
                                          last edited by Sep 22, 2016, 2:21 PM

                                          @Tom Please put the output of

                                          dpkg --get-selections | grep hold
                                          

                                          here

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 3 / 4
                                          3 / 4
                                          • First post
                                            47/65
                                            Last post

                                          185

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.4k

                                          Posts
                                          Copyright © 2012-2024 FOG Project