Issues after upgrading to 16.04
-
@Tom I think if you disable IPv6 it will work. Sorry for the late reply, been under the weather lately.
-
@Wayne-Workman I hope you’re feeling better.
This is the current status:
Had Ubuntu 14.04 up to date with FOG 1.3 RC-10. Upgraded to 16.04.
Disabled IPv6 - did not resolve the issue.
Ran fog install - Apache 2 failed to start and console not coming up.
so, no change.Thanks,
Tom
-
@Tom what is the output of
ip addr show
? -
FYI Purge didn’t work for me. just reporting back. Don’t want to hijack the thread so I’m just going to watch and see what we find out.
-
I think it has something to do with Ubuntu 14 was php5 and 16 is php7 and ubuntu will not let you install php5 on 16.04. Just a Thought.
-
@Wayne-Workman Posted it yesterday, it’s below.
-
Run :
rm -rf '/etc/apache*' '/etc/php*' apt-get purge 'lib*php*' 'php*' 'apache*'
Then rerun the installer
-
@Tom and I asked for it again to see if IPv6 is really disabled or not. Several times I’ve been told “It’s turned off” yet it was not, hope you understand.
-
@Wayne-Workman Wayne, is this what you are talking about? Editing the sysctl.conf?
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1I have ran this on my setup and still have the same issue. Here is a good article on doing this.
lDisable Ipv6If you have any other ideas to things to try, I will be glad to do them. I can respond with whatever you need. I just didn’t want to intrude on the other persons issues.
-
@Tom-Elliott I did this Tom. Same result. Just to inform you of What I have done.
-
Try to access the fog db from the command line, see if it works or not:
mysql -D fog
Earlier I got an error about this, and re-running the installer fixed it - which I guess will just break later again. @Tom-Elliott I believe is aware of that issue.
-
@Tom-Elliott Thank you, it seems that apache2 is running now. But, when trying to access the console, it seems like DB issue.
Also, while the installer was running, I noticed that PHP5 is not exist.Thanks,
Tom
-
@Wayne-Workman Sorry, I must have misunderstood. Here is the ip
I followed the instructions from HEREmysql -D fog - Did not resolve the issue.
Thanks,
Tom
-
@Tom said in Issues after upgrading to 16.04:
mysql -D fog - Did not resolve the issue.
It’s not supposed to resolve it, it’s a command that will produce a particular error if there is a particular issue present. I was just asking if you get an error or not when you run that.
-
@Tom said in Issues after upgrading to 16.04:
@Tom-Elliott Thank you, it seems that apache2 is running now. But, when trying to access the console, it seems like DB issue.
Also, while the installer was running, I noticed that PHP5 is not exist.Thanks,
Tom
It should automatically install php7 on Ubuntu 16.04 as of the latest FOG. Unless it’s being instructed otherwise (in which case it will fail on ubuntu 16.04).
Check /opt/fog/.fogsettings for
php_ver='' php_verAdds=''
If they have values (eg 5 or something) try deleting the variables. Let the installer figure it out.
-
@Wayne-Workman No errors when running mysql -D fog
-
@Wayne-Workman Mine goes straight to the mysql prompt Wayne. No error seen on my end.
-
@Quazz I cannot find fogsettings. can you be more specific how to verify php version?
Thanks,Tom
-
@Tom I’m thinking that since the install didnt finish, the settings file will not be created. Am I right @Wayne-Workman @Tom-Elliott
-