FOG on Ubuntu 16.04 (php7)?
-
@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/
) -
@Sebastian-Roth
I see no logs in the bin… Or, am I in the wrong place?root@fog:~/fog_1.2.0/bin# ls -al
total 24
drwxr-xr-x 2 sysadmin sysadmin 4096 May 26 15:05 .
drwxr-xr-x 10 sysadmin sysadmin 4096 Jul 21 2014 …
-rwxr-xr-x 1 sysadmin sysadmin 59 Jun 5 2014 installfog.sh
-rwxr-xr-x 1 sysadmin sysadmin 10154 Jul 7 2014 .install.sh -
Well, we were all talking about FOG trunk (not version 1.2.0)…
-
@Sebastian-Roth Wonderful.
-
Trunk installed without issues.