• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Stefan Kaegi
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 25
    • Best 2
    • Controversial 0
    • Groups 0

    Stefan Kaegi

    @Stefan Kaegi

    3
    Reputation
    568
    Profile views
    25
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Stefan Kaegi Unfollow Follow

    Best posts made by Stefan Kaegi

    • RE: [Rev 4201] blank page when trying to install/update database schema
      root@FOGAGH01:~# ls -al /var/www/
      total 28
      drwxr-xr-x  6 www-data www-data 4096 Nov  4 09:11 .
      drwxr-xr-x 12 root     root     4096 May 12  2014 ..
      drwxr-xr-x 10 www-data www-data 4096 Nov  4 09:11 fog
      drwxr-xr-x 10 root     root     4096 Oct 22 10:16 fog.backup
      drwxr-xr-x 11 www-data www-data 4096 Jul  8 08:45 fog.prev
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 html
      -rw-r--r--  1 www-data www-data   43 Jul 16 15:47 index.php
      
      root@FOGAGH01:~# ls -al /var/www/html/
      total 12
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 .
      drwxr-xr-x  6 www-data www-data 4096 Nov  4 09:11 ..
      drwxr-xr-x 11 www-data www-data 4096 Jul 16 09:59 fog
      
      root@FOGAGH01:~# ls -al /var/www/html/fog/
      total 52
      drwxr-xr-x 11 www-data www-data 4096 Jul 16 09:59 .
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 ..
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 10:00 client
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 commons
      -rw-r--r--  1 www-data www-data 1406 Jul 16 09:59 favicon.ico
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 fogdoc
      -rw-r--r--  1 www-data www-data  278 Jul 16 09:59 index.php
      drwxr-xr-x  9 www-data www-data 4096 Jul 16 09:59 lib
      drwxr-xr-x 10 www-data www-data 4096 Jul 16 09:59 management
      drwxr-xr-x  4 www-data www-data 4096 Jul 16 09:59 mobile
      drwxr-xr-x  4 www-data www-data 4096 Jul 16 09:59 service
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 status
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 wol
      
      posted in FOG Problems
      S
      Stefan Kaegi
    • RE: [Rev 4201] blank page when trying to install/update database schema

      Seems like moving /var/www did the trick. After rerunning the installer I finally could update the database schema. And I can also access the webinterface again. I can even run the installer now with the wget command.
      Thanks everybody for your patient and your help.
      Stefan

      posted in FOG Problems
      S
      Stefan Kaegi

    Latest posts made by Stefan Kaegi

    • RE: [Rev 4201] blank page when trying to install/update database schema

      Seems like moving /var/www did the trick. After rerunning the installer I finally could update the database schema. And I can also access the webinterface again. I can even run the installer now with the wget command.
      Thanks everybody for your patient and your help.
      Stefan

      posted in FOG Problems
      S
      Stefan Kaegi
    • RE: [Rev 4201] blank page when trying to install/update database schema
      root@FOGAGH01:~# ls -al /var/www/
      total 28
      drwxr-xr-x  6 www-data www-data 4096 Nov  4 09:11 .
      drwxr-xr-x 12 root     root     4096 May 12  2014 ..
      drwxr-xr-x 10 www-data www-data 4096 Nov  4 09:11 fog
      drwxr-xr-x 10 root     root     4096 Oct 22 10:16 fog.backup
      drwxr-xr-x 11 www-data www-data 4096 Jul  8 08:45 fog.prev
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 html
      -rw-r--r--  1 www-data www-data   43 Jul 16 15:47 index.php
      
      root@FOGAGH01:~# ls -al /var/www/html/
      total 12
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 .
      drwxr-xr-x  6 www-data www-data 4096 Nov  4 09:11 ..
      drwxr-xr-x 11 www-data www-data 4096 Jul 16 09:59 fog
      
      root@FOGAGH01:~# ls -al /var/www/html/fog/
      total 52
      drwxr-xr-x 11 www-data www-data 4096 Jul 16 09:59 .
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 ..
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 10:00 client
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 commons
      -rw-r--r--  1 www-data www-data 1406 Jul 16 09:59 favicon.ico
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 fogdoc
      -rw-r--r--  1 www-data www-data  278 Jul 16 09:59 index.php
      drwxr-xr-x  9 www-data www-data 4096 Jul 16 09:59 lib
      drwxr-xr-x 10 www-data www-data 4096 Jul 16 09:59 management
      drwxr-xr-x  4 www-data www-data 4096 Jul 16 09:59 mobile
      drwxr-xr-x  4 www-data www-data 4096 Jul 16 09:59 service
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 status
      drwxr-xr-x  3 www-data www-data 4096 Jul 16 09:59 wol
      
      posted in FOG Problems
      S
      Stefan Kaegi
    • RE: [Rev 4201] blank page when trying to install/update database schema

      A mysql password ist set. Here is my .fogsettings file:
      fogsettings

      posted in FOG Problems
      S
      Stefan Kaegi
    • RE: [Rev 4201] blank page when trying to install/update database schema

      After commenting out the wget line the installer run till the end. I didn’t need to change FOGBase.class.php after running the installer. ‘public $debug’ was still set on ‘true’. The Apache Error Log File still looks the same:

      [Tue Nov 03 12:00:04 2015] [error] [client 172.20.60.23] PHP Fatal error:  Call to a member function query() on null in /var/www/html/fog/lib/fog/FOGCore.class.php on line 310
      [Tue Nov 03 12:00:04 2015] [error] [client 172.30.60.49] PHP Fatal error:  Call to a member function query() on null in /var/www/html/fog/lib/fog/FOGCore.class.php on line 310
      [Tue Nov 03 12:00:04 2015] [error] [client 172.20.60.56] PHP Fatal error:  Call to a member function query() on null in /var/www/html/fog/lib/fog/FOGCore.class.php on line 310
      
      posted in FOG Problems
      S
      Stefan Kaegi
    • RE: [Rev 4201] blank page when trying to install/update database schema

      I updated again to Rev 4278 . But the Installer stills stopps at ‘Backing up database’.

      posted in FOG Problems
      S
      Stefan Kaegi
    • RE: [Rev 4201] blank page when trying to install/update database schema

      I don’t see anything on the webinterface. Still a blank page.

      posted in FOG Problems
      S
      Stefan Kaegi
    • RE: [Rev 4201] blank page when trying to install/update database schema

      I changed FOGBase.class.php as you described. Here is my Apache Error Log as it looks now:
      error.log

      posted in FOG Problems
      S
      Stefan Kaegi
    • RE: [Rev 4201] blank page when trying to install/update database schema

      My changed FOGBase.class.php file:
      FOGBase.class.php

      posted in FOG Problems
      S
      Stefan Kaegi
    • RE: [Rev 4201] blank page when trying to install/update database schema

      That’s how I update:

      cd /root/
      svn checkout https://svn.code.sf.net/p/freeghost/code/trunk
      cd trunk/bin/
      ./installfog.sh
      

      How can I see which version my cloud has?
      I updated today to Rev 4270. Seems like I have a new problem now. The Fog Installer stops at the following point:

      ....
       * Enabling apache and fpm services on boot....................OK
       * Creating SSL Certificate....................................OK
       * Creating auth pub key and cert..............................OK
       * Resetting SSL Permissions...................................OK
       * Setting up SSL FOG Server...................................OK
       * Restarting Apache2 for fog vhost............................OK
       * Changing permissions on apache log files....................OK
       * Backing up database.........................................Failed!
      

      I added the line ‘protected $debug = true;’ to my FOGBase.class.php in section ‘abstract class FOGBase’
      Now my Apache error log shows:

      [Mon Nov 02 09:46:50 2015] [error] [client 172.30.34.61] PHP Fatal error:  Cannot redeclare FOGBase::$debug in /var/www/html/fog/lib/fog/FOGBase.class.php on line 5
      [Mon Nov 02 09:46:50 2015] [error] [client 172.20.60.31] PHP Fatal error:  Cannot redeclare FOGBase::$debug in /var/www/html/fog/lib/fog/FOGBase.class.php on line 5
      [Mon Nov 02 09:46:50 2015] [error] [client 172.20.60.31] PHP Fatal error:  Cannot redeclare FOGBase::$debug in /var/www/html/fog/lib/fog/FOGBase.class.php on line 5
      

      Line 5 is where i added the line.

      posted in FOG Problems
      S
      Stefan Kaegi
    • RE: [Rev 4201] blank page when trying to install/update database schema

      I udpated again today. So now I’m on Rev 4244.
      Apache error.log: error.log
      FOGCore.class.php: FOGCore.class.php

      posted in FOG Problems
      S
      Stefan Kaegi