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

Fresh Install of FOG 1.3.4 on Ubuntu 16.04 LTS

Scheduled Pinned Locked Moved Solved
FOG Problems
5
23
6.7k
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.
  • S
    shoong
    last edited by shoong Feb 10, 2017, 4:14 PM Feb 9, 2017, 6:01 PM

    Server
    • FOG Version: 1.3.4
    • OS: Ubuntu 16.04 LTS
    Description
    • I am at the part where it states to install/update the database schema by opening a web browser and going to http://<ip address>/fog/management. It states that the site can’t be reached.
    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Feb 9, 2017, 6:21 PM

      While this question is off point, why are you installing FOG 1.2.0? I might recommend fog 1.3.x if you need M.2 (NVMe) disk support, gpt format, uefi firmware, or win10 support.

      But back on to your question. Did you remember to disable selinux (or better set it to permissive) and also disable the linux firewall (iptables)?

      If you did all of that make sure apache is running.

      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!

      1 Reply Last reply Reply Quote 1
      • S
        shoong
        last edited by Feb 9, 2017, 6:36 PM

        weird:

        I restarted the server. still couldn’t hit it
        I then did apt-get update/upgrade, restarted, and it worked.

        W 1 Reply Last reply Feb 10, 2017, 5:59 AM Reply Quote 0
        • W
          Wayne Workman @shoong
          last edited by Wayne Workman Feb 10, 2017, 12:00 AM Feb 10, 2017, 5:59 AM

          @shoong Don’t use FOG 1.2.0, and don’t build a new server using Ubuntu 14.

          Use the latest stuff. Ubuntu 16.04 and FOG 1.3.x

          Because - when 1.2.0 doesn’t do this and doesn’t work for that and all the other things that can go wrong with it and just not work with new hardware - all of us here are going to tell you to go to the latest FOG Version.

          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/

          S 1 Reply Last reply Feb 10, 2017, 10:01 PM Reply Quote 1
          • S
            shoong @Wayne Workman
            last edited by shoong Feb 10, 2017, 4:02 PM Feb 10, 2017, 10:01 PM

            @Wayne-Workman so I went ahead and upgraded everything (Fog 1.3.x, Ubuntu 16.04) fresh install. I’m receiving a 500 error.

            T 1 Reply Last reply Feb 10, 2017, 10:04 PM Reply Quote 1
            • T
              Tom Elliott @shoong
              last edited by Feb 10, 2017, 10:04 PM

              @shoong What’s the error?

              Error 500 doesn’t tell us a single thing.

              The error 500 (regardless of version installed) will nearly always correlate to a message being thrown in the apache error log.

              Please get the last few lines of this file: /var/log/apache2/error.log

              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

              S 1 Reply Last reply Feb 10, 2017, 10:08 PM Reply Quote 1
              • S
                shoong @Tom Elliott
                last edited by Feb 10, 2017, 10:08 PM

                @Tom-Elliott
                [Fri Feb 10 14:02:29.753796 2017] [mpm_prefork:notice] [pid 21285] AH00169: caught SIGTERM, shutting down
                [Fri Feb 10 14:03:01.802281 2017] [mpm_prefork:notice] [pid 910] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured – resuming normal operations
                [Fri Feb 10 14:03:01.803317 2017] [core:notice] [pid 910] AH00094: Command line: ‘/usr/sbin/apache2’
                [Fri Feb 10 14:05:11.558730 2017] [php7:error] [pid 911] [client 10.120.52.124:50692] PHP Fatal error: Uncaught Error: Call to a member function errorCode() on null in /var/www/fog/lib/db/pdodb.class.php:412\nStack trace:\n#0 /var/www/fog/lib/db/pdodb.class.php(227): PDODB->sqlerror()\n#1 /var/www/fog/lib/db/pdodb.class.php(168): PDODB::currentDb(Object(PDODB))\n#2 /var/www/fog/lib/db/pdodb.class.php(177): PDODB->_connect(false)\n#3 /var/www/fog/lib/db/pdodb.class.php(100): PDODB->_connect()\n#4 /var/www/fog/lib/db/databasemanager.class.php(43): PDODB->__construct()\n#5 /var/www/fog/lib/fog/loadglobals.class.php(42): DatabaseManager->establish()\n#6 /var/www/fog/lib/fog/loadglobals.class.php(79): LoadGlobals::_init()\n#7 /var/www/fog/commons/base.inc.php(49): LoadGlobals->__construct()\n#8 /var/www/fog/management/index.php(22): require(‘/var/www/fog/co…’)\n#9 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 412

                T 1 Reply Last reply Feb 10, 2017, 10:10 PM Reply Quote 0
                • T
                  Tom Elliott @shoong
                  last edited by Feb 10, 2017, 10:10 PM

                  @shoong Can you please install the dev-branch?

                  git checkout dev-branch
                  cd bin
                  ./installfog.sh -y
                  

                  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

                  S 1 Reply Last reply Feb 10, 2017, 10:13 PM Reply Quote 0
                  • S
                    shoong @Tom Elliott
                    last edited by Feb 10, 2017, 10:13 PM

                    @Tom-Elliott this is what i get when i run the git command

                    els-fogserver:/$ git checkout dev-branch
                    fatal: Not a git repository (or any of the parent directories): .git
                    
                    T 1 Reply Last reply Feb 10, 2017, 10:17 PM Reply Quote 0
                    • T
                      Tom Elliott @shoong
                      last edited by Feb 10, 2017, 10:17 PM

                      @shoong I don’t know where your repository is.

                      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

                      S 1 Reply Last reply Feb 10, 2017, 10:19 PM Reply Quote 1
                      • S
                        shoong @Tom Elliott
                        last edited by Feb 10, 2017, 10:19 PM

                        @Tom-Elliott sorry i’m a linux noob. what is that command supposed to run? or is it supposed to reinstall fog? if so, i placed it in a the tmp folder and it deleted after a restart

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tom Elliott
                          last edited by Feb 10, 2017, 10:20 PM

                          git clone https://github.com/fogproject/fogproject.git
                          cd fogproject
                          git checkout dev-branch
                          cd bin
                          ./installfog.sh -y
                          

                          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

                          S 1 Reply Last reply Feb 10, 2017, 10:29 PM Reply Quote 1
                          • S
                            shoong @Tom Elliott
                            last edited by Feb 10, 2017, 10:29 PM

                            @Tom-Elliott i’m in business! what was the issue?

                            T 1 Reply Last reply Feb 10, 2017, 10:30 PM Reply Quote 0
                            • T
                              Tom Elliott @shoong
                              last edited by Feb 10, 2017, 10:30 PM

                              @shoong I don’t know. I just know there’s been more work for 1.3.5 than my focusing on 1.3.4.

                              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

                              S 1 Reply Last reply Feb 10, 2017, 10:32 PM Reply Quote 1
                              • S
                                shoong @Tom Elliott
                                last edited by Feb 10, 2017, 10:32 PM

                                @Tom-Elliott thanks for the quick resolution

                                1 Reply Last reply Reply Quote 0
                                • P
                                  philmills
                                  last edited by Feb 15, 2017, 12:02 PM

                                  I have the exact same issue, but I can’t understand this thread and how it was resolved.
                                  Idiot guide please ?

                                  G 1 Reply Last reply Feb 15, 2017, 12:32 PM Reply Quote 0
                                  • G
                                    george1421 Moderator @philmills
                                    last edited by george1421 Feb 15, 2017, 6:32 AM Feb 15, 2017, 12:32 PM

                                    @philmills In a nut shell, there was/is an issue with 1.3.4 (stable). The developers have fixed this issue with one of the beta releases (1.3.5-rc6 I believe).

                                    You can either wait until 1.3.5 (stable) is released or upgrade to the dev-branch and install/upgrade to 1.3.5-rc6.

                                    Tom provided instructions on how to connect to the dev-branch using git.

                                    git clone https://github.com/fogproject/fogproject.git
                                    cd <path_to_your_install_files_root>/fogproject
                                    git checkout dev-branch
                                    cd bin
                                    ./installfog.sh -y
                                    

                                    The instructions above will update your installer files to the latest dev branch. Normally we wouldn’t suggest upgrading to a dev-branch (beta) but it appears you may be at a road block where the dev-branch will address your issues. Once your files are sync’d with the dev-branch then you can just run the installer again.

                                    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!

                                    P 1 Reply Last reply Feb 15, 2017, 12:36 PM Reply Quote 0
                                    • P
                                      philmills @george1421
                                      last edited by Feb 15, 2017, 12:36 PM

                                      @george1421 I 'm in process of installing from dev-branch as you suggested. Its stuck at “Downloading inits, kernels, and the fog client”
                                      https://forums.fogproject.org/topic/7471/build-7705-downloading-inits-kernels-and-the-fog-client-stuck/3

                                      I’m on gigabit connection, so it shouldn’t be a network issue, unless a crab is chewing on a wire at the bottom of the Atlantic…

                                      P 1 Reply Last reply Feb 15, 2017, 12:49 PM Reply Quote 0
                                      • P
                                        philmills @philmills
                                        last edited by philmills Feb 15, 2017, 6:52 AM Feb 15, 2017, 12:49 PM

                                        @philmills bmon shows that there’s next to no traffic on eth0. Makes no sense…
                                        0_1487163105014_Capture.JPG

                                        G 1 Reply Last reply Feb 15, 2017, 1:00 PM Reply Quote 0
                                        • G
                                          george1421 Moderator @philmills
                                          last edited by Feb 15, 2017, 1:00 PM

                                          @philmills Does your computer have direct access to the internet or is it proxied?

                                          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!

                                          P 2 Replies Last reply Feb 15, 2017, 1:08 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            10/23
                                            Last post

                                          235

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project