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
Luna Pappotte
CUTTHROATS
The Forsaken Empire
#361 - 2016-06-15 08:29:24 UTC
TY!!:)

Jarner Alvestrasza
Senat.
#362 - 2016-06-25 06:03:45 UTC
Adarnof wrote:
Dem Nipz wrote:

This was heaps helpful. I went on your advice and upgraded. That did the trick on 14x. It seems I am having a bit of a directory issue atm that I will mess with. If you are curious:

Ref1 Page is displayed as such. I assume it's a directory issue because Putty is giving me the follow from the debug.

http://i.imgur.com/U2z9wMW.png

The way my current settings.py is set up is
)

TEMPLATE_DIRS = (
    os.path.join(BASE_DIR, '/home/allianceserver/allianceauth/customization/templates'),
    os.path.join(BASE_DIR, '/home/allianceserver/allianceauth/stock/templates'),
)

STATICFILES_DIRS = (
    os.path.join(BASE_DIR, "/home/allianceserver/allianceauth/customization/static"),
    os.path.join(BASE_DIR, "/home/allianceserver/allianceauth/stock/static"),
)


AGAIN, Thank you so much for the advice above. Sorry for the noobness :)

EDIT: Google never fails! - It's formatted appropriately when I run with Debug=True. But when False, and running the collect static it is still funky, hmmmm


You have the directories wrong: remove the /home/allianceserver/allianceauth part.


Hi,

I have the same problem.

with

DEBUG = 'True' == os.environ.get('AA_DEBUG','True')


the Website is displayed with all the Images. With

DEBUG = 'True' == os.environ.get('AA_DEBUG','False')


I only get a White Screen with my corp logo.

Kind regards,

Jarner
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#363 - 2016-06-27 02:37:35 UTC
Jarner Alvestrasza wrote:
Adarnof wrote:

You have the directories wrong: remove the /home/allianceserver/allianceauth part.


Hi,

I have the same problem.

with

DEBUG = 'True' == os.environ.get('AA_DEBUG','True')


the Website is displayed with all the Images. With

DEBUG = 'True' == os.environ.get('AA_DEBUG','False')


I only get a White Screen with my corp logo.

Kind regards,

Jarner


Can you check your STATICFILES_DIRS and TEMPLATE_DIRS settings, ensuring they only contain only the relative path from the allianceauth directory?
Jarner Alvestrasza
Senat.
#364 - 2016-06-27 10:28:46 UTC
Hi,

my directories are still default:


TEMPLATE_DIRS = (
    os.path.join(BASE_DIR, 'customization/templates'),
    os.path.join(BASE_DIR, 'stock/templates'),
)

STATICFILES_DIRS = (
    os.path.join(BASE_DIR, "customization/static"),
    os.path.join(BASE_DIR, "stock/static"),
)
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#365 - 2016-06-27 13:02:07 UTC
Can you make sure you ran the following command:

python manage.py collectstatic
Jarner Alvestrasza
Senat.
#366 - 2016-06-27 13:28:40 UTC
Adarnof wrote:
Can you make sure you ran the following command:

python manage.py collectstatic


I've run the command in the past.

Now the output is:


python manage.py collectstatic

You have requested to collect static files at the destination
location as specified in your settings:

    /home/user/allianceauth/static

This will overwrite existing files!
Are you sure you want to do this?

Type 'yes' to continue, or 'no' to cancel: yes

0 static files copied to '/home/user/allianceauth/static', 97 unmodified.


Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#367 - 2016-06-27 17:22:28 UTC
Jarner Alvestrasza wrote:
Adarnof wrote:
Can you make sure you ran the following command:

python manage.py collectstatic


I've run the command in the past.

Now the output is:


python manage.py collectstatic

You have requested to collect static files at the destination
location as specified in your settings:

    /home/user/allianceauth/static

This will overwrite existing files!
Are you sure you want to do this?

Type 'yes' to continue, or 'no' to cancel: yes

0 static files copied to '/home/user/allianceauth/static', 97 unmodified.




You did not install allianceauth under an allianceserver user, so the default apache config would fail to serve the site. Make sure to edit it, adjusting the /static/ alias to point to '/home/user/allianceauth/static' and the WSGI paths accordingly.
Jarner Alvestrasza
Senat.
#368 - 2016-06-28 07:26:56 UTC
Adarnof wrote:
Jarner Alvestrasza wrote:
Adarnof wrote:
Can you make sure you ran the following command:

python manage.py collectstatic


I've run the command in the past.

Now the output is:


python manage.py collectstatic

You have requested to collect static files at the destination
location as specified in your settings:

    /home/user/allianceauth/static

This will overwrite existing files!
Are you sure you want to do this?

Type 'yes' to continue, or 'no' to cancel: yes

0 static files copied to '/home/user/allianceauth/static', 97 unmodified.




You did not install allianceauth under an allianceserver user, so the default apache config would fail to serve the site. Make sure to edit it, adjusting the /static/ alias to point to '/home/user/allianceauth/static' and the WSGI paths accordingly.


Hi,

for security reason I have changed the real username to "user". All path settings are modified, but it still does not work.


Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#369 - 2016-06-28 17:23:41 UTC
Jarner Alvestrasza wrote:
for security reason I have changed the real username to "user". All path settings are modified, but it still does not work.


