• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Help in deleting image in fog server

Scheduled Pinned Locked Moved
FOG Problems
2
4
620
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jonathanho92
    last edited by Apr 30, 2021, 10:09 AM

    How do i delete image from fog server ? I am running ubuntu desktop lts fog version 1.5.9

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by May 1, 2021, 8:38 AM

      @jonathanho92 When deleting an image through the web UI you have two options. On the image list view you can click the checkbox of one or more images and then hit the delete button. But that will only remove the image definition from the database. The other way is to go into the image settings of one particular image you want to remove and switch to the tab named “Delete”. Here you have the option to also remove the image files from disk.

      If you have deleted an image using the first method already you need to delete the image files on the server manually. Open a console (SSH or local) and use rm -rf command to delete the particular image directory (in /images/...). Be aware that there is no backup. So make sure you understand how to handle the Linux rm command as it can cause a lot of damage when used the wrong way.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • J
        jonathanho92
        last edited by May 2, 2021, 6:14 AM

        When i try to click delete they prompt me for credential i am not sure which credentials to key in to delete the image

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by May 2, 2021, 11:36 AM

          @jonathanho92 said in Help in deleting image in fog server:

          When i try to click delete they prompt me for credential i am not sure which credentials to key in to delete the image

          That’s the same credentials you use to login to the FOG web UI. It’s just a safety thing to prevent people from deleting image files in a rush.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            2/4
            Last post

          227

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project