Can't login to FOG web Interface
-
@george1421 said in Can't login to FOG web Interface:
Check the apache error log to see if there are any errors thrown. The upgrade should not touch the login credentials for the web gui.
If by chance you are talking about the linux console user
fog
, then you have problems.Good news and bad news! I can log in now, but it seems like the server is awful slow. I mean real slow. When I brows between the tab such as dashboard, user, host etc. The loading time is very slow.
FYI: my nodes are version 1.4.4.
-
Mind trying the working-1.5.1 branch?
I’ve made a lot of headway in performance issues from 1.5.0 that I think is now addressed in 1.5.1, but need more people to test live to ensure the fixes are indeed working as expected.
You would cd to where your current git environment is. Then you do:
git checkout working-1.5.1 git pull cd bin ./installfog.sh -y
(changing installfog.sh with your normally run arguments if you have any differences.)
-
@tom-elliott said in Can't login to FOG web Interface:
You would cd to where your current git environment is. Then you do:
Hi Tom,
When asks to change the directory to Git environment, do you mean where the fog installation file is located? Sorry, I am not very familiar with Git. I am using CentOS 7.4 -
@msi said in Can't login to FOG web Interface:
When asks to change the directory to Git environment, do you mean where the fog installation file is located?
Yes. Typically it’s at
/root/fogproject
or/root/git/fogproject
if you’ve followed instructions from the wiki. -
@msi said in Can't login to FOG web Interface:
Sorry, I am not very familiar with Git.
How did you install FOG if not using GIT?
-
Any resolution to this issue. Even I am not able to login, and GUI is very very slow.
-
@farooq-hussain-m There is a bug in 1.5.0 that will be fixed in 1.5.1, which I hear will be released soon (maybe early april). There is a way to install a pre-release version of 1.5.1, if you can’t wait until april. Tom provided instructions below on how to switch your git repository to the “working” branch.
-
@sebastian-roth said in Can't login to FOG web Interface:
How did you install FOG if not using GIT?
I downloaded the tar file to unzip it to run ./installfog.sh
@Wayne-Workman it looks like I have neither directory. May be because i didn’t install it using git?
-
@msi You can use git like this: https://wiki.fogproject.org/wiki/index.php?title=Getting_FOG
When you switch branches, use the branch in Tom’s post, which is
working-1.5.1
The article covers switching branches. -
@wayne-workman @Tom-Elliott not sure if I followed the procedure correctly. After following below procedure, I have 1.5.0.32 (not 1.5.1). Still, takes long time to authenticate while login to the web console. Also, some menu item at the top bar such as dashboard, storage, and configuration are still taking long time to load or refresh.
[root@caor-fogmain ~]#sudo -i [root@caor-fogmain ~]#yum -y install git [root@caor-fogmain ~]# sudo -i [root@caor-fogmain ~]# cd /root [root@caor-fogmain ~]# git clone https://github.com/FOGProject/fogproject.git [root@caor-fogmain fogproject]# git checkout working-1.5.1 Branch working-1.5.1 set up to track remote branch working-1.5.1 from origin. Switched to a new branch 'working-1.5.1' [root@caor-fogmain fogproject]# git pull Already up-to-date. [root@caor-fogmain fogproject]# cd bin/ [root@caor-fogmain bin]# ./installfog.sh -y
-
@msi Looks like you did everything correctly to me. Just because the version says 1.5.0.32 doesn’t really mean anything. Tom created this branch as a way for people to get stable-ish code that fixes a specific problem, he may not have bothered updating the version label for the GUI.
-
@msi working means it’s a work in progress. So the version is 32 commits ahead of what 1.5.0 was released at.
You seem to have a lot of storage nodes. I’m guessing your delay/sluggishness is about 1 second per storage node, which I haven’t counted, but guess is about 20 seconds or so?
-
@tom-elliott You’re right. What about delay login?
-
@msi when you login guess what page it automatically takes you too?
-
@msi In other words, disable graphing for all your storage nodes.
-
@tom-elliott said in Can't login to FOG web Interface:
@msi when you login guess what page it automatically takes you too?
Hi,
Make sense… Please close the discussion with satisfaction. Just to recap, below solved the problem for now. Hopefully, newer version will solve all the problem, including delays.
@msi said in Can't login to FOG web Interface:[root@caor-fogmain ~]#sudo -i [root@caor-fogmain ~]#yum -y install git [root@caor-fogmain ~]# sudo -i [root@caor-fogmain ~]# cd /root [root@caor-fogmain ~]# git clone https://github.com/FOGProject/fogproject.git [root@caor-fogmain ~]# cd fogproject/ [root@caor-fogmain fogproject]# git checkout working-1.5.1 Branch working-1.5.1 set up to track remote branch working-1.5.1 from origin. Switched to a new branch 'working-1.5.1' [root@caor-fogmain fogproject]# git pull Already up-to-date. [root@caor-fogmain fogproject]# cd bin/ [root@caor-fogmain bin]# ./installfog.sh -y