A similar issue has been seen before - try running the django server with the --insecure flag.
Cristi Malukar
University of Caille
Gallente Federation
#370 - 2016-07-07 06:33:46 UTC
Hello, I have a small question :-? is there a way to change the displayed logo on the first landing page to something else ?
I replaced the one in the static folder but it would not display it.
Jarner Alvestrasza
Senat.
#371 - 2016-07-07 07:20:33 UTC
Hi,

take a look at:

https://github.com/R4stl1n/allianceauth/blob/master/stock/templates/public/index.html

Starting at row 46 you have to edit the file. Copy the file to your customization folder and change it there.

Regards,

Jarner
Carl Talbot
Backwater Redux
Tactical Narcotics Team
#372 - 2016-09-06 11:30:47 UTC
In regards to the removal of the EVE IGB Browser, FAT Links wont be a thing for much longer.

https://community.eveonline.com/news/dev-blogs/bidding-farewell-to-the-in-game-browser/

Is there a system going to be in place for monitoring fleets with the CREST links from the fleet windows for the FC's of the fleet. I know aDashboard already got this in place but its closed source for The Imperium. Or is there going to be a way to phrase the fleet comp.
Dharr Guartonzec
Non-Sedentary
#373 - 2016-09-13 02:54:24 UTC  |  Edited by: Dharr Guartonzec
What are the steps to switch AA from corp mode to alliance mode? How does the config line have to look like? I tried several variations but it seems AA continues to run in corp mode. is there maybe anything else that has to be done after changing the settings? Purging a cache or so, or wipe the DB ? Thx in advance.

-Dharr Guartonzec-

CEO of Non-Sedentary

Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#374 - 2016-09-14 03:55:34 UTC
Dharr Guartonzec wrote:
What are the steps to switch AA from corp mode to alliance mode? How does the config line have to look like? I tried several variations but it seems AA continues to run in corp mode. is there maybe anything else that has to be done after changing the settings? Purging a cache or so, or wipe the DB ? Thx in advance.


The line in settings.py should look like this:
IS_CORP = 'True' == os.environ.get('AA_IS_CORP', 'False')


Changes to settings.py require restarting apache and celery processes to take effect. You will also need to have an alliance ID defined in settings.py.

If you're still running into trouble join us on Gitter for help.
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#375 - 2016-09-14 04:04:36 UTC
Carl Talbot wrote:
In regards to the removal of the EVE IGB Browser, FAT Links wont be a thing for much longer.

https://community.eveonline.com/news/dev-blogs/bidding-farewell-to-the-in-game-browser/

Is there a system going to be in place for monitoring fleets with the CREST links from the fleet windows for the FC's of the fleet. I know aDashboard already got this in place but its closed source for The Imperium. Or is there going to be a way to phrase the fleet comp.


It's definitely on our radar. Right now effort is being focused on updating and cleaning up the codebase before new development takes place. Beauty is the django version update means I can integrate my existing SSO package to really speed this up.

Question for how you'd like it to work: There are two endpoints we could use, either or both. One being the individual character's location (and hopefully ship with recent discussion; I've lost the link to the thread) and the other being the fleet structure and membership. In my mind just a snapshot of the fleet should be good enough, but it could also require line members to click a link and poll their location/ship as a second line of validation as a not-afk check. Do you think just the fleet structure is enough or would it be advantageous for individual links?
Dharr Guartonzec
Non-Sedentary
#376 - 2016-09-19 01:08:58 UTC
Adarnof wrote:
Dharr Guartonzec wrote:
What are the steps to switch AA from corp mode to alliance mode? How does the config line have to look like? I tried several variations but it seems AA continues to run in corp mode. is there maybe anything else that has to be done after changing the settings? Purging a cache or so, or wipe the DB ? Thx in advance.


The line in settings.py should look like this:
IS_CORP = 'True' == os.environ.get('AA_IS_CORP', 'False')


Changes to settings.py require restarting apache and celery processes to take effect. You will also need to have an alliance ID defined in settings.py.

If you're still running into trouble join us on Gitter for help.


Thx a lot mate, worked like a charm. reloading apache and rabbitmq did the trick.

-Dharr Guartonzec-

CEO of Non-Sedentary

Dharr Guartonzec
Non-Sedentary
#377 - 2016-09-20 13:07:15 UTC  |  Edited by: Dharr Guartonzec
anyone know how i can make sure scheduled task are being executed properly? I created TS groups and in the django admin panel they not show up for liniking those with a new group i wanted to create.

***Update***

If the background processes are running, then all is fine. I forgot to start them after a server reboot. :)

-Dharr Guartonzec-

CEO of Non-Sedentary

Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#378 - 2016-10-16 22:20:56 UTC  |  Edited by: Adarnof
Huge changes were merged today. I've been working on a load of improvements the past while and it's time to get them live.

The full list of changes can be found in the changelog. Documentation will be updated to reflect these changes in the coming days.

Upgrading existing installations will take a bit of effort. The base Django version has been updated to 1.10.1 (from 1.6, eww) and as such there are a few requirements changes.

AttentionBefore upgrading please backup your database.Attention

To upgrade, follow the steps outlined here. If you run into trouble ask for help on gitter. There are multiple people in the channel who have already deployed these changes and are happy to assist.
sue Abbott
Baba Yagas
The Initiative.
#379 - 2016-11-04 18:36:05 UTC
Will this work with discord ???

Thanks can you PM me if so :P
Adarnof
Kingsparrow Wormhole Division
Birds of Prey.
#380 - 2016-11-04 20:20:27 UTC
sue Abbott wrote:
Will this work with discord ???

Thanks can you PM me if so :P


Discord is supported. PM sent.