Fresh Install of FOG 1.3.4 on Ubuntu 16.04 LTS
-
@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.
-
@Wayne-Workman so I went ahead and upgraded everything (Fog 1.3.x, Ubuntu 16.04) fresh install. I’m receiving a 500 error.
-
@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
-
@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 -
@shoong Can you please install the dev-branch?
git checkout dev-branch cd bin ./installfog.sh -y
-
@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
-
@shoong I don’t know where your repository is.
-
@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
-
git clone https://github.com/fogproject/fogproject.git cd fogproject git checkout dev-branch cd bin ./installfog.sh -y
-
@Tom-Elliott i’m in business! what was the issue?
-
@shoong I don’t know. I just know there’s been more work for 1.3.5 than my focusing on 1.3.4.
-
@Tom-Elliott thanks for the quick resolution
-
I have the exact same issue, but I can’t understand this thread and how it was resolved.
Idiot guide please ? -
@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.
-
@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/3I’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…
-
@philmills bmon shows that there’s next to no traffic on eth0. Makes no sense…
-
@philmills Does your computer have direct access to the internet or is it proxied?
-
@george1421 No proxy. I attached tracert to github, assuming the script downdloads from there. Seems there’s a timeout issue reaching github at the moment:
-
@george1421 finally its come alive again :), it literally was way over 30 mins stuck.
GLAD ALSO TO ANNOUNCE - FOG IS NOW WORKING
-
@philmills Interesting. AFAIK the inits and kernels are downloaded from the fog project servers (but that is only a guess). I have this url in my notes: https://fogproject.org/kernels/bzImage32