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

FOG on Ubuntu 16.04 (php7)?

Scheduled Pinned Locked Moved
Linux Problems
8
34
32.5k
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.
  • T
    Tom Elliott @Quazz
    last edited by May 6, 2016, 7:42 PM

    @Quazz what do you mean?

    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

    Q 1 Reply Last reply May 6, 2016, 7:42 PM Reply Quote 0
    • Q
      Quazz Moderator @Tom Elliott
      last edited by May 6, 2016, 7:42 PM

      @Tom-Elliott It seems like mysql 5.7 broke a few things, but I’m guessing not enough to bother with this?

      T 1 Reply Last reply May 6, 2016, 7:44 PM Reply Quote 0
      • T
        Tom Elliott @Quazz
        last edited by May 6, 2016, 7:44 PM

        @Quazz I’ve done what I can with the schema to make the corrections as needed. The only part I haven’t done yet is set the native password to blank for 5.7 yet. As that’s only one step I don’t think it’s too much to do it by hand.

        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
        • B
          Blacknutso @Tom Elliott
          last edited by May 11, 2016, 3:36 PM

          @Tom-Elliott Hi,
          Can you help me please, im on ubuntu 16.04 server lts , i run the script of FOG but i have the same error that 30000MONKEYS
          and when you say edit /lib/ubuntu/config.sh i cant find the folder !
          “/lib” exist but “ubuntu” not in the list

          Q 1 Reply Last reply May 11, 2016, 3:48 PM Reply Quote 0
          • T
            Tom Elliott @Tom Elliott
            last edited by May 11, 2016, 3:38 PM

            @Tom-Elliott said in FOG on Ubuntu 16.04 (php7)?:

            Because it failed, you haven’t successfully installed yet, I think you could run the installer with:

            php_ver='7.0' php_verAdds='-7.0' ./installfog.sh -y

            Not 100% on the syntax, but should be pretty straight forward. In the case that doesn’t work, you can edit the trunk/lib/ubuntu/config.sh and look for php_ver= and php_verAdds= and make then read as: ‘7.0’ and ‘-7.0’ respectively.

            Then rerun the installer and it should all work.

            Read the forum.

            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
            • Q
              Quazz Moderator @Blacknutso
              last edited by May 11, 2016, 3:48 PM

              @Blacknutso The /lib folder is relative to the where you downloaded FOG, not in the root location.

              B 1 Reply Last reply May 13, 2016, 7:49 PM Reply Quote 0
              • B
                Blacknutso @Quazz
                last edited by May 13, 2016, 7:49 PM

                @Quazz Thank you i find the fold then the config.sh but can you tell me what can i change for dont have the error “php 5 failed”.

                Thx again for answer me
                (sorry for my english, im a french student)!

                http://img15.hostingpics.net/pics/412779UBUNTU1604FOG.png

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by May 13, 2016, 10:00 PM

                  @Blacknutso As Tom already said, you should not need to change the installer. Just run it like this: php_ver='7.0' php_verAdds='-7.0' ./installfog.sh

                  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

                  B 1 Reply Last reply May 13, 2016, 11:12 PM Reply Quote 1
                  • B
                    Blacknutso @Sebastian Roth
                    last edited by May 13, 2016, 11:12 PM

                    @Sebastian-Roth i trying you method but it didnt work for me !
                    always have php5-json…Failed!

                    T 1 Reply Last reply May 13, 2016, 11:17 PM Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by May 13, 2016, 11:16 PM

                      @Blacknutso What do you have in the last 10 lines of the install error log file? fogproject/bin/error_log/…

                      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

                      B 1 Reply Last reply May 13, 2016, 11:29 PM Reply Quote 0
                      • T
                        Tom Elliott @Blacknutso
                        last edited by Tom Elliott May 13, 2016, 5:17 PM May 13, 2016, 11:17 PM

                        @Blacknutso Please run:

                        sudo apt-get purge php5* lib*php* -yq

                        I’m just guessing but this is an upgrade?

                        If so, please open/edit the /opt/fog/.fogsettings file and remove the line that has packages.

                        Then re-run 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

                        1 Reply Last reply Reply Quote 0
                        • B
                          Blacknutso @Sebastian Roth
                          last edited by Blacknutso May 13, 2016, 5:32 PM May 13, 2016, 11:29 PM

                          @Sebastian-Roth can you tell me the exact way to find the error_log (sorry iam a beginner)
                          @Tom-Elliott there is nothing to uninstall when i do the command and still have the error even when i remove the line

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by May 14, 2016, 1:12 AM

                            The error log files are in the directory where the installer script is too!

                            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

                            B 1 Reply Last reply May 14, 2016, 1:07 PM Reply Quote 0
                            • B
                              Blacknutso @Sebastian Roth
                              last edited by May 14, 2016, 1:07 PM

                              @Sebastian-Roth the script installer is in /fog_1.2.0/bin

                              but in /bin there is just .installfog.sh and install.sh

                              Wayne WorkmanW 1 Reply Last reply May 14, 2016, 3:56 PM Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @Blacknutso
                                last edited by May 14, 2016, 3:56 PM

                                @Blacknutso 1.2.0 doesn’t have the error logs that Sebastian was referring to. You would probably be better off upgrading to fog trunk.

                                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
                                • Wayne WorkmanW
                                  Wayne Workman
                                  last edited by Wayne Workman May 14, 2016, 12:56 PM May 14, 2016, 6:55 PM

                                  I was just able to help a fellow install trunk on Ubuntu 16.

                                  Two bumps in the road, of which the forums and wiki covered. I’ll try to unify some instructions in the Ubuntu Server article.

                                  Basics are exactly what has already been posted in the forums and wiki.

                                  • When you are ready, run the installer with php_ver='7.0' php_verAdds='-7.0' ./installfog.sh
                                  • When the installer asks you to update the database, there’s 1 extra step. (in another SSH session) Go to mysql and modify the password setting with ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '';
                                  • Then you go to the web interface and update the DB as normal, come back to the installer and complete it as usual.

                                  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 3
                                  • Wayne WorkmanW
                                    Wayne Workman
                                    last edited by Wayne Workman May 24, 2016, 9:53 PM May 25, 2016, 3:40 AM

                                    Just bumping this thread, saying the below first bullet point is the only difference required to setup a Ubuntu 16.04 Storage Node.

                                    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
                                    • M
                                      mcj
                                      last edited by May 26, 2016, 8:51 PM

                                      I have a fresh install of Ubuntu 16.04 and when I run:
                                      php_ver=‘7.0’ php_verAdds=‘-7.0’ ./installfog.sh -y
                                      or just:
                                      ./installfrog.sh I get the same error.

                                      I also tried adding this to the config file:
                                      php_ver=“7.0”
                                      php_verAdds=“-7.0”
                                      repo=“php”

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by May 26, 2016, 9:02 PM

                                        @mcj What’s in the error logs? (you find those in the same directory where the installer script is under fogproject/bin/error_logs/)

                                        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

                                        M 1 Reply Last reply May 26, 2016, 11:13 PM Reply Quote 0
                                        • M
                                          mcj @Sebastian Roth
                                          last edited by May 26, 2016, 11:13 PM

                                          @Sebastian-Roth
                                          I see no logs in the bin… Or, am I in the wrong place?

                                          root@fog:~/fog_1.2.0/bin# ls -al
                                          total 24
                                          drwxr-xr-x 2 sysadmin sysadmin 4096 May 26 15:05 .
                                          drwxr-xr-x 10 sysadmin sysadmin 4096 Jul 21 2014 …
                                          -rwxr-xr-x 1 sysadmin sysadmin 59 Jun 5 2014 installfog.sh
                                          -rwxr-xr-x 1 sysadmin sysadmin 10154 Jul 7 2014 .install.sh

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

                                          165

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project