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

Upgrade version

Scheduled Pinned Locked Moved Unsolved
FOG Problems
6
52
18.6k
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.
  • G
    george1421 Moderator @mimi1255
    last edited by george1421 Feb 15, 2017, 4:58 AM Feb 15, 2017, 10:57 AM

    @mimi1255 Sure you can move/copy your images. all you need to do is mount the /images share from your old FOG server onto your new fog server and copy the files over. I would imagine the commands would look similar to this.

    On new fog server

    1. Mount the /images nfs share on old fog server over the /mnt directory on new fog server. This isn’t 100% best practices but it will get the job done for us.
      mount -t nfs <old_fog_IP>:/images /mnt
    2. Copy the images over
      cp -r /mnt/* /images
    3. Wait for the images to complete
    4. Unmount the share
      umount /mnt

    The next part you need to manually copy your image definitions from the old fog server webgui to new fog server web gui.

    Just remember with FOG there are the physical files in /images that need to be moved and then you need to update the fog database (via the web gui) to define the images you moved in /images.

    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!

    M 2 Replies Last reply Feb 15, 2017, 5:54 PM Reply Quote 1
    • M
      mimi1255 @george1421
      last edited by mimi1255 Feb 15, 2017, 11:55 AM Feb 15, 2017, 5:54 PM

      @george1421
      Thank your for your reply. I installed a new ubuntu (16.04) and I installed fog 1.3.4. No problem when I installed fog.
      But in my web browser http://ipAddress/fog I get a white webpage. Do you know why ? I restarted the server, I restarted apache2 and mysql services but same problem.
      Thanks for your help again.

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

        @mimi1255 well we need to tail the apache error.log to see what its not happy with.

        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!

        M 1 Reply Last reply Feb 15, 2017, 6:01 PM Reply Quote 0
        • M
          mimi1255 @george1421
          last edited by Feb 15, 2017, 6:01 PM

          @george1421
          How can I extract logs ?

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

            @mimi1255 I’m a rhel guy, so I don’t know the exact location of the error.log file. I think for ubuntu its in /etc (somewhere) you can use the following command to find it find /etc -name 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!

            M 1 Reply Last reply Feb 15, 2017, 6:12 PM Reply Quote 0
            • M
              mimi1255 @george1421
              last edited by Feb 15, 2017, 6:12 PM

              @george1421 Below a part of my logs:

              [Wed Feb 15 11:42:55.652570 2017] [mpm_event:notice] [pid 6786:tid 140578391377792] AH00489: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations
              [Wed Feb 15 11:42:55.652648 2017] [core:notice] [pid 6786:tid 140578391377792] AH00094: Command line: '/usr/sbin/apache2'
              [Wed Feb 15 11:43:31.371649 2017] [mpm_event:notice] [pid 6786:tid 140578391377792] AH00491: caught SIGTERM, shutting down
              [Wed Feb 15 11:43:31.419759 2017] [mpm_prefork:notice] [pid 15867] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations
              [Wed Feb 15 11:43:31.419819 2017] [core:notice] [pid 15867] AH00094: Command line: '/usr/sbin/apache2'
              [Wed Feb 15 11:43:31.817333 2017] [mpm_prefork:notice] [pid 15867] AH00169: caught SIGTERM, shutting down
              [Wed Feb 15 11:43:31.913083 2017] [mpm_prefork:notice] [pid 15941] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations
              [Wed Feb 15 11:43:31.913130 2017] [core:notice] [pid 15941] AH00094: Command line: '/usr/sbin/apache2'
              [Wed Feb 15 11:53:11.288322 2017] [mpm_prefork:notice] [pid 15941] AH00169: caught SIGTERM, shutting down
              [Wed Feb 15 11:54:43.988713 2017] [mpm_prefork:notice] [pid 18292] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations
              [Wed Feb 15 11:54:43.988768 2017] [core:notice] [pid 18292] AH00094: Command line: '/usr/sbin/apache2'
              [Wed Feb 15 11:56:24.225284 2017] [php7:error] [pid 18299] [client 192.168.8.207:54760] 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
              [Wed Feb 15 11:57:01.459105 2017] [php7:error] [pid 18298] [client 192.168.7.41:60236] 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/maintenance/create_update_node.php(24): require('/var/www/fog/co...')\n#9 {main}\n  thrown in /var/www/fog/lib/db/pdodb.class.php on line 412
              [Wed Feb 15 11:57:13.152714 2017] [php7:error] [pid 18297] [client 192.168.8.207:54778] 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
              [Wed Feb 15 11:57:14.604934 2017] [php7:error] [pid 18299] [client 192.168.8.207:54779] 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
              [Wed Feb 15 11:57:20.570680 2017] [php7:error] [pid 18296] [client 192.168.8.207:54782] 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
              [Wed Feb 15 11:57:37.372009 2017] [php7:error] [pid 18298] [client 127.0.0.1:46834] 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
              [Wed Feb 15 11:57:52.335475 2017] [php7:error] [pid 18296] [client 192.168.8.207:54810] 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
              [Wed Feb 15 11:57:55.340812 2017] [php7:error] [pid 18298] [client 192.168.8.207:54816] 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
              [Wed Feb 15 11:58:36.668744 2017] [php7:error] [pid 18297] [client 192.168.7.41:60244] 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
              [Wed Feb 15 11:58:43.404016 2017] [mpm_prefork:notice] [pid 18292] AH00169: caught SIGTERM, shutting down
              [Wed Feb 15 12:00:26.425000 2017] [mpm_prefork:notice] [pid 1131] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations
              [Wed Feb 15 12:00:26.425887 2017] [core:notice] [pid 1131] AH00094: Command line: '/usr/sbin/apache2'
              [Wed Feb 15 12:01:43.592635 2017] [php7:error] [pid 1331] [client 192.168.8.207:54915] 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
              [Wed Feb 15 12:01:48.625639 2017] [php7:error] [pid 1332] [client 192.168.8.207:54926] 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
              [Wed Feb 15 12:02:35.649318 2017] [php7:error] [pid 1333] [client 192.168.8.207:55007] 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
              [Wed Feb 15 12:09:07.452862 2017] [mpm_prefork:notice] [pid 1131] AH00169: caught SIGTERM, shutting down
              [Wed Feb 15 12:09:07.577681 2017] [mpm_prefork:notice] [pid 2388] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations
              [Wed Feb 15 12:09:07.577734 2017] [core:notice] [pid 2388] AH00094: Command line: '/usr/sbin/apache2'
              [Wed Feb 15 12:09:16.035030 2017] [php7:error] [pid 2389] [client 192.168.8.207:55206] 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
              [Wed Feb 15 12:09:16.789984 2017] [php7:error] [pid 2390] [client 192.168.8.207:55207] 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
              [Wed Feb 15 12:09:43.362372 2017] [mpm_prefork:notice] [pid 2388] AH00169: caught SIGTERM, shutting down
              [Wed Feb 15 12:09:43.485791 2017] [mpm_prefork:notice] [pid 2466] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations
              [Wed Feb 15 12:09:43.485841 2017] [core:notice] [pid 2466] AH00094: Command line: '/usr/sbin/apache2'
              [Wed Feb 15 12:09:48.767037 2017] [php7:error] [pid 2467] [client 192.168.8.207:55218] 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
              [Wed Feb 15 12:10:08.690052 2017] [php7:error] [pid 2469] [client 192.168.8.207:55225] 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
              [Wed Feb 15 12:10:11.230834 2017] [php7:error] [pid 2470] [client 192.168.8.207:55226] 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
              
              
              G 1 Reply Last reply Feb 15, 2017, 6:16 PM Reply Quote 0
              • G
                george1421 Moderator @mimi1255
                last edited by Feb 15, 2017, 6:16 PM

                @mimi1255 Well I can tell that error is above my pay grade.

                We’ll need one of the @Developers to take a look at that log. It look like a library wasn’t installed correctly. But I can’t be sure.

                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!

                M 1 Reply Last reply Feb 15, 2017, 6:16 PM Reply Quote 0
                • M
                  mimi1255 @george1421
                  last edited by Feb 15, 2017, 6:16 PM

                  @george1421 Thank you for your help

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Feb 15, 2017, 7:12 PM

                    Please install the RC’s preferrably the 6th one.

                    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

                    M 1 Reply Last reply Feb 15, 2017, 8:30 PM Reply Quote 0
                    • M
                      mimi1255 @Tom Elliott
                      last edited by Feb 15, 2017, 8:30 PM

                      @Tom-Elliott I installed the kernel 4.9.0.15-generic, is it right ?

                      Thanks

                      G J 2 Replies Last reply Feb 15, 2017, 8:32 PM Reply Quote 0
                      • G
                        george1421 Moderator @mimi1255
                        last edited by george1421 Feb 15, 2017, 2:33 PM Feb 15, 2017, 8:32 PM

                        @mimi1255 No what Tom recommended is that you upgrade FOG to the RC release. Using this process

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

                        The git checkout dev-branch will put you at the latest dev release.

                        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!

                        M 1 Reply Last reply Feb 15, 2017, 9:10 PM Reply Quote 0
                        • J
                          Jaymes Driver Developer @mimi1255
                          last edited by Jaymes Driver Feb 15, 2017, 2:35 PM Feb 15, 2017, 8:35 PM

                          @mimi1255 George beat me to it!

                          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                          1 Reply Last reply Reply Quote 0
                          • M
                            mimi1255 @george1421
                            last edited by Feb 15, 2017, 9:10 PM

                            @george1421 Now it works ! Perfect ! Tomorrow I will try to move my old images to the new fog server.
                            Thanks.

                            1 Reply Last reply Reply Quote 0
                            • M
                              mimi1255 @george1421
                              last edited by Feb 16, 2017, 8:40 AM

                              @george1421 said in Upgrade version:

                              Just remember with FOG there are the physical files in /images that need to be moved and then you need to update the fog database (via the web gui) to define the images you moved in /images.

                              I moved images to the new server in the /images.
                              But now how can I do to update the fog database via the web gui ?

                              Thanks.

                              G 1 Reply Last reply Feb 16, 2017, 11:00 AM Reply Quote 0
                              • G
                                george1421 Moderator @mimi1255
                                last edited by Feb 16, 2017, 11:00 AM

                                @mimi1255 This part of the process is a bit labor intensive.

                                1. Go into image management and create new image
                                2. Set the image name to match the directory name of the first image in /images (hint: use cut and paste if you are connected to the fog server using putty to ensure you get name exact)
                                3. Set the storage group
                                4. Operating system to match the image on disk
                                5. The image path should match what you keyed in as the image name.
                                6. The next one is going to be the tricky one. You need to set the image type to match (exactly) what was captured. Migrating from 1.2.0 you probably used single disk non-resizable.
                                7. Partitions: everything
                                8. And for compression leave it at 6

                                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!

                                M 1 Reply Last reply Feb 16, 2017, 12:46 PM Reply Quote 0
                                • M
                                  mimi1255 @george1421
                                  last edited by Feb 16, 2017, 12:46 PM

                                  @george1421
                                  I followed your message.

                                  But is it normal that the Image size is 0 ?

                                  0_1487249197871_16-02-2017 13-44-35.jpg
                                  Thanks.

                                  G 1 Reply Last reply Feb 16, 2017, 1:14 PM Reply Quote 0
                                  • G
                                    george1421 Moderator @mimi1255
                                    last edited by Feb 16, 2017, 1:14 PM

                                    @mimi1255 Yes and no.

                                    That number is entered by the FOS engine as it captures the image. Since you “side loaded” the images into the fog server that value will be zero. No worries its just an informational value. The system will deploy without issue.

                                    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!

                                    M 1 Reply Last reply Feb 16, 2017, 1:18 PM Reply Quote 0
                                    • M
                                      mimi1255 @george1421
                                      last edited by Feb 16, 2017, 1:18 PM

                                      @george1421 Sorry, I have a problem…
                                      0_1487251101874_IMG_1139.JPG

                                      G 1 Reply Last reply Feb 16, 2017, 1:21 PM Reply Quote 0
                                      • G
                                        george1421 Moderator @mimi1255
                                        last edited by Feb 16, 2017, 1:21 PM

                                        @mimi1255 Was this image originally captured with a pre 1.2.0 version of FOG?

                                        Also could you post the results of this command? ls -la /images/DellLatitudeE6320model What I’m thinking is the image format may be the older style. We can fix this, I just need to be sure. We “may” also have to get a developer to look at this since I don’t remember the older version of fog anymore.

                                        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!

                                        M 1 Reply Last reply Feb 16, 2017, 1:29 PM Reply Quote 0
                                        • M
                                          mimi1255 @george1421
                                          last edited by Feb 16, 2017, 1:29 PM

                                          @george1421 Below the result:
                                          administrateur@SRVFOG:/images$ ls -la /images/DellLatitudeE6320model
                                          total 3172580
                                          drwxrwxrwx 2 administrateur administrateur 4096 févr. 16 08:23 .
                                          drwxrwxrwx 14 root root 4096 févr. 16 09:19 …
                                          -rwxrwxrwx 1 administrateur administrateur 2 févr. 16 08:23 d1.fixed_size_partitions
                                          -rwxrwxrwx 1 administrateur administrateur 15 févr. 16 08:23 d1.original.fstypes
                                          -rwxrwxrwx 1 administrateur administrateur 259 févr. 16 08:23 d1.original.partitions
                                          -rwxrwxrwx 1 administrateur administrateur 0 févr. 16 08:23 d1.original.swapuuids
                                          -rwxrwxrwx 1 administrateur administrateur 8673377 févr. 16 08:23 rec.img.000
                                          -rwxrwxrwx 1 administrateur administrateur 3240019543 févr. 16 08:24 sys.img.000

                                          G 1 Reply Last reply Feb 16, 2017, 1:33 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            34/52
                                            Last post

                                          157

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project