AC Server Manager

Misc AC Server Manager v1.7.9

Login or Register an account to download this content
Do I need to run my own server to use this tool or can I use it with my server provider? I guess I would have to convince them to switch to this tool first then?

Also I saw there is a premium option for donators. What is the difference between the normal version and the premium version and how would that work if the server was hosted?

Hi!

Yes you'd need to get your server provider to install the tool for you (assuming you don't have root access). The premium option currently comes with race weekends, they're a pretty powerful tool but complicated to explain, you can see one here: https://asm.callumjones.me/race-weekend/3d31b433-3e5d-4703-97f9-4ec5250c1a80. It also removes the ad, and in the future may contain more advanced features too.

We send out the premium versions via email, we'd rather you didn't send them to a server provider, but there's nothing stopping you!

Although (time for some shilling), if you rent a server from us directly (assettocorsaservers.com) the server will come with the premium version of our manager pre-installed!

Thanks
 
Version: 1.5.2
System: Ubuntu Server 18.04
Every time I stop an event, the stracker process stays like a zombie process. If I stop and start many times more zombie processes are created. I have to stop server-manager to kill those zombie processes.
527AVv9.jpg

Hi,

Thanks very much for the report, we're looking into this and will get back to you when we can!

Thanks
 
Hi!

Yes you'd need to get your server provider to install the tool for you (assuming you don't have root access). The premium option currently comes with race weekends, they're a pretty powerful tool but complicated to explain, you can see one here: https://asm.callumjones.me/race-weekend/3d31b433-3e5d-4703-97f9-4ec5250c1a80. It also removes the ad, and in the future may contain more advanced features too.

We send out the premium versions via email, we'd rather you didn't send them to a server provider, but there's nothing stopping you!

Although (time for some shilling), if you rent a server from us directly (assettocorsaservers.com) the server will come with the premium version of our manager pre-installed!

Thanks

I can understand you wanting to make some money from this product and I would have no problem donating for premium, but then I would want to use the premium features for my servers. But if I send the premium version to my server host, they will probably just use that version for all their AC servers. And I would have to send new versions to them every time there is an update. I don't really see a solution for this. Unless maybe you could do some kind of authentication system in the server manager that would unlock the premium options to people being on the allowed list.. I dunno...
 
I can understand you wanting to make some money from this product and I would have no problem donating for premium, but then I would want to use the premium features for my servers. But if I send the premium version to my server host, they will probably just use that version for all their AC servers. And I would have to send new versions to them every time there is an update. I don't really see a solution for this. Unless maybe you could do some kind of authentication system in the server manager that would unlock the premium options to people being on the allowed list.. I dunno...

If the project was closed source we could do something like that, but as it's open source that wouldn't really work!

In an ideal world I'd like a hosting company to contact us if they want to start bundling in our manager for all of their customers, but I can't make them. If they're just installing it for a single user who has sent their version to them (premium or not) then that's absolutely fine too.

At the end of the day we're proud of our hosting quality and customer service, and of course nobody knows the manager better than we do! So we have a great platform regardless.

Thanks
 
Version: 1.5.2
System: Ubuntu Server 18.04
I have configured server-manager on a subdomain with a proxy server with nginx.
Here is my configuration (/etc/nginx/site-enabled)

HFj06Xe.jpg

and here is my config.yml file.

7kuI7Lu.jpg


