• 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
31.8k
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.
  • 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

                  W 1 Reply Last reply May 14, 2016, 3:56 PM Reply Quote 0
                  • W
                    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
                    • W
                      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
                      • W
                        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
                              • S
                                Sebastian Roth Moderator
                                last edited by May 26, 2016, 11:18 PM

                                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 May 26, 2016, 11:23 PM Reply Quote 1
                                • M
                                  mcj @Sebastian Roth
                                  last edited by May 26, 2016, 11:23 PM

                                  @Sebastian-Roth Wonderful.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mcj
                                    last edited by May 27, 2016, 12:15 AM

                                    Trunk installed without issues.

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

                                    236

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project