Closed JesusWithPants closed 1 year ago
Would you mind sending me the database record for that seasons' cvars?
SELECT * FROM season_cvar WHERE season_id = X
Where your season ID is the X.
Thanks!
I believe this is just the JSON parser failing due to the backslash.
As an aside, get5 doesn't really support workshop maps currently, I believe it's a bit flaky as of right now - https://github.com/splewis/get5/issues/755
So just a heads up about that as well :)
id | season_id | cvar_name | cvar_value |
---|---|---|---|
1 | 1 | min_players_to_ready | 5 |
2 | 1 | min_spectators_to_ready | 1 |
3 | 1 | players_per_team | 5 |
4 | 1 | maps_to_win | 1 |
5 | 1 | skip_veto | 0 |
6 | 1 | map_pool | de_inferno de_ancient de_nuke de_mirage de_overpass de_dust2 de_vertigo de_cache workshop\1542127528\de_cbble |
7 | 1 | spectators | |
8 | 1 | side_type | standard |
9 | 1 | map_sides |
Ran a test-match and it worked with said map, so no problems running it there, its more that the season data gets borked and refuses to load any season :/
For a temp workaround until I can fix this just do the following DB update query:
UPDATE season_cvar SET cvar_value = "de_inferno de_ancient de_nuke de_mirage de_overpass de_dust2 de_vertigo de_cache workshop\\1542127528\\de_cbble" WHERE id = 6;
That should fix the loading issue, but the API should be replacing those as well, just in the post and update calls do an additional replace for quotes, and forward slashes.
Alright, it's been updated in the master branch as well, so if you wait for the image to build this should be fixed for future updates :) but that SQL will fix your database as well.
docker exec -it get5db sh
Login to your db and then call that update command.
Checked latest build - works as expected now.
Describe the bug Adding workshop map to season causes HTTP 500 on season load.
To Reproduce Steps to reproduce the behavior:
workshop\1542127528\de_cbble
)Repeatable on any browser (as this seems to be a backend error)
CSGO Server info Dathost CSGO server instance
Host info Running on a VPS as docker instance, spawned by docker-composer file: