FOG Dashboard not updating
-
I do not see the updates for Storage Group Activity and Storage Node Disk Usage on the FOG Dashboard. I do not have any sessions Queued but I keep seeing 12 Queued on the storage group activity section. On the storage node disk usage section, I do not see the recent space increase due to an image I deleted.
I have restarted all the server storage nodes and master node and still keep getting the same stats shown on the FOG dashboard.
Currently running FOG 1.5.9-RC2 on Ubuntu Server 18.04.3 LTS (GNU/Linux 4.15.0-128-generic x86_64)
All other sections System Overview, Imaging Over the last 30 days, and Bandwidth are displaying correctly.
Any help is greatly appreciated.
Thanks in advance.
-
@vemoya That’s probably two different things here. First you might want to run the database maintenance commands described on the wiki to hopefully clean up the queued session list.
Now about the image. Did you delete that from the list view or through the “Delete” option you have in the individual image settings?
How to quickly delete definitions but not data:
Web Interface -> Image Management -> List All Images -> Click the checkboxes to the left of the image definitions -> Click “Delete All Selected Images?” at bottom of page -> Click “Are you sure you wish to delete these items?” -> Authenticate to confirmHow to delete a single image definition and it’s data too:
Web Interface -> Image Management -> List All Images -> Click the name of the image you want to delete -> Click “Delete” tab at the top -> Check the box labeled “Delete file data” -> Click “Remove” -> Authenticate to confirmIf you want to delete image data after you deleted the image definition (but not the data) through the web interface you can manually delete the folder
/images/IMAGENAME/
on your FOG server. Make sure you delete the correct folder as there is no backup of the image data if you purge the wrong one. -
@sebastian-roth I think I did exactly what you explained. I did not check on the process of deleting images from FOG. My mistake, now I would like to delete the image from the server but what is the path to the image folder?
Thanks for the help
-
@vemoya said in FOG Dashboard not updating:
I would like to delete the image from the server but what is the path to the image folder?
These RAW data files are kept in the /images directory on your fog server. In that directory you will find subdirectories that match your image names. You can remove this directory and its files with the
rm
command.I will give you a very useful but very dangerous command because you can break your FOG server if you misuse it. The command is
sudo rm -rf /images/<directory_name>
Just replace<directory_name>
with your image name and it will be gone, no questions asked. -
@sebastian-roth The database maintenance commands on the wiki link you provided worked for me on the dashboard issue.
Thank you for your help.
-
@george1421 The command work for me. Thanks for the help.