fogserver changed ip, now cant login
-
@Sebastian-Roth it seems very similar to this
https://forums.fogproject.org/topic/11581/slow-webinterface-after-update-to-1-5-0all are 1.5.4 though, only installed 5 days ago, registered 3 clients and captured 3 images.
-
@p4cm4n Don’t have much of an idea yet. Can you try accessIng the web UI using different browsers and doing so from different machines. Makes a difference?
Do you know how to use browser developer tools to look at the traffic? In Firefox hit F12 to open the Tools and switch to the network tab. Now reload the page and see where exactly it hangs. Take a screenshot and post here.
-
Have you seen this tool? https://github.com/FOGProject/fog-community-scripts/tree/master/updateIP
-
@Wayne-Workman never before. i’ll check it out - thanks.
the makefogmobile project would help me out probably too (for little one and done labs here and there)
Thanks for that!i’ll see if it helps my current issue. if not i’ll just reinstall them all.
-
@p4cm4n said:
i’ll see if it helps my current issue. if not i’ll just reinstall them all.
Feel free to do a reinstall but from my humble opinion we’d all learn more from trying to find out what’s causing the slow web UI response and fix it.
-
@Sebastian-Roth i’m more than willing to troubleshoot - didn’t want to waste your guy’s time.
considering I will be going through this exact process (maybe with less than 5 storage nodes per site however) about 12 times at the different schools i will be maintaining, i’m all for fixing.
i have opened up both SSH and web gui to the outside, and am available to be pointed in whichever direction.
further troubleshooting from me, i pulled up chrome inspector on the site locally and saw that scripts were taking a long time, along with something else which i forget at the moment. -
@p4cm4n said in fogserver changed ip, now cant login:
i have opened up both SSH and web gui to the outside
Wouldn’t do that. We can join you in a Teamviewer session on notice. Will you be around in the next hours? I can try to squeeze in a short session. Contact me on chat here in the forums.
-
@Sebastian-Roth only reason i did that was because i wasn’t on site.
sorry though, wasn’t available because someone in my company decided to do some vlan changing without letting anyone know/testing.
i’ll be available whenever probably, i’ll check in. -
@p4cm4n the reason ended up being that in config.class.php the page still had database_host as the old IP address
my thanks go out to sebastian who helped me out with this -
For future readers, the updateIP tool also covers updating the config.class.php file.
-
@Wayne-Workman perfect chance to ask - will updateip tool, or makefogmobile both work on storage nodes as well?
-
@p4cm4n In the case of storage nodes, the fog server that hosts the database has to be updated with the remote node’s new IP address. So to answer your question, No. Though since the database credentials are present on the storage node, some alterations to the scripts could make this possible.