Can't delete groups
-
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?
-
@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 calledfog
(we moved to the new namefogproject
) 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 thefogproject
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.
-
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!