Is it common to leave the mysql password blank?
No you better set a proper mysql root password before installing FOG. We are working on the installer to pilot people to set passwords.
@Lenain I have this on my list but have not found the time to try and reproduce that issue yet.
If you want to see this solved faster I might ask you to try and help. Start by looking at the apache error logs to see if there is anything related in there just after you scheduled a delayed task.
Have you tried different task types? All having an issue? What exactly is happening when you try? Do you see an empty page or an error or what?
So worst case, I re-image all the ones with authentication errors still.
As I said, doing a “Reset Encryption Data” for all your hosts and they should’ve all synced back in. But now that you went the other way round I don’t think it’s still worth it.
However, I noticed during the imaging, the web interface was once again very slow and giving me 503 errors. Completely fine after it finished.
How many clients did you image? Multicast or unicast? This might be interesting to investigate some more but it’s probably not easy to figure out. That said, I have worked on improving “FOG speed” since 1.5.5 was released. So it would be interesting to see if those changes would help in your situation. Take a snapshot of your Hyper-V VM, pull the latest changes from github, checkout
dev-branch and re-run the installer:
cd /path/to/fogproject/ git pull git checkout dev-branch cd bin/ ./installfog.sh -y
This will install PHP version 7.2 as well (CentOS still had PHP 5.6 in FOG version 1.5.5) which speeds up the whole web UI too. So code changes and PHP 7.2 should make a major difference for you.
@okta I just tested and for me WOL is working in each and every case (task with checked WOL, advanced task to wake up and wakeEmUp URL). I always see Magic Packets being sent out. FOG sends a batch of four Magic Packets. See the following picture of a Wireshark packet capture.
When you schedule a normal or WOL task, do you see any errors in the apache error log? See my signature on where you find the logs.
error invalid Login
Can you post a picture of that error? Have you ever logged in (or more important changed the password) of the Linux system account called
grep -A1 -e FTP_PASS -e password /var/www/html/fog/lib/fog/config.class.php /opt/fog/.fogsettings on your FOG server console. It should print a password three times. Don’t post that here, just check if they all match up.
If they do then see if the password really works. Go to another machine within your network (Windows client will do), open a command prompt and try to connect to your server via FTP using that password (I know it’s quite long!):
C:\Windows\System32> ftp 10.113.2.169 Connected to 10.113.2.169. 220 (vsFTPd 3.0.3) Name (10.113.2.169:user): fog 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> quit 221 Goodbye.
I’m wondering if a FOG update would resolve my issues.
Yes it actually might solve your issue. But as we don’t really know what’s exactly wrong it’s just like shooting in darkness. Might help but could cause other issues as well. Let’s see what you get from the stuff posted above and in the other thread and take it from there.
@MoonDancer Ok, I am a bit relieved. From what you where saying at first I thought you might have a very old setup. CentOS 7.5 is fairly new and a good Linux OS.
Don’t run the FOG installer yet. We’ll guide you through that later on.
Possible your FOG server was setup to run in a separated network without internet connection (numbers on the login page not loading). Some people want to have it this way. It is possible but needs some extra work to be done because you cannot install or update FOG without internet connection. To check internet connection please run the following commands on the CentOS server shell:
ip a s ip r s cat /etc/resolv.conf ping -c 3 220.127.116.11 ping -c 3 ix.de
Take a picture and post here.
In the pictures I also see you have FOG version 1.5.4 - it’s printed in the lower right corner, when you are logged in to the web UI as well.
@Reagan Well now I know what’s going on. Thanks for posting the picture of the log. The installer doesn’t finish and so never gets to copy the new web interface stuff. to /var/www/html/fog. So no wonder you were always stuck with 1.5.4!!!
Did you notice it stopped on “Setting up fog password … Failed!”?? Please take a look at the installer error_log directory. There should be a second text file with detailed installer output. Copy and paste that (or at least the last 20 lines of it) to the forums. I can’t imagine why it would fail at that point.
@MoonDancer Image upload seems to be broken, please upload to imur or some other pic sharing service and post links here.
Is it just one image showing the “Unable to locate image store” error? Have you tried all the other images? Can you re-capture that one image that is broken?
My Fog Server is on a Unix box, and I’m not savvy with Unix, I’m also not familiar with using the terminal.
I am afraid you need to get your hands dirty and dive into it. There is no way around if you want to solve those issues. Start reading about Linux terminal commands and best to setup a system (virtual machine) to play with so you don’t break you FOG server too often.