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

Can't delete groups

Scheduled Pinned Locked Moved
FOG Problems
2
3
358
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.
  • D
    danboid
    last edited by danboid Sep 26, 2022, 12:59 PM Sep 26, 2022, 6:57 PM

    I’m running the latest git version of FOG with the latest FOG kernel (5.15) under Ubuntu 20.04 and I’m unable to delete FOG groups with its web UI. When I try, it prompts me for a username and password. I enter my fog user credentials (which are the same as Linux users, so there’s only one set of responses here) but then it fails to delete the group(s).

    I did end up re-installing FOG on this machine because I wanted to try using a different IP/subnet than the one I used at first. I tried to fully remove my old old FOG install by dropping its DB, removing /opt/fog etc but maybe this error is caused by me re-installing FOG and not doing the best job of uninstalling it first? It seems to be working fine apart from not being able to delete groups.

    I’m sure I’ve not had this problem with FOG before. Hopefully someone knows how to fix it without a complete re-install of the OS and FOG?

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sep 26, 2022, 7:06 PM

      @danboid said:

      I enter my fog user credentials (which are the same as Linux users, so there’s only one set of responses here) …

      Do you have a Linux user called fog as well having the same password as the one in the web UI? Just asking because in the earlier days the Linux user used by the FOG services was also called fog (we moved to the new name fogproject) and people messed with this user and changed it’s password causing all kinds of issues. While I am pretty sure this is not what you run into here I still want to emphasize you shall not mess with the fogproject Linux user.

      Now about the issue. Please take a look at the apache and PHP-FPM logs (see my signature) to see if we get some further information from that.

      Other than that I may ask you to create a new test group (see if that works) and try to delete it. As well create a new host entry in the web UI (random MAC and hostname) and delete it again.

      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
      • D
        danboid
        last edited by danboid Sep 27, 2022, 7:43 AM Sep 27, 2022, 1:42 PM

        Oops!

        Turns out I can delete groups OK. I suspect what was going on is I’d had a long and stressful day and the password it was autofilling that I was mindlessly accepting was wrong. Today I manually typed the password of the FOG user and it worked.

        Please excuse my noise!

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          Last post

        197

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project