Data Schema Installer/Updater Error
-
I am having a problem. I set up Fog and the first time getting into the management console I had no problem. Clicked install and upgrade database now and logged right in. After about 15 minutes I click on something and it sent me back to that Data Schema installer/Updater. I click install and upgrade again and get an error message. I have to restart the server and then I can log in like normal again for about 15 minutes and it does it again. I checked my fog server and I have a fogbackup.sql created. I am not sure what is going on. Any help is appreciated.
-
@ddesabatine For problems like this, we need more information. What linux distribution and version are you using? What version of FOG are you using?
-
I am using Ubuntu 14.0.4 LTS and I am using fog 1.2.0
-
One time after a restart I did get a little more time then normal. It almost seemed to be working fine. Then I uploaded a snapin and restarted the server then started having problems again.
-
@ddesabatine 1.2.0 probably doesn’t run so good on Ubuntu 14.04
You’re having database issues. Something is causing the DB to crash, and I think it’s due to it using the local loopback address.
This is fixed in the current FOG Trunk versions. Since this is a brand new build, I would highly recommend moving to FOG Trunk: https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk
-
Ok I see there are 4 different methods to upgrade to trunk. Which is the best one I should pick?
-
@ddesabatine This : https://wiki.fogproject.org/wiki/index.php/SVN#Install_Subversion_2
Tested on Ubuntu 14.04.
-
ok I will give it a try and post back whether it works or not.
-
Ok I did it exactly step by step and everything was going great. Until I got to sudo ./installfog.sh. At installing package: php5-mcrypt It failed.
-
@ddesabatine
sudo apt-get update; apt-get dist-upgrade --force-yes
-
running that command. Do I install the package maintainer’s version?
-
or keep currently installed version?
-
@ddesabatine probably install… those commands are meant to replace/update stuff… so if I had to guess, yeah replace all that stuff.
-
ok I chose no but I will redo it and choose yes
-
ok I reran that command and I am not getting the option to install or leave current install. It just says 0 upgraded 0 newly installed 0 to remove and 0 not upgraded.
I reran that other command as well and still get the php5 failed. -
@ddesabatine said:
apt-get install -y php5-mcrypt
-
ok that seemed to work. Now I am having a few things fail after that. I am just using that command and modifying for each thing that fails and it seems to be working. I just have to rerun it everytime I run that command to make it install manually.
-
apt-get install apache2 php5 php5-json php5-cli php5-curl mysql-client nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 lftp php-gettext php5-mysqlnd curl libc6 libcurl3 zlib1g php5-fpm
-
I am sure that would have worked. Those are all the ones I have an error with. I just did them one at a time. It is now done installling and my version says fog 3709. I will give this a try for a while and see if I have any problems with that again. I should know soon.
-
It is still going strong. I thank you Wayne and ch3i. I hope someone see this and helps many others. I couldn’t have done it without you.