FOG on Ubuntu 16.04 (php7)?
-
@Tom-Elliott On this note, would it be possible to add something similar for mysql or would it be wiser/simpler to simply fix the issues at hand instead?
-
@Quazz what do you mean?
-
@Tom-Elliott It seems like mysql 5.7 broke a few things, but I’m guessing not enough to bother with this?
-
@Quazz I’ve done what I can with the schema to make the corrections as needed. The only part I haven’t done yet is set the native password to blank for 5.7 yet. As that’s only one step I don’t think it’s too much to do it by hand.
-
@Tom-Elliott Hi,
Can you help me please, im on ubuntu 16.04 server lts , i run the script of FOG but i have the same error that 30000MONKEYS
and when you say edit /lib/ubuntu/config.sh i cant find the folder !
“/lib” exist but “ubuntu” not in the list -
@Tom-Elliott said in FOG on Ubuntu 16.04 (php7)?:
Because it failed, you haven’t successfully installed yet, I think you could run the installer with:
php_ver='7.0' php_verAdds='-7.0' ./installfog.sh -y
Not 100% on the syntax, but should be pretty straight forward. In the case that doesn’t work, you can edit the trunk/lib/ubuntu/config.sh and look for php_ver= and php_verAdds= and make then read as: ‘7.0’ and ‘-7.0’ respectively.
Then rerun the installer and it should all work.
Read the forum.
-
@Blacknutso The /lib folder is relative to the where you downloaded FOG, not in the root location.
-
-
@Blacknutso As Tom already said, you should not need to change the installer. Just run it like this:
php_ver='7.0' php_verAdds='-7.0' ./installfog.sh
-
@Sebastian-Roth i trying you method but it didnt work for me !
always have php5-json…Failed! -
@Blacknutso What do you have in the last 10 lines of the install error log file? fogproject/bin/error_log/…
-
@Blacknutso Please run:
sudo apt-get purge php5* lib*php* -yq
I’m just guessing but this is an upgrade?
If so, please open/edit the /opt/fog/.fogsettings file and remove the line that has packages.
Then re-run the installer.
-
@Sebastian-Roth can you tell me the exact way to find the error_log (sorry iam a beginner)
@Tom-Elliott there is nothing to uninstall when i do the command and still have the error even when i remove the line -
The error log files are in the directory where the installer script is too!
-
@Sebastian-Roth the script installer is in /fog_1.2.0/bin
but in /bin there is just .installfog.sh and install.sh
-
@Blacknutso 1.2.0 doesn’t have the error logs that Sebastian was referring to. You would probably be better off upgrading to fog trunk.
-
I was just able to help a fellow install trunk on Ubuntu 16.
Two bumps in the road, of which the forums and wiki covered. I’ll try to unify some instructions in the Ubuntu Server article.
Basics are exactly what has already been posted in the forums and wiki.
- When you are ready, run the installer with
php_ver='7.0' php_verAdds='-7.0' ./installfog.sh
- When the installer asks you to update the database, there’s 1 extra step. (in another SSH session) Go to mysql and modify the password setting with
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '';
- Then you go to the web interface and update the DB as normal, come back to the installer and complete it as usual.
- When you are ready, run the installer with
-
Just bumping this thread, saying the below first bullet point is the only difference required to setup a Ubuntu 16.04 Storage Node.
-
I have a fresh install of Ubuntu 16.04 and when I run:
php_ver=‘7.0’ php_verAdds=‘-7.0’ ./installfog.sh -y
or just:
./installfrog.sh I get the same error.I also tried adding this to the config file:
php_ver=“7.0”
php_verAdds=“-7.0”
repo=“php” -
@mcj What’s in the error logs? (you find those in the same directory where the installer script is under
fogproject/bin/error_logs/
)