• 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.
    • 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
                      • M
                        mcj @Sebastian Roth
                        last edited by

                        @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
                        • S
                          Sebastian Roth Moderator
                          last edited by

                          Well, we were all talking about FOG trunk (not version 1.2.0)…

                          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 1
                          • M
                            mcj @Sebastian Roth
                            last edited by

                            @Sebastian-Roth Wonderful.

                            1 Reply Last reply Reply Quote 0
                            • M
                              mcj
                              last edited by

                              Trunk installed without issues.

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

                              162

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project