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

    FOG on Ubuntu 16.04 (php7)?

    Scheduled Pinned Locked Moved
    Linux Problems
    8
    34
    31.9k
    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.
    • Q
      Quazz Moderator @Tom Elliott
      last edited by

      @Tom-Elliott On this note, would it be possible to add something similar for mysql or would it be wiser/simpler to simply fix the issues at hand instead?

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

        @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 Reply Quote 0
        • Q
          Quazz Moderator @Tom Elliott
          last edited by

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

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

            @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

              @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 Reply Quote 0
              • Tom ElliottT
                Tom Elliott @Tom Elliott
                last edited by

                @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

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

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    Blacknutso @Quazz
                    last edited by

                    @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

                      @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 Reply Quote 1
                      • B
                        Blacknutso @Sebastian Roth
                        last edited by

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

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by

                          @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 Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @Blacknutso
                            last edited by Tom Elliott

                            @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

                              @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

                                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 Reply Quote 0
                                • B
                                  Blacknutso @Sebastian Roth
                                  last edited by

                                  @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 Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @Blacknutso
                                    last edited by

                                    @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

                                      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

                                        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

                                          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

                                            @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 Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            155

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project