These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Eve Alliance Auth - Open Source

First post First post
Author
Argus Sorn
Star Frontiers
Brotherhood of Spacers
#221 - 2015-11-06 04:31:59 UTC
So after all that, I felt so confident (and I had mucked up my server a bit) I decided to wipe it and install from scratch:

The good news: it took me under 3 hours to do on the second go - was easy peasy.

The bad news: IPB v3 is not updating members or groups at all again. I am not sure what I did last time that fixed it, but here I am in the same boat as before. Murmur users are updating so I think it has something to do with my api endpoint or some such.

Any thoughts would be appreciated, there appear to be no logs for these sorts of failures.

Bardam
Dirt 'n' Glitter
Local Is Primary
#222 - 2015-11-06 04:40:20 UTC
Okay next. None of the services are pulling group information.
Here's what my django groups look like.

forums

Openfire

and mumble didn't ask for a password when I used the admin username so I assume there's no super user.

this is what celery is doing (i think)

Where should I start checking?
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#223 - 2015-11-06 05:23:56 UTC  |  Edited by: Adarnof
Bardam wrote:
Okay next. None of the services are pulling group information.
Here's what my django groups look like.

forums

Openfire

and mumble didn't ask for a password when I used the admin username so I assume there's no super user.

this is what celery is doing (i think)

Where should I start checking?


You're missing a process. Celerybeat is the scheduler, you need the celery workers.

Try issuing this command again from the allianceauth directory:
screen -dm bash -c 'python manage.py celeryd --verbosity=2 --loglevel=DEBUG'

And verify you see the process running.

If not, run this:
python manage.py celeryd --verbosity=2 --loglevel=DEBUG

And watch the output for a specific error. In a previous lifetime I discovered one of these processes needed to be sudo'd, haven't run into that problem in many months. No idea what caused it.
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#224 - 2015-11-06 05:31:32 UTC
Argus Sorn wrote:
So after all that, I felt so confident (and I had mucked up my server a bit) I decided to wipe it and install from scratch:

The good news: it took me under 3 hours to do on the second go - was easy peasy.

The bad news: IPB v3 is not updating members or groups at all again. I am not sure what I did last time that fixed it, but here I am in the same boat as before. Murmur users are updating so I think it has something to do with my api endpoint or some such.

Any thoughts would be appreciated, there appear to be no logs for these sorts of failures.



Can you verify the following for me:

  • You copied the aa folder to the interface/board/modules/ directory in IPBoard
  • You updated IPBOARD_ENDPOINT in settings.py to point at the interface location (yourdomain.com/path/to/interface)
  • You generated an API key and updated IPBOARD_APIKEY in settings.py with it
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#225 - 2015-11-06 05:54:03 UTC
I think it's high time there be a channel for everyone to collaborate in.

Come hang out in allianceauth for help installing and maintaining your server, and to discuss current and future features.
Bardam
Dirt 'n' Glitter
Local Is Primary
#226 - 2015-11-06 13:57:14 UTC  |  Edited by: Bardam
Adarnof wrote:
Bardam wrote:
Okay next. None of the services are pulling group information.
Here's what my django groups look like.

forums

Openfire

and mumble didn't ask for a password when I used the admin username so I assume there's no super user.

this is what celery is doing (i think)

Where should I start checking?


You're missing a process. Celerybeat is the scheduler, you need the celery workers.

Try issuing this command again from the allianceauth directory:
screen -dm bash -c 'python manage.py celeryd --verbosity=2 --loglevel=DEBUG'

And verify you see the process running.

If not, run this:
python manage.py celeryd --verbosity=2 --loglevel=DEBUG

And watch the output for a specific error. In a previous lifetime I discovered one of these processes needed to be sudo'd, haven't run into that problem in many months. No idea what caused it.



after running screen -dm bash -c 'python manage.py celeryd --verbosity=2 --loglevel=DEBUG'
that process still doesn't show up.
when I run python manage.py celeryd --verbosity=2 --loglevel=DEBUG this is the warning i see http://i.imgur.com/i95OlNI.png

the process keeps running in the shell and does indeed update the groups while it's going.


Edit:

10th time's the charm maybe? I hit uparrow to SCREEN it again and now it's showing up as running.
http://i.imgur.com/CrBXAz2.png
Argus Sorn
Star Frontiers
Brotherhood of Spacers
#227 - 2015-11-06 18:44:26 UTC
Adarnof wrote:
Argus Sorn wrote:
So after all that, I felt so confident (and I had mucked up my server a bit) I decided to wipe it and install from scratch:

