FOG 1.5.4 Client Management page
-
@probbier Please tell us more about which files exactly you edit! Give full paths…
-
@Sebastian-Roth
Webpage for client is “/var/www/fog/lib/pages/clientmanagementpage.class.php”
I’ve also attempted to update the download.php located in /var/www/fog/client in order to link our executables to the web link on client webpage. When I click on my links it opens a blank webpage instead of the .exe or .zip. I can send the files but will not post on public. Is there a way I can send them private? -
@probbier Please run
ls -al /var/www/ ; ls -al /var/www/html/ ; ls -al /var/www/fog/ ; ls -al /var/www/html/fog/
and post the full output here! -
pc@pc:
~/Downloads/fogproject-1.5.5/bin$ ls -al /var/www/ total 16 drwxr-xr-x 4 root root 4096 Jan 3 2018 . drwxr-xr-x 15 root root 4096 Jan 3 2018 .. drwxr-xr-x 11 www-data www-data 4096 Jan 4 2018 fog drwxr-xr-x 3 root root 4096 Apr 29 14:14 html pc@pc:~/Downloads/fogproject-1.5.5/bin$ ls -al /var/www/html/ total 24 drwxr-xr-x 3 root root 4096 Apr 29 14:14 . drwxr-xr-x 4 root root 4096 Jan 3 2018 .. drwxr-xr-x 10 www-data www-data 4096 Apr 29 14:16 fog -rw-r--r-- 1 root root 10701 Apr 8 10:32 index.html pc@pc:~/Downloads/fogproject-1.5.5/bin$ ls -al /var/www/fog/ total 412 drwxr-xr-x 11 www-data www-data 4096 Jan 4 2018 . drwxr-xr-x 4 root root 4096 Jan 3 2018 .. drwxr-xr-x 2 www-data www-data 4096 Jan 3 2018 api drwxr-xr-x 5 www-data www-data 4096 Apr 29 12:21 client drwxr-xr-x 2 www-data www-data 4096 Jan 3 2018 commons -rwxr-xr-x 1 www-data www-data 370070 Jan 3 2018 favicon.ico lrwxrwxrwx 1 www-data www-data 13 Jan 3 2018 fog -> /var/www/fog/ drwxr-xr-x 2 www-data www-data 4096 Jan 3 2018 fogdoc -rwxr-xr-x 1 www-data www-data 572 Jan 3 2018 index.php drwxr-xr-x 13 www-data www-data 4096 Jan 3 2018 lib drwxr-xr-x 10 www-data www-data 4096 Jan 3 2018 management drwxr-xr-x 3 www-data www-data 4096 Jan 3 2018 mobile drwxr-xr-x 3 www-data www-data 4096 Jan 3 2018 service drwxr-xr-x 2 www-data www-data 4096 Jan 3 2018 status pc@pc:~/Downloads/fogproject-1.5.5/bin$ ls -al /var/www/html/fog/ total 408 drwxr-xr-x 10 www-data www-data 4096 Apr 29 14:16 . drwxr-xr-x 3 root root 4096 Apr 29 14:14 .. drwxr-xr-x 2 www-data www-data 4096 Apr 29 14:14 api drwxr-xr-x 2 www-data www-data 4096 Apr 29 14:14 client drwxr-xr-x 2 www-data www-data 4096 Apr 29 14:14 commons -rw-r--r-- 1 www-data www-data 370070 Apr 29 14:14 favicon.ico lrwxrwxrwx 1 www-data www-data 18 Apr 29 14:14 fog -> /var/www/html/fog/ drwxr-xr-x 2 www-data www-data 4096 Apr 29 14:14 fogdoc -rw-r--r-- 1 www-data www-data 572 Apr 29 14:14 index.php drwxr-xr-x 13 www-data www-data 4096 Apr 29 14:14 lib drwxr-xr-x 10 www-data www-data 4096 Apr 29 14:14 management drwxr-xr-x 3 www-data www-data 4096 Apr 29 14:14 service drwxr-xr-x 2 www-data www-data 4096 Apr 29 14:14 status
-
@probbier Kind of what I expected to see. You seem to have two versions of the web UI installed on your server. One in
/var/www/fog
and the other one in/var/www/html/fog
. In a normal installation/var/www/fog
is just a link to/var/www/html/fog
but this does not seem to be the case on your server.From the dates we see that the most current version is probably installed in
/var/www/html/fog
as it should be. I’d advise you to move that other one out of the way and re-create the link as it is intended:sudo su - mv /var/www/fog/ /root/fog_backup_old_webdir ln -s /var/www/html/fog/ /var/www/fog
After that you will be editing the same files again no matter the path - “/var/www/fog/lib/pages/clientmanagementpage.class.php” is the same file as “/var/www/html/fog/lib/pages/clientmanagementpage.class.php” after creating that link.
-
@Sebastian-Roth
Thanks! That resolved our web gui updating issue.
I still have the issue with the links to our executables though. The links take us to the dashboard or for those I’ve added to download.php they open to a blank webpage. What is the trick to adding new links to files and folders that are published on the client webpage? We had this working in version 1.4.4 and earlier but have not figured out how to make it work in the 1.5.5. -
@probbier said in FOG 1.5.4 Client Management page:
client webpage
What do you mean by the “client webpage”?
-
@Sebastian-Roth
I was just editing my response when this msg came thru. I was referring to the webpage that the fog utilities, fogcrypt, etc are hosted on. We also post our installers on the page for our closed network to install or transfer files from the fog. I realized that the terminal commands you asked me to run also removed my files stored in /var/www/fog/client/ which was causing the blank webpage when clicking our links. I added the files back in to that directory and it seems to be working again. We appreciate your help! -
@probbier Well, who added the links in the old version and how was it done? I am sure things have changed a fair bit since then and you need to figure out how to do this.
Don’t get me wrong, I will try to help you fix things but I have so much other things to do and can’t spend any more time helping you to customize your installation.
I’d suggest you look at the apache config generated by the FOG installer. Should be in
/etc/apache2/sites-enabled/001-fog.conf
on Ubuntu. There we have so calledRewriteRule
statements in place. Probably those prevent from links working for you but I am not sure. -
@Sebastian-Roth
My apologies for not being clearer in my message. I realized here in the past hour that the files were missing after running the terminal commands that removed the old web data. I put the files back and our links are now working again. All issues are resolved and we appreciate your assistance in making it happen.