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

Cannot see web interface - I have apache errors.

Scheduled Pinned Locked Moved Solved
Linux Problems
4
18
5.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.
  • C
    connellc
    last edited by Jan 30, 2017, 1:45 AM

    Re: Cannot enter fog management screen after localized install##### Server

    • FOG Version:
    • OS:
    Client
    • Service Version:
    • OS:
    Description

    Re: Cannot enter fog management screen after localized install

    1 Reply Last reply Reply Quote 0
    • C
      connellc
      last edited by Jan 30, 2017, 1:50 AM

      10.0.2.15 Server

      FOG Version: 1.3.4
      OS: Ubuntu MATE 16.04
      

      Client

      Service Version:
      OS: Ubuntu Mate 16.04
      

      Description - tried going to 10…0.2.15/fog/management - nothing shows and also tried //localhost/fog/management - nothing shows

      My error log for apache shows:
      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, referer: http://10.0.2.15/

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman
        last edited by Wayne Workman Jan 30, 2017, 8:31 AM Jan 30, 2017, 2:30 PM

        Pinging @Tom-Elliott on this one, these might be related:

        @Tom-Elliott said in FOG 1.3.4 and Client 0.11.9 Officially Released:

        @sudburr That’s because I had to push in another fix for PDODB issues. It wasn’t breaking anything indefinitely so a simple repush was all that was needed. This tweaked the svn versioning in the main system.

        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
        • T
          Tom Elliott
          last edited by Jan 30, 2017, 2:36 PM

          All you should need to do is pull again and install. This was already known about and pushed.

          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
          • C
            connellc
            last edited by Jan 30, 2017, 7:47 PM

            I’m sorry. I’m sort of not used to hearing the phrase “pull again and and install”. What do you mean?

            T 1 Reply Last reply Jan 30, 2017, 8:03 PM Reply Quote 0
            • T
              Tom Elliott @connellc
              last edited by Jan 30, 2017, 8:03 PM

              @connellc I don’t know how you installed.

              Essentially, however, you likely followed either git or svn for the install right?

              Change directory to your fog download location.

              If git the command to “pull again” would be:
              git pull

              If svn the command to “pull again” would be:
              svn up

              I think install again is explanatory enough then?

              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

              L C 2 Replies Last reply Jan 30, 2017, 8:19 PM Reply Quote 0
              • L
                lddman @Tom Elliott
                last edited by Jan 30, 2017, 8:19 PM

                @Tom-Elliott The gzipped tar of 1.3.4 that is linked on the front page needs to be updated. I ran into this same problem with that installer. Then I found this post and downloaded it from Github.

                1 Reply Last reply Reply Quote 1
                • T
                  Tom Elliott
                  last edited by Jan 30, 2017, 8:44 PM

                  The gzipped tar on both sourceforge and github have both been updated with the same file.

                  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
                  • C
                    connellc @Tom Elliott
                    last edited by Jan 31, 2017, 12:42 AM

                    @Tom-Elliott I did neither; hence my not knowing those terms. I will endeavor to use git or svn to install.

                    C T 2 Replies Last reply Jan 31, 2017, 1:02 AM Reply Quote 0
                    • C
                      connellc @connellc
                      last edited by Jan 31, 2017, 1:02 AM

                      @connellc I did install from sourceforge and ran the shell installer from the zip file, certain events that ought to have happened never took place. For example,
                      I found out when I followed https://wiki.fogproject.org/wiki/index.php?title=Uninstall_FOG that there was no mysql database “fog” to delete.

                      I will install using git or svn this time.

                      C 1 Reply Last reply Jan 31, 2017, 1:36 AM Reply Quote 0
                      • C
                        connellc @connellc
                        last edited by Jan 31, 2017, 1:36 AM

                        @connellc I did take care tofollow the pre-reqs at https://wiki.fogproject.org/wiki/index.php?title=Installation#Requirements,
                        and am following the “git” steps on that page

                        C 1 Reply Last reply Jan 31, 2017, 1:40 AM Reply Quote 0
                        • C
                          connellc @connellc
                          last edited by Jan 31, 2017, 1:40 AM

                          @connellc @Tom-Elliott One of the prereqs is to have a bridged network on an Ubuntu Mate 16.04 LT running in Virtual Box, so I made sure to have that before even installing FOG this time - referring to https://wiki.fogproject.org/wiki/index.php?title=Installation#Requirements,
                          and am following the “git” steps on that page

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott @connellc
                            last edited by Jan 31, 2017, 2:44 AM

                            @connellc How did you first isntall fog? Based on the replied to posting you have said:

                            @connellc said in Cannot see web interface - I have apache errors.:

                            @Tom-Elliott I did neither; hence my not knowing those terms. I will endeavor to use git or svn to install.

                            You did neither? Then how did you install FOG?

                            You should not need to uninstall fog either in response to:

                            @connellc said in Cannot see web interface - I have apache errors.:

                            @connellc I did install from sourceforge and ran the shell installer from the zip file, certain events that ought to have happened never took place. For example,
                            I found out when I followed https://wiki.fogproject.org/wiki/index.php?title=Uninstall_FOG that there was no mysql database “fog” to delete.

                            I will install using git or svn this time.

                            The pre-reqs aren’t the problem, it’s more “changes” in Ubuntu keeping the DB from being created. It’s annoying as hell trying to keep up with changes I can’t even see. That said, I too saw issues and applied a temporary fix that needs some testing to validate.

                            All having some of the “strange” issues
                            Please try:

                            cd
                            git clone https://github.com/fogproject/fogproject.git fogproject-working
                            cd fogproject-working
                            git checkout working-1.3.5
                            git pull
                            cd bin
                            ./installfog.sh -y
                            

                            This will put you onto the working 1.3.5 branch. I’ve made the commands above so you aren’t messing in your “normal” download folders and to help keep some level of separation for your own uses.

                            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

                            C 1 Reply Last reply Jan 31, 2017, 6:00 PM Reply Quote 0
                            • C
                              connellc @Tom Elliott
                              last edited by Jan 31, 2017, 6:00 PM

                              @Tom-Elliott tried this and the only issue with using the git commands you supplied was that a directory was not created, so I created it manually:

                              /home//fog_web_722.BACKUP/management/other/ (error was: " No such file or directory")

                              T 1 Reply Last reply Jan 31, 2017, 6:01 PM Reply Quote 0
                              • T
                                Tom Elliott @connellc
                                last edited by Jan 31, 2017, 6:01 PM

                                @connellc This error message is only becasue that folder didn’t exist. It’s not going to impact installation though.

                                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

                                C 2 Replies Last reply Jan 31, 2017, 6:03 PM Reply Quote 0
                                • C
                                  connellc @Tom Elliott
                                  last edited by Jan 31, 2017, 6:03 PM

                                  @Tom-Elliott alright. I haven’t yet tried to go to web interface yet, will try as I have to step AFK for a minute

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    connellc @Tom Elliott
                                    last edited by Jan 31, 2017, 6:47 PM

                                    @Tom-Elliott So, Tom, thanks! I am finally able to see "http://[ip-address]/fog/management/ in my browser.

                                    C 1 Reply Last reply Jan 31, 2017, 8:08 PM Reply Quote 0
                                    • C
                                      connellc @connellc
                                      last edited by Jan 31, 2017, 8:08 PM

                                      @Tom-Elliott you can close this issue. test Firefox and Chromium, no issues with web interface. I upgraded via trunk and it still works fine.

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

                                      191

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project