The good news: it took me under 3 hours to do on the second go - was easy peasy.

The bad news: IPB v3 is not updating members or groups at all again. I am not sure what I did last time that fixed it, but here I am in the same boat as before. Murmur users are updating so I think it has something to do with my api endpoint or some such.

Any thoughts would be appreciated, there appear to be no logs for these sorts of failures.



Can you verify the following for me:

  • You copied the aa folder to the interface/board/modules/ directory in IPBoard
  • You updated IPBOARD_ENDPOINT in settings.py to point at the interface location (yourdomain.com/path/to/interface)
  • You generated an API key and updated IPBOARD_APIKEY in settings.py with it



I did all of those things.

A few questions:
Should the path include the 'aa' folder itself? And I assumed it should be the web path (mydomain.com/forums/interface/board/modules) and not some path that includes /var/www. And should it include https:// at the beginning?

And is there anything funky that needs to be done on the chmod/chown side?
Kaezon Rio
School of Applied Knowledge
Caldari State
#228 - 2015-11-06 23:18:45 UTC  |  Edited by: Kaezon Rio
Bardam wrote:

after running screen -dm bash -c 'python manage.py celeryd --verbosity=2 --loglevel=DEBUG'
that process still doesn't show up.
when I run python manage.py celeryd --verbosity=2 --loglevel=DEBUG this is the warning i see http://i.imgur.com/i95OlNI.png

the process keeps running in the shell and does indeed update the groups while it's going.


That can be ignored. It's does mean we're going to have to change how we talk to celery though.
I'll add a task to the repo for it.
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#229 - 2015-11-07 02:32:35 UTC
Argus Sorn wrote:

I did all of those things.

A few questions:
Should the path include the 'aa' folder itself? And I assumed it should be the web path (mydomain.com/forums/interface/board/modules) and not some path that includes /var/www. And should it include https:// at the beginning?

And is there anything funky that needs to be done on the chmod/chown side?


Nothing funky permissions-wise, www-data:www-data.

Path-wise, probably. I've never gone through the installation myself and documentation is lacking. I'll be attempting that tonight.

It's safer to put Http, depends on your specific installation. If you're redirecting all traffic to https through apache it'll get redirected to https anyway, if you're not and put https you'll get issues asking for certification on a system without it.

I'll update when I test it myself.
Samuel the Terrible
Doomheim
#230 - 2015-11-07 02:59:18 UTC
Adarnof wrote:
Argus Sorn wrote:

I did all of those things.

A few questions:
Should the path include the 'aa' folder itself? And I assumed it should be the web path (mydomain.com/forums/interface/board/modules) and not some path that includes /var/www. And should it include https:// at the beginning?

And is there anything funky that needs to be done on the chmod/chown side?


Nothing funky permissions-wise, www-data:www-data.

Path-wise, probably. I've never gone through the installation myself and documentation is lacking. I'll be attempting that tonight.

It's safer to put Http, depends on your specific installation. If you're redirecting all traffic to https through apache it'll get redirected to https anyway, if you're not and put https you'll get issues asking for certification on a system without it.

I'll update when I test it myself.



Hey cool I see you wern't kidding when we were talking cheap domains, and your idea of setting up an offical site,


You are missing a TS3 Guide :P

also you will probably have to wait a few months but you should make it a fan site. not exactly an eve fansite per-say but it would be awsome for you to get it in their directory and make it a bit more visible!


Im also going to add a link to your site on my trolling webpage :)



- Fly safe bud!

**CEO of www.terribleganking.com

Trashing space one wreck at a time!**

Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#231 - 2015-11-07 05:00:00 UTC
I went and wrote a brief IPBoard install guide to get it working with AllianceAuth. I hate IPBoard.

Please remember right now this only works with IPBoard 3.

Here's the guide.
Samuel the Terrible
Doomheim
#232 - 2015-11-07 08:10:04 UTC
Adarnof wrote:
I went and wrote a brief IPBoard install guide to get it working with AllianceAuth. I hate IPBoard.

Please remember right now this only works with IPBoard 3.

Here's the guide.



Use PHPBB the guys i know with experience with this system all use PHPBB and would be able to help with that more !

**CEO of www.terribleganking.com

Trashing space one wreck at a time!**

