Upgrade version
-
@Jaymes-Driver
I tried with this command : sudo add-apt-repository ppa:ondrej/php
And it works.administrateur@FOG:~$ sudo add-apt-repository ppa:ondrej/php Co-installable PHP versions: PHP 5.6, PHP 7.0, PHP 7.1 and most requested extensions are included. PLEASE DON'T USE PHP 5.4 OR PHP 5.5. The PHP 5.5 and later are no longer supported with security updates, therefore they are not included in this repository. You can get more information about the packages at https://deb.sury.org BUGS&FEATURES: This PPA now has a issue tracker: https://deb.sury.org/#bug-reporting PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/ WARNING: add-apt-repository is broken with non-UTF-8 locales, see https://github.com/oerdnj/deb.sury.org/issues/56 for workaround: # LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php Plus d’info : https://launchpad.net/~ondrej/+archive/ubuntu/php Appuyez sur [ENTRÉE] pour continuer ou Ctrl-C pour annuler l’ajout gpg: le porte-clefs « /tmp/tmp1lgwvjgi/secring.gpg » a été créé gpg: le porte-clefs « /tmp/tmp1lgwvjgi/pubring.gpg » a été créé gpg: demande de la clef E5267A6C sur le serveur hkp keyserver.ubuntu.com gpg: /tmp/tmp1lgwvjgi/trustdb.gpg : base de confiance créée gpg: clef E5267A6C : clef publique « Launchpad PPA for Ondřej Surý » importée gpg: Quantité totale traitée : 1 gpg: importées : 1 (RSA: 1) OK
But after when I try : sudo apt-get install -y php7.0
it does not work.administrateur@FOG:~$ sudo apt-get install -y php7.0 Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait E: Impossible de trouver le paquet php7.0 E: Impossible de trouver de paquet correspondant à l'expression rationnelle « php7.0 »
-
@mimi1255 you will need to issue the following command
sudo apt-get install -y php
drop the 7.0 off the end.
I see the php7.0 repo in the list on his launchpad page, I am not exactly sure why you aren’t able to download that specific repo.
The command I gave you should install php7.1
From what I can tell, all php5.6, 7.0 and 7.1 are housed in the php ppa.
-
@Jaymes-Driver
I removed 7.0 at then end but same problem :administrateur@FOG:~$ sudo apt-get install -y php Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait E: Impossible de trouver le paquet php
-
As I stated earlier, no amount of effort will work as you’re running ubuntu 15, you will need to update your Ubuntu version.
-
@mimi1255 It could be possible that the repos do not work for your
Ubuntu installation.I do not see repositories listed for Vivid Vervet in the ppa list.
I see Xenial, Trusty, Precise, and Yakkety.
Are you opposed to upgrading to 16.04? I use 16.04 in my environment and haven’t run into issues yet (other than issues with my web filter).
-
Do you have a procedure to upgrade ubuntu in the last version ?
Thanks again. -
do-release-upgrade
-
@mimi1255
From command prompt
sudo apt-get update
sudo apt-get install update-manager-core
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo do-release-upgrade -d
If you don’t have much on the server, it might be faster to download 16.04 and install it to your machine.
I upgraded my 10.04 x32 all the way to 16.04 x64… I don’t recommend this, in the end due to all the errors, I just installed from scratch and imported my old images one at a time with a capture task from the new server.
-
@Jaymes-Driver
When I start the last commande “sudo do-release-upgrade” I get an error :
No update found -
@mimi1255 Make sure you run the
sudo apt-get dist-upgrade
commandYou will also need to check/adjust so that the next LTS is downloaded, try this
Check the
/etc/update-manager/release-upgrades
file and change the line
Prompt=normal
to
Prompt=LTS
save and exit.Run the do-release-upgrade command again.
This should upgrade you to 15.10 (depending on your choices in the release-upgrade file) which will allow you a direct upgrade path to 16.04.
-
@Jaymes-Driver
Prompt=LTS is already set up. -
@mimi1255 If the upgrade still fails (because 15.04 is technically EOL) try changing the LTS to Normal instead.
If there are errors, please provide them so that I can assist further, it may be possible that we need to doctor the repo list to include the old versions.
-
@Jaymes-Driver
Hi Jaymes,
I get this error with Prompt=normal:An upgrade from 'vivid' to 'xenial' is not supported with this tool.
Thanks
-
@Jaymes-Driver
If I install a new fog server on ubuntu 16.04. Is it possible to move my old images to the new fog server ?Thanks.
-
@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
- 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
- Copy the images over
cp -r /mnt/* /images
- Wait for the images to complete
- 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.
- 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.
-
@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. -
@mimi1255 well we need to tail the apache error.log to see what its not happy with.
-
@george1421
How can I extract logs ? -
@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
-
@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