Closed egypt closed 5 years ago
Thanks @egypt. I'm tracking an issue where Elite can get in a bad "state" like this.
I don't think GetNetLocalGroup/GetNetLocalGroupMember is the cause of the issue (they are working fine for me).
The workaround for this issue is simply to exit Elite and restart it, and the command should work once again. I'll work on the strange bad "state" issue.
I exited both Elite and Covenant, restarted them and the exception persists.
On Wed, Feb 20, 2019, 00:21 Ryan Cobb notifications@github.com wrote:
Thanks @egypt https://github.com/egypt. I'm tracking an issue where Elite can get in a bad "state" like this.
I don't think GetNetLocalGroup/GetNetLocalGroupMember is the cause of the issue (they are working fine for me).
The workaround for this issue is simply to exit Elite and restart it, and the command should work once again. I'll work on the strange bad "state" issue.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cobbr/Elite/issues/4#issuecomment-465455787, or mute the thread https://github.com/notifications/unsubscribe-auth/AARk33t0yJnmzXrfO0NrqcscHPILUhglks5vPPeIgaJpZM4bDkR0 .
@egypt Ah, well maybe it isn't the error I thought.
Do any of the built-in modules work or just the GetNetLocalGroup/GetNetLocalGroupMember tasks aren't working? If none of them are working did you use git clone --recurse-submodules https://github.com/cobbr/Covenant
?
If other modules are working and you did clone recursively, then I'd say to try resetting the database and restart everything. To do that on the Covenant side:
$ ~/Covenant/Covenant > docker stop covenant
$ ~/Covenant/Covenant > docker rm covenant
$ ~/Covenant/Covenant > rm Data\covenant.db
$ ~/Covenant/Covenant > docker build -t covenant .
$ ~/Covenant/Covenant > docker run -it -p 7443:7443 -p 80:80 -p 443:443 --name covenant covenant --username AdminUser --computername 0.0.0.0
And on the Elite side:
$ ~/Elite/Elite > docker build -t elite .
$ ~/Elite/Elite > docker run -it --rm --name elite -v /absolute/path/to/Elite/Data:/app/Data elite --username AdminUser --computername <Covenant IP>
It was the submodules. I've been using git for most of a decade and that still bites me. >_<
Interestingly, git submodule init
did not show any. I had to re-clone with --recurse-submodules
to pick them up.
Thanks!
Yeah, I really wish I could configure --recurse-submodules
to trigger by default. Either way, I need a more obvious error message when the submodules are not there. I'll add something like that in here soon.
Grunt running on Windows 10 and Covenant/Elite running on Ubuntu.
In case it helps, here is the output of
net localgroup
on the same machine:and
net localgroup Administrators
: