JustaPenguin / assetto-server-manager

A web interface to manage an Assetto Corsa Server.
https://github.com/JustaPenguin/assetto-server-manager/releases
MIT License
277 stars 70 forks source link

Can't enable lua plugins with multiserver and Docker #1026

Open irudoy opened 3 years ago

irudoy commented 3 years ago

Describe the bug Tried to enable Lua plugins, but it doesn't work.

Have this in logs:

assetto-multiserver_1  | time="2020-11-02T14:51:49Z" level=error msg="manager start plugin script failed" error="open ./plugins/manager.lua: no such file or directory"

I guess that I should add volume with all the plugins, but don't know what exact path should I mount.

Desktop (please complete the following information):

samkatakouzinos commented 3 years ago

I also uncovered this issue.

assetto-server-manager does not create nor link a 'plugins' folder under \multiserver\servers\SERVER_xx when creating servers. It creates the 'assetto' folder for each server though which seems to be copied from \multiserver\assetto.

I have manually copied the 'plugins' folder which is alongside \multiserver to each server instance.

It could easily be an automated process like the 'assetto' folder.