Resource icon

Misc ACCServerManager 0.3.0

Log in to download, or make sure to confirm your account via email

gotzl

1RPM
Original poster
Jul 15, 2017
7
4
35
gotzl submitted a new resource:

ACCServerManager - Assetto Corsa Competizione web based server management Edit

Small web application to manage Assetto Corsa Competizione servers, build on Django.
Allows to create/edit multiple configs and deploy multiple server instances.
Will in future also allow to browse results (as soon as ACC is stable...).

See the readme for instructions on how to run it.
The code is open source and hosted on GitHub.

*It's in early development, don't expect too much :)*
Read more about this resource...
 

ennimann

75RPM
Jul 29, 2015
93
8
55
Hi,
thanks for share your tool.
I installed all in W10 and it runs, but i see only "main_web.html" on the webside 127.0.0.1:8000.
Can you help me please?
 

gotzl

1RPM
Original poster
Jul 15, 2017
7
4
35
Hey,
jeah, so I've put a linux symlink into the package... Just remove the 'templates/main.html' file and rename the 'templates/main_web.html' -> 'templates/main.html' (or fetch the updated package).
I must confess that it has been a while since I checked the Win version... I'll do that tomorrow.
Thanks alot for your feedback and for trying it out!
 

ennimann

75RPM
Jul 29, 2015
93
8
55
Thanks,
i see the website now.
If i create a new instance and klick on start, there is an errorpage.
But the instance is written in ../tmp/instances/name of instance
If i start onesmore it happens nothing.
Code:
Request Method:    POST
Request URL:    http://127.0.0.1:8000/instances/start
Django Version:    2.1.7
Exception Type:    Error
Exception Value:   
[('H:\\ACC_Server\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\accservermanager\\accservermanager\\__pycache__\\settings.cpython-37.pyc', 'H:\\ACC_Server\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\accservermanager\\accservermanager\\__pycache__\\settings.cpython-37.pyc', "[Errno 2] No such file or directory: 'H:\\\\ACC_Server\\\\tmp\\\\instances\\\\DLM\\\\tmp\\\\instances\\\\DLM\\\\tmp\\\\instances\\\\DLM\\\\tmp\\\\instances\\\\DLM\\\\tmp\\\\instances\\\\DLM\\\\tmp\\\\instances\\\\DLM\\\\tmp\\\\instances\\\\DLM\\\\tmp\\\\instances\\\\DLM\\\\tmp\\\\instances\\\\DLM\\\\tmp\\\\instances\\\\DLM\\\\accservermanager\\\\accservermanager\\\\__pycache__\\\\settings.cpython-37.pyc'"), ('H:\\ACC_Server\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\tmp\\instances\\DLM\\accservermanager\\accservermanager\\__pycache__\\__init__.cpython-37.pyc', 'H:\\ACC_Server\\tmp\\instances\\DLM\\tmp\........................

Exception Location:    H:\Software\Tools\Python\lib\shutil.py in copytree, line 365
Python Executable:    H:\Software\Tools\Python\python.exe
Python Version:    3.7.2
Python Path:   
['h:\\ACC_Server\\accservermanager',
 'H:\\Software\\Tools\\Python\\python37.zip',
 'H:\\Software\\Tools\\Python\\DLLs',
 'H:\\Software\\Tools\\Python\\lib',
 'H:\\Software\\Tools\\Python',
 'H:\\Software\\Tools\\Python\\lib\\site-packages']
Server time:    Sat, 9 Mar 2019 18:45:41 +0000
 

gotzl

1RPM
Original poster
Jul 15, 2017
7
4
35
Hi,
can you show me the bottom part of your accservermanager/settings.py?
 

ennimann

75RPM
Jul 29, 2015
93
8
55
Code:
# THINGS TO CONFIGURE
# the ACC server exe, in case of linux start it with wine
ACCEXEC = ['accServer.exe']      # windows: just set it to 'accServer.exe' (no list!)
ACCSERVER = 'H:\\ACC_Server'                   # windows: 'C:\\PATH\\TO\\ACC\\server'

# folders where the created configs and instances are stored, will be created if doesn't exist
CONFIGS = 'H:\\ACC_Server\\tmp\\configs'                # windows: 'C:\\Users\\someuser\\configs'
INSTANCES = 'H:\\ACC_Server\\tmp\\instances'            # windows: 'C:\\Users\\someuser\\instances'
i created the last 2 folders per hand.
 

gotzl

1RPM
Original poster
Jul 15, 2017
7
4
35
Ah, ok. As of now, the CONFIGS and INSTANCES folders can not life inside the ACCSERVER folder.
Can you try to create and use the following folders (or s.t. similar)?
CONFIGS = 'H:\\ACC_Server_data\\configs'
INSTANCES = 'H:\\ACC_Server_data\\instances'

Edit: This issue should be resolved in v0.2.1.
Note that the configuration values are now located in local_settings.py.
 
Last edited:

gotzl

1RPM
Original poster
Jul 15, 2017
7
4
35
gotzl updated ACCServerManager with a new update entry:

Release 0.2.1

### Notable changes
* user settings are now located in accservermanager/local_settings.py
* introduced DATA_DIR which holds the directory for configs/instances as well as the sqlite database
* allow to restart stopped instances
* only copy relevant files to the instance folder
* multiple changes related to docker, ie configuration via env vars
Read the rest of this update entry...
 
Apr 3, 2011
360
138
This looks really promising, I've tried a bit.

I'm getting stuck on a secret key thing with Django. I've gotta say, I'm not very used to this. Maybe you can share somekind of how-to here to make things easier?
 

gotzl

1RPM
Original poster
Jul 15, 2017
7
4
35
This looks really promising, I've tried a bit.

I'm getting stuck on a secret key thing with Django. I've gotta say, I'm not very used to this. Maybe you can share somekind of how-to here to make things easier?
Hi,
sorry I did not reply earlier, somehow I did not get an alert...
Are you still trying to run the app?
What is your problem with the 'Secret key thing' exactly?
Cheers
 

Stefan1507

50RPM
Oct 26, 2015
68
27
33
Hello,

A question I was about to create an entry list with the tool but when I entered 4 teams and wanted to add a 5 team a window pops up:
accservermanager.png


Maximum number of teams reached.
To enter an unlimited number of teams please use the full professional version.

How do I get this Professional Full Version?

Best Regards
Stefan