Argus Sorn
Star Frontiers
Brotherhood of Spacers
#233 - 2015-11-11 16:25:54 UTC  |  Edited by: Argus Sorn
It'd be nice to have a more robust group control system where you can set who can control entry into what groups - group admins who can accept into their particular groups (but not ALL groups).

Is there some easy way to develop this in Django?
Samuel the Terrible
Doomheim
#234 - 2015-11-11 17:39:05 UTC
Argus Sorn wrote:
It'd be nice to have a more robust group control system where you can set who can control entry into what groups - group admins who can accept into their particular groups (but not ALL groups).

Is there some easy way to develop this in Django?



Ooooh belive me I have already asked kazeon and ardanof.

I have also made an issue about it on github so with a bit of luck it will come :)

**CEO of www.terribleganking.com

Trashing space one wreck at a time!**

Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#235 - 2015-11-11 18:30:43 UTC
Argus Sorn wrote:
It'd be nice to have a more robust group control system where you can set who can control entry into what groups - group admins who can accept into their particular groups (but not ALL groups).

Is there some easy way to develop this in Django?


That's next on my to-do list. I'm planning to overhaul group management as a whole. I'd like to move all of group management (including creation) to the frontend instead of relying on Django's admin interface and introduce specific roles within groups such as group admins (this will only be reflected on the auth, there's no way to translate it to services I know if).

What tiers of membership are you interested in? I'm thinking:

  • member - your generic member of a group
  • manager - can approve/deny group join/leave requests
  • owner - can set group managers on top of manager roles


With additional permissions:

  • Create Group
  • Delete Own Group
  • Delete Other Group


This will take a custom group class and a sizeable rewrite of the backend so check back in a week or two.
Samuel the Terrible
Doomheim
#236 - 2015-11-12 10:29:53 UTC
Adarnof wrote:
Argus Sorn wrote:
It'd be nice to have a more robust group control system where you can set who can control entry into what groups - group admins who can accept into their particular groups (but not ALL groups).

Is there some easy way to develop this in Django?


That's next on my to-do list. I'm planning to overhaul group management as a whole. I'd like to move all of group management (including creation) to the frontend instead of relying on Django's admin interface and introduce specific roles within groups such as group admins (this will only be reflected on the auth, there's no way to translate it to services I know if).

What tiers of membership are you interested in? I'm thinking:

  • member - your generic member of a group
  • manager - can approve/deny group join/leave requests
  • owner - can set group managers on top of manager roles


With additional permissions:

  • Create Group
  • Delete Own Group
  • Delete Other Group


This will take a custom group class and a sizeable rewrite of the backend so check back in a week or two.



Thats what I was thinking, so long as manager level can be set per groups, again as I have discussed with you I want to let CEOs approve directors and leadership approve CEOs.


Oh hey you will love this, I had to push the BIG RED BUTTON on my x79 today!

**CEO of www.terribleganking.com

Trashing space one wreck at a time!**

Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#237 - 2015-11-15 21:05:07 UTC
Updated the code base today. Hidden groups, a fix for TS3, and forum avatars. Read more about it and how to perform the update here.
Argus Sorn
Star Frontiers
Brotherhood of Spacers
#238 - 2015-11-16 03:53:56 UTC  |  Edited by: Argus Sorn
I am still migrating my group over and about to get people on mumble.

This is not exactly an auth question, but how does one allow 'guests' onto mumble - people who can log in and get a drag, etc..

I'd prefer not to force everyone to join auth to get in.
Argus Sorn
Star Frontiers
Brotherhood of Spacers
#239 - 2015-11-16 03:56:20 UTC
Adarnof wrote:
Updated the code base today. Hidden groups, a fix for TS3, and forum avatars. Read more about it and how to perform the update here.


Does creating and/or adding member to hidden group get disseminated to the forums and mumble?
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#240 - 2015-11-16 04:02:43 UTC
Argus Sorn wrote:
I am still migrating my group over.

Can anyone tell me if I will be able to (or how to make it so I am able to) have guests still log into mumble? LIke log in and then get a drag into channel? Or will the only way to get in be to register?


You can set that up through mumble's ACL. All the auth system does is add and remove registered users. You need to define what registered and unregistered users can do through mumble.

Argus Sorn wrote:
Does creating and/or adding member to hidden group get disseminated to the forums and mumble?

No. The goal behind this change was to restrict the groups available to members to apply to on the website, meaning this group's membership can only be managed from the admin console.