Updating Fog from 1.4.4 to 1.5.2 or 1.5.3 = fail on EL 6.9
-
If I fail to find a solution today I will revert to 1.4.4 for now.
-
@lepage said in Updating Fog from 1.4.4 to 1.5.2 or 1.5.3 = fail:
OS is Scientific Linux 6.9 updated.
Scientific Linux is not officially supported. See the link in my signature for what the installer currently works for.
-
Scientific Linux is the exact same as CentOS 6.9. Binary, source& config compatible… it’s the source from Red Hat EL6.9… there is also the fact that is was working for years.
@wayne-workman unless you mean that CentOS 6x and EL 6x altogether is also not supported by fog 1.5.x and from your link this is what I understand.
in that case FOG should not offer that update or the readme should, maybe mention it.
-
@lepage Centos 6.x has an issue with the newer php-fpm engine. You will need to switch back to the apache-php engine to install fog 1.5.2 or later on centos 6.9
-
@lepage I’ve never tested on SL though it should work. Can you please ensure remi repository is installed and verify your php version?
-
You will need to do this by hand,
cd /etc/httpd
- We are looking for a file that contains this text
grep -R -e "127.0.0.1:9000" *
- Once you locate that file open it with your editor.
- Search for these lines
#SetHandler application/x-httpd-php SetHandler "proxy:fcgi://127.0.0.1:9000"
- Uncomment the first line and then place the comment (hash tag) in front of the other line to make them look like this:
SetHandler application/x-httpd-php #SetHandler "proxy:fcgi://127.0.0.1:9000"
- Save and exit your editor.
- Restart apache
service httpd restart
- Now try to go to the management page.
-
@Developers we may need to have the FOG installer bypass setting up php-fpm on RHEL 6 derivative operating systems. I was able to help the OP get his install up and running using the reversing steps below.
-
@george1421 I’ve added a check to the working branch that will check if Redhat and if OS Version is < 7. If so, it will set the handler to the application/x-httpd-php, otherwise set as FPM. Mind testing it for me at all? (Anybody can do it, I don’t have a CentOS 6 or earlier to test with myself right now.)
-
@tom-elliott Thank you for the quick response. It looks like I wiped my centos 6 vm, but I can spin up a new one and confirm its working.
Also the OP mentioned that the new UI on his mobile running chromium under android gave a strange web page. I need to find my android tablet to see what’s up with that.
-
@tom-elliott I am willing to try I am already at 1.5.3 on SL69…
so writing with george1421… I issued those commands.:
git clone https://github.com/FOGProject/fogproject.git
cd fogproject
git checkout working
cd bin
[root@fog:/opt/fogproject/bin ]% ./installfog.sh
installing…Yes. it is working !
file /etc/httpd/conf.d/fog.conf was rewritten correctly.then I switched back to the master
git checkout master
thank you all.