With this configuration (https://admin.mydomain.com) I can:
- Access the server.
- Start/stop assetto server (manage custom and quick races)
- Manage accounts.
- Upload tracks
- Upload skins to cars (previously uploaded)

But, i can´t:
- Upload cars
- and Live-timing doesn't work

With direct IP/port (http://55.45.XX.XX:8772) I can do everything .

Where the problem might be?
 
Version: 1.5.2
System: Ubuntu Server 18.04
I have configured server-manager on a subdomain with a proxy server with nginx.
Here is my configuration (/etc/nginx/site-enabled)

HFj06Xe.jpg

and here is my config.yml file.

7kuI7Lu.jpg


With this configuration (https://admin.mydomain.com) I can:
- Access the server.
- Start/stop assetto server (manage custom and quick races)
- Manage accounts.
- Upload tracks
- Upload skins to cars (previously uploaded)

But, i can´t:
- Upload cars
- and Live-timing doesn't work

With direct IP/port (http://55.45.XX.XX:8772) I can do everything .

Where the problem might be?

Hi!

- Uploading cars will likely exceed nginx's default max client body size. You can increase it using the following (inside your server {} block):

client_max_body_size 100m;

This gives it 100MB.

As for live timings, potentially you need to add the following proxy settings for websocket support:

# WebSocket support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

I hope this helps!
 
Hecrer updated AC Server Manager with a new update entry:

Quality of Life Improvements!

Added:
  • Live Timings "Stored Times" will now persist between reboots of Server Manager, if the next event started is the same as the last event running before the Server Manager reboot.
  • You can now configure Server Manager to restart any Event that was running before Server Manager was stopped. Check out "Restart Event On Server Manager Launch" in Server Options.
  • Added an option to prevent web crawlers from accessing any pages on the manager using a robots.txt.
  • Added...

Read the rest of this update entry...
 
Hi!

- Uploading cars will likely exceed nginx's default max client body size. You can increase it using the following (inside your server {} block):

client_max_body_size 100m;

This gives it 100MB.

As for live timings, potentially you need to add the following proxy settings for websocket support:

# WebSocket support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

I hope this helps!

Thanks. It worked like a charm ;)
 
Hello ,
i have a problem:

Failed to initialise server manager.

Your configuration file is probably incorrect, or you haven't followed the instructions in the README properly.
Please carefully check that your options are set correctly.

Error Details
-------------------------

The error occurred attempting to: Open server manager storage (bolt or json)
The error more specifically is: invalid store type (), must be either boltdb/json


But
################################################################################
store:
# store type: this can be one of:
# - 'json' - saves each custom race, championship as separate JSON files
# in the directory specified by store_path
# - 'boltdb' - saves all content inside a single database file specified by
# store_path
#
# boltdb is recommended for most users.
type: boltdb

I don't find where is the problem

Sorry for explain, i don't speak english.
 
Hello ,
i have a problem:

Failed to initialise server manager.

Your configuration file is probably incorrect, or you haven't followed the instructions in the README properly.
Please carefully check that your options are set correctly.

Error Details
-------------------------

The error occurred attempting to: Open server manager storage (bolt or json)
The error more specifically is: invalid store type (), must be either boltdb/json


But
################################################################################
store:
# store type: this can be one of:
# - 'json' - saves each custom race, championship as separate JSON files
# in the directory specified by store_path
# - 'boltdb' - saves all content inside a single database file specified by
# store_path
#
# boltdb is recommended for most users.
type: boltdb

I don't find where is the problem

Sorry for explain, i don't speak english.

Hi, it's difficult to tell from this snippet. Could you share the whole config file? (with any passwords/sensitive information removed, of course!)
 
Hi, it's difficult to tell from this snippet. Could you share the whole config file? (with any passwords/sensitive information removed, of course!)
################################################################################
#
# Assetto Server Manager Configuration
# https://github.com/cj123/assetto-server-manager
#
# Thanks for using server manager!
#
#
# note that changes to this file require a restart of server manager to work! :)
#
#
# The below file is in YAML configuration format. Spacing is important within
# YAML, and can cause server manager not to launch correctly. You can validate
# this file online at: http://www.yamllint.com/
#
################################################################################

################################################################################
#
# steam settings - server manager can install the assetto corsa
# server for you using steamcmd (if you'd like)
#
################################################################################
#steam:
# steam username and password. we recommend creating a separate account with
# steamguard disabled to use this application. Assetto Corsa Server is FREE
# so you don't need to worry about purchasing it again.
#
# server manager uses this information ONLY to install the
# assetto corsa server.
#
# however, if you do not wish to provide server manager with this information,
# leave it blank and install assetto corsa server to the path you specified in
# install_path (default: 'assetto')
username: **********
password: **********

# where to install assetto corsa server
install_path: A:\Program Files (x86)\Steam\steamapps\common\assettocorsa\server

# the path to the executable to run. relative to the install_path by default
executable_path: acServer.exe

# set this to true to force an install every time the server manager is loaded
force_update: false

################################################################################
#
# http settings
#
################################################################################
http:
# hostname is the hostname the HTTP server should listen on.
# change '0.0.0.0' to 'localhost' if you don't want server manager to be
# available on the web.
hostname: 0.0.0.0:8772

# session key is used to encrypt the http session
session_key: RANDOMLY_GENERATE_THIS

# server manager base URL is the URL that the server manager is accessible on
# only used for links in championship welcome message in game
# you can leave this blank if not required
# example: https://opengt3.assettocorsaservers.com <-- requires https:// or
# http://, no closing / at the end
server_manager_base_URL:

# session store type can be one of: 'cookie' or 'filesystem'
# if it is 'filesystem', you must set the session_store_path below.
# cookie is best for most users, but if you are running multiple Server
# Manager instances on the same IP address, you should use filesystem.
session_store_type: cookie

# session store path is where to save the session store
# (if using 'filesystem' above)
session_store_path:"A:\Program Files (x86)\Steam\steamapps\common\assettocorsa\server"

################################################################################
#
# monitoring - enabling monitoring allows us to find out more information
# about how you're using Server Manager, as well as seeing any issues that may
# occur so we can collect and fix them. We understand that you may not wish
# for us to do any monitoring, so you can disable it by setting 'enabled'
# to false
#
################################################################################
# with monitoring enabled, the following systems are in place:
#
# 1. Sentry (https://sentry.io) monitoring of both Server Manager's backend
# code and frontend javascript. This lets us see application errors when
# they occur.
#
# 2. Google Analytics (https://analytics.google.com) tracking so we can see how
# many people use Server Manager, when they use it and where they are in
# the world.
#
# 3. Prometheus Monitoring - this provides more technical debugging in terms of
# memory and CPU usage, etc. This is *NOT* sent to us. We have added this in
# so that anybody who wants to monitor Server Manager for themselves can do
# so with Prometheus. We use it internally at assettocorsaservers.com to
# track our Server installs to help us improve our service.
#
# you can access the prometheus endpoint at:
# <your servermanager domain>/metrics
#
#
# once again, if you do not wish for Server Manager to do these things, simply
# set 'enabled' to false and monitoring will not take place.
################################################################################
monitoring:
enabled: true

################################################################################
#
# data storage - where server manager keeps your data!
#
################################################################################
store:
# store type: this can be one of:
# - 'json' - saves each custom race, championship as separate JSON files
# in the directory specified by store_path
# - 'boltdb' - saves all content inside a single database file specified by
# store_path
#
# boltdb is recommended for most users.
type: boltdb

# where to save the server manager data
path: server_manager.db
# shared data path: Set the same directory for multiple AC Server Manager
# instances to share championship, entrants and custom events across them.
# Leave blank to use the same path as the one set up here.
# works only with JSON database
shared_data_path:

################################################################################
#
# user management - this is now mostly done via the web interface.
#
################################################################################
accounts:
# admin password override is used to override the admin password in the case
# that you have forgotten it. set it to e.g. 'password' and log in with:
# username: admin
# password: password
# and you will be prompted to change your admin password back to something you
# can remember
#
# If you are logging in for the first time, do not use this override system.
# Instead, log in by using these credentials:
# username: admin
# password: servermanager
# As soon as you log in, you will be immediately asked to set a new password.
#
admin_password_override:

################################################################################
#
# live map config
#
################################################################################
live_map:
# how often to refresh the map data in milliseconds. This value can't be below
# 200. If you find that championship events do not finish properly, try
# changing this to a higher number.
# set this to 0 to disable live map.
refresh_interval_ms: 500


################################################################################
#
# server config - configure plugins, e.g. kissmyrank here.
#
################################################################################
server:
# audit logging logs the actions of registered users locally on your server.
# Only Admins can access the logs, they are intended for tracking if users
# have deleted content, started/stopped events when they shouldn't have etc.
audit_logging: true
# performance mode disables live timing entirely, and prioritises low cpu
# usage.
performance_mode: false
# list of commands to run on server start and kill on server stop. this should
# contain the full command with arguments to run the given program.
#
# note: if you are looking for stracker support, Server Manager supports it via
# the UI! Go to the "STracker" page in Server Manager for more instructions.
#
# you can use additional plugins with AC Server Manager, but while configuring
# them you have to ignore the ports that AC Server Manager writes in the
# server_cfg.ini, as the Server Manager provides an interface to the plugins
# instead. The plugin ports in the Server Options page are the ones that must
# be used for the plugin configuration. Here is an example for configuring KMR:
#
# KMR:
# - ac_server_http_port must equal the value of HTTP Port
# - ac_server_plugin_local_port must equal the value of UDP Plugin Local Port
# - ac_server_plugin_address_port must equal the port from the UDP Plugin Address
# - web_auth_server_port must equal the port specified in UDP Auth Plugin Address
# - UDP Auth Plugin Address has to be configured in the way specified by KMR documentation
#
# Note that AC Server Manager provides an interface for a single plugin only,
# as the AC gameserver does. If you want to chain multiple plugins, please
# follow the documentation of the plugins you're using. Plugins usually
# feature interfaces so additional plugins can be chained between themselves.
#
# you can of course add your own commands (whatever you like!) here.
#
# each executable specified is run from the directory it is inside, for example,
# the command:
#
# ./my/cool/plugin/path/run.sh --some-opt config.json
# now actually performs the following two commands:
#
# 1. cd ./my/cool/plugin/path
# 2. ./run.sh --some-opt config.json
run_on_start:
# e.g. uncomment the line below to run a 'start.sh' for kissmyrank
# - ./assetto/kissmyrank/start.sh

################################################################################
#
# championships
#
################################################################################
championships:
# reCAPTCHA is used to protect registration requests to championships. You
# must specify a site_key and secret_key to enable reCAPTCHA
# Register for reCAPTCHA here: https://www.google.com/recaptcha
# Please note you must register for reCAPTCHA v2.
#
# Note: reCAPTCHA is NOT required, but highly recommended if you are running
# Championship Sign Up Forms
recaptcha:
site_key:
secret_key:
 
################################################################################
#
# Assetto Server Manager Configuration
# https://github.com/cj123/assetto-server-manager
#
# Thanks for using server manager!
#
#
# note that changes to this file require a restart of server manager to work! :)
#
#
# The below file is in YAML configuration format. Spacing is important within
# YAML, and can cause server manager not to launch correctly. You can validate
# this file online at: http://www.yamllint.com/
#
################################################################################

################################################################################
#
# steam settings - server manager can install the assetto corsa
# server for you using steamcmd (if you'd like)
#
################################################################################
#steam:
# steam username and password. we recommend creating a separate account with
# steamguard disabled to use this application. Assetto Corsa Server is FREE
# so you don't need to worry about purchasing it again.
#
# server manager uses this information ONLY to install the
# assetto corsa server.
#
# however, if you do not wish to provide server manager with this information,
# leave it blank and install assetto corsa server to the path you specified in
# install_path (default: 'assetto')
username: **********
password: **********

# where to install assetto corsa server
install_path: A:\Program Files (x86)\Steam\steamapps\common\assettocorsa\server

# the path to the executable to run. relative to the install_path by default
executable_path: acServer.exe

# set this to true to force an install every time the server manager is loaded
force_update: false

################################################################################
#
# http settings
#
################################################################################
http:
# hostname is the hostname the HTTP server should listen on.
# change '0.0.0.0' to 'localhost' if you don't want server manager to be
# available on the web.
hostname: 0.0.0.0:8772

# session key is used to encrypt the http session
session_key: RANDOMLY_GENERATE_THIS

# server manager base URL is the URL that the server manager is accessible on
# only used for links in championship welcome message in game
# you can leave this blank if not required
# example: https://opengt3.assettocorsaservers.com <-- requires https:// or
# http://, no closing / at the end
server_manager_base_URL:

# session store type can be one of: 'cookie' or 'filesystem'
# if it is 'filesystem', you must set the session_store_path below.
# cookie is best for most users, but if you are running multiple Server
# Manager instances on the same IP address, you should use filesystem.
session_store_type: cookie

# session store path is where to save the session store
# (if using 'filesystem' above)
session_store_path:"A:\Program Files (x86)\Steam\steamapps\common\assettocorsa\server"

################################################################################
#
# monitoring - enabling monitoring allows us to find out more information
# about how you're using Server Manager, as well as seeing any issues that may
# occur so we can collect and fix them. We understand that you may not wish
# for us to do any monitoring, so you can disable it by setting 'enabled'
# to false
#
################################################################################
# with monitoring enabled, the following systems are in place:
#
# 1. Sentry (https://sentry.io) monitoring of both Server Manager's backend
# code and frontend javascript. This lets us see application errors when
# they occur.
#
# 2. Google Analytics (https://analytics.google.com) tracking so we can see how
# many people use Server Manager, when they use it and where they are in
# the world.
#
# 3. Prometheus Monitoring - this provides more technical debugging in terms of
# memory and CPU usage, etc. This is *NOT* sent to us. We have added this in
# so that anybody who wants to monitor Server Manager for themselves can do
# so with Prometheus. We use it internally at assettocorsaservers.com to
# track our Server installs to help us improve our service.
#
# you can access the prometheus endpoint at:
# <your servermanager domain>/metrics
#
#
# once again, if you do not wish for Server Manager to do these things, simply
# set 'enabled' to false and monitoring will not take place.
################################################################################
monitoring:
enabled: true

################################################################################
#
# data storage - where server manager keeps your data!
#
################################################################################
store:
# store type: this can be one of:
# - 'json' - saves each custom race, championship as separate JSON files
# in the directory specified by store_path
# - 'boltdb' - saves all content inside a single database file specified by
# store_path
#
# boltdb is recommended for most users.
type: boltdb

# where to save the server manager data
path: server_manager.db
# shared data path: Set the same directory for multiple AC Server Manager
# instances to share championship, entrants and custom events across them.
# Leave blank to use the same path as the one set up here.
# works only with JSON database
shared_data_path:

################################################################################
#
# user management - this is now mostly done via the web interface.
#
################################################################################
accounts:
# admin password override is used to override the admin password in the case
# that you have forgotten it. set it to e.g. 'password' and log in with:
# username: admin
# password: password
# and you will be prompted to change your admin password back to something you
# can remember
#
# If you are logging in for the first time, do not use this override system.
# Instead, log in by using these credentials:
# username: admin
# password: servermanager
# As soon as you log in, you will be immediately asked to set a new password.
#
admin_password_override:

################################################################################
#
# live map config
#
################################################################################
live_map:
# how often to refresh the map data in milliseconds. This value can't be below
# 200. If you find that championship events do not finish properly, try
# changing this to a higher number.
# set this to 0 to disable live map.
refresh_interval_ms: 500


################################################################################
#
# server config - configure plugins, e.g. kissmyrank here.
#
################################################################################
server:
# audit logging logs the actions of registered users locally on your server.
# Only Admins can access the logs, they are intended for tracking if users
# have deleted content, started/stopped events when they shouldn't have etc.
audit_logging: true
# performance mode disables live timing entirely, and prioritises low cpu
# usage.
performance_mode: false
# list of commands to run on server start and kill on server stop. this should
# contain the full command with arguments to run the given program.
#
# note: if you are looking for stracker support, Server Manager supports it via
# the UI! Go to the "STracker" page in Server Manager for more instructions.
#
# you can use additional plugins with AC Server Manager, but while configuring
# them you have to ignore the ports that AC Server Manager writes in the
# server_cfg.ini, as the Server Manager provides an interface to the plugins
# instead. The plugin ports in the Server Options page are the ones that must
# be used for the plugin configuration. Here is an example for configuring KMR:
#
# KMR:
# - ac_server_http_port must equal the value of HTTP Port
# - ac_server_plugin_local_port must equal the value of UDP Plugin Local Port
# - ac_server_plugin_address_port must equal the port from the UDP Plugin Address
# - web_auth_server_port must equal the port specified in UDP Auth Plugin Address
# - UDP Auth Plugin Address has to be configured in the way specified by KMR documentation
#
# Note that AC Server Manager provides an interface for a single plugin only,
# as the AC gameserver does. If you want to chain multiple plugins, please
# follow the documentation of the plugins you're using. Plugins usually
# feature interfaces so additional plugins can be chained between themselves.
#
# you can of course add your own commands (whatever you like!) here.
#
# each executable specified is run from the directory it is inside, for example,
# the command:
#
# ./my/cool/plugin/path/run.sh --some-opt config.json
# now actually performs the following two commands:
#
# 1. cd ./my/cool/plugin/path
# 2. ./run.sh --some-opt config.json
run_on_start:
# e.g. uncomment the line below to run a 'start.sh' for kissmyrank
# - ./assetto/kissmyrank/start.sh

################################################################################
#
# championships
#
################################################################################
championships:
# reCAPTCHA is used to protect registration requests to championships. You
# must specify a site_key and secret_key to enable reCAPTCHA
# Register for reCAPTCHA here: https://www.google.com/recaptcha
# Please note you must register for reCAPTCHA v2.
#
# Note: reCAPTCHA is NOT required, but highly recommended if you are running
# Championship Sign Up Forms
recaptcha:
site_key:
secret_key:

Hi,

Looks to me that this is caused by the "steam" section (the very first section) in the config being commented out with a #. I'm not sure why it's throwing the error that it is from that, but I tried it on my system and had the same result, so I'm fairly confident that's the problem!

Thanks
 
I setup a server for 24h (1440 mins) with 1x time progression using SOL integration enabled. However the server time stops progressing after 5hrs exactly. Any reason for this?
 
Hi,
there is a issue in the server_cfg.ini with the ports


Code:
UDP_PORT=9661
TCP_PORT=9661
HTTP_PORT=9662
UDP_PLUGIN_LOCAL_PORT=61021
UDP_PLUGIN_ADDRESS=127.0.0.1:61022
AUTH_PLUGIN_ADDRESS=
REGISTER_TO_LOBBY=1
SM_issue_ports.PNG


The Portnumbers are wrong.
Thanks for fixing it.
I need the correct portnumbers in the server_cfg.ini please.
 
Hiya,
using ACSM is lovely, only thing i miss is having different "custom race playlists" to change between the configured (and autoplaying) stuff, like having a GT3 series and an F1 series configured would help alot to not seach for ages for the next race - also having started a "custom race" does auto-reload the current race instead of the next autoplay.
Haven't used championships yet as i'd have to create accounts for everyone who races, and an integration to like our burning board forum seems to be complicated with a plugin - or as i've read now with steam, will try that.
Also the integrated permission levels are kind of non-descriptive in terms of can somebody with "read" register to a chamionship or not?
A real documentation would be wonderful, that could for example tell me if upgrading to the newer version with discord integration could give me a simple non-web championship registration.
 
I setup a server for 24h (1440 mins) with 1x time progression using SOL integration enabled. However the server time stops progressing after 5hrs exactly. Any reason for this?

Hi, sorry to just point you in a different direction but I believe this is an issue/limitation with Sol itself. I remember reading about it on the Sol Discord at some point and I think there was a solution, you would be best off asking them!

Thanks!
 

Latest News

What's needed for simracing in 2024?

  • More games, period

  • Better graphics/visuals

  • Advanced physics and handling

  • More cars and tracks

  • AI improvements

  • AI engineering

  • Cross-platform play

  • New game Modes

  • Other, post your idea


Results are only viewable after voting.
Back
Top