OpenFactorioServerManager / factorio-server-manager

A tool to help manage Factorio multiplayer servers including mods and save games.
MIT License
557 stars 133 forks source link

Cannot Upload Mods #113

Closed Rosentti closed 6 years ago

Rosentti commented 6 years ago

When I try to upload mods, all i get is upload failed, however i can upload saves just fine. I am running it on openmediavault docker and i have the following ports opened: 8080 43081 34197 those ports are opened to the main ip address of my server(192.168.0.119) from 0.0.0.0(aka. docker container) Error Message: Something went wrong with the file upload operation. Please try again later! Edit: It Is Also Running In Priviledged Mode Edit2: When i try to download it from the add mod section, it slams me with that: Some error occurred and a big fat red X

knoxfighter commented 6 years ago

What is the error, that is shown in the Backend console?

Rosentti commented 6 years ago

I am sorry i could not reply faster, i had to reinstall openmediavault, as i accidentally pressed the wrong powerbar´s switch and corrupted the filesystem.

Well, back to the subject in hand, i reinstalled factorio server manager, i tryed to upload the mods and the error persisted. The Backend Console? I only see console on the bottom.(https://drive.google.com/open?id=1T16I3QWJSAz9rQH2Z0WStEXm9EO3QbJn) Also, the console is empty. The Log: No SSL key found. generating new key and certificate Generating a 2048 bit RSA private key .+++ ...+++ writing new private key to '/security/server.key'

2018/06/17 21:43:34 no ModPackDir found ... creating one ... 2018/06/17 21:43:34 Server settings at /opt/factorio/config/server-settings.json not found, copying example server settings. 2018/06/17 21:43:34 Loaded Factorio settings from /opt/factorio/config/server-settings.json nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use) 2018/06/17 21:43:34 Created/Updated user: admin 2018/06/17 21:43:34 Starting server on: 0.0.0.0:8080 nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use) nginx: [emerg] still could not bind() 2018/06/17 21:44:58 no mod-list.json found ... create new one ... 2018/06/17 21:46:50 http: panic serving 192.168.0.106:51890: runtime error: index out of range goroutine 51 [running]: net/http.(conn).serve.func1(0xc420176000) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc4207f2960, 0x26, 0x89fca0, 0xc420097520, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc4207f2960, 0x26, 0x89fca0, 0xc420097520, 0xc42081e090, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc420096ea0, 0xc42081e090, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc42081e090, 0xa764c0, 0xc420095bc0) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc4207fa6b8, 0xc4207f2900, 0x26) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.(ModInfoList).createMod(0xc4207fa6b8, 0xc42083a120, 0x9, 0xc420936660, 0x13, 0x89a220, 0xc42070c6f0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:205 +0x3fb main.(Mods).createMod(0xc4207fa690, 0xc42083a120, 0x9, 0xc420936660, 0x13, 0x89a220, 0xc42070c6f0, 0x50, 0x50) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:113 +0xcc main.(Mods).uploadMod(0xc4207fa690, 0xc4207bc0a0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:207 +0x58e main.UploadModHandler(0x89e540, 0xc4208ce000, 0xc420660100) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:379 +0x244 net/http.HandlerFunc.ServeHTTP(0x867160, 0x89e540, 0xc4208ce000, 0xc420660100) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4208ce000, 0xc420660100) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e9c0, 0x89e540, 0xc4208ce000, 0xc420660100) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4208ce000, 0xc420660100) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4208ce000, 0xc420688300) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc420176000, 0x89e900, 0xc420186500) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:46:53 http: panic serving 192.168.0.106:51891: runtime error: index out of range goroutine 52 [running]: net/http.(conn).serve.func1(0xc4201760a0) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc420098630, 0x26, 0x89fca0, 0xc4201321a0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc420098630, 0x26, 0x89fca0, 0xc4201321a0, 0xc42081e000, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4201320d0, 0xc42081e000, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc42081e000, 0xc42076d6d0, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc420658db0, 0xc420658db0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.UploadModHandler(0x89e540, 0xc4201c61c0, 0xc420688200) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:376 +0x124 net/http.HandlerFunc.ServeHTTP(0x867160, 0x89e540, 0xc4201c61c0, 0xc420688200) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4201c61c0, 0xc420688200) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e9c0, 0x89e540, 0xc4201c61c0, 0xc420688200) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4201c61c0, 0xc420688200) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4201c61c0, 0xc420661200) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc4201760a0, 0x89e900, 0xc42006a3c0) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:46:57 http: panic serving 192.168.0.106:51903: runtime error: index out of range goroutine 63 [running]: net/http.(conn).serve.func1(0xc42080c820) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc420098330, 0x26, 0x89fca0, 0xc4201321a0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc420098330, 0x26, 0x89fca0, 0xc4201321a0, 0xc420782040, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4201320d0, 0xc420782040, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc420782040, 0xc42076d6d0, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc420658690, 0xc420658690, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.UploadModHandler(0x89e540, 0xc4201c62a0, 0xc420688700) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:376 +0x124 net/http.HandlerFunc.ServeHTTP(0x867160, 0x89e540, 0xc4201c62a0, 0xc420688700) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4201c62a0, 0xc420688700) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e9c0, 0x89e540, 0xc4201c62a0, 0xc420688700) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4201c62a0, 0xc420688700) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4201c62a0, 0xc420688400) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc42080c820, 0x89e900, 0xc420682540) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:47:00 Waiting for /opt/factoriofactorio-server-console.log to appear... 2018/06/17 21:47:09 listing users: 1 found 2018/06/17 21:47:11 Loading config file: /opt/factorio/config/config.ini 2018/06/17 21:47:11 Error loading config.ini file: open /opt/factorio/config/config.ini: no such file or directory 2018/06/17 21:47:11 Could not retrieve config.ini: open /opt/factorio/config/config.ini: no such file or directory 2018/06/17 21:47:11 Sent config.ini response 2018/06/17 21:47:11 Sent server settings response 2018/06/17 21:49:43 Waiting for /opt/factorio/factorio-current.log to appear... 2018/06/17 21:49:44 http: panic serving 192.168.0.106:51912: runtime error: index out of range goroutine 89 [running]: net/http.(conn).serve.func1(0xc42005f5e0) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc4207f2990, 0x26, 0x89fca0, 0xc420097930, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc4207f2990, 0x26, 0x89fca0, 0xc420097930, 0xc4201a0310, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc420097860, 0xc4201a0310, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc4201a0310, 0xc4206e5730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc42070ccf0, 0xc42070ccf0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc42061c000, 0xc42062e200) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc42061c000, 0xc42062e200) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc42061c000, 0xc42062e200) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc42061c000, 0xc42062e200) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc42061c000, 0xc42062e200) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc42061c000, 0xc42062e000) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc42005f5e0, 0x89e900, 0xc42081a040) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:49:44 http: panic serving 192.168.0.106:51910: runtime error: index out of range goroutine 79 [running]: net/http.(conn).serve.func1(0xc42080dcc0) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc4207f2f60, 0x26, 0x89fca0, 0xc420097e10, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc4207f2f60, 0x26, 0x89fca0, 0xc420097e10, 0xc4201a0660, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc420097d40, 0xc4201a0660, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc4201a0660, 0xc4206e9730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc42070d230, 0xc42070d230, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc42061c1c0, 0xc42062e400) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc42061c1c0, 0xc42062e400) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc42061c1c0, 0xc42062e400) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc42061c1c0, 0xc42062e400) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc42061c1c0, 0xc42062e400) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc42061c1c0, 0xc420660400) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc42080dcc0, 0x89e900, 0xc42006b200) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:49:44 http: panic serving 192.168.0.106:51913: runtime error: index out of range goroutine 115 [running]: net/http.(conn).serve.func1(0xc4201761e0) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc4207f3530, 0x26, 0x89fca0, 0xc4200be340, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc4207f3530, 0x26, 0x89fca0, 0xc4200be340, 0xc4201a0970, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4200be270, 0xc4201a0970, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc4201a0970, 0xc4206e9730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc42070d800, 0xc42070d800, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc42061c2a0, 0xc42062e700) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc42061c2a0, 0xc42062e700) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc42061c2a0, 0xc42062e700) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc42061c2a0, 0xc42062e700) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc42061c2a0, 0xc42062e700) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc42061c2a0, 0xc42062e500) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc4201761e0, 0x89e900, 0xc42081a840) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:49:44 http: panic serving 192.168.0.106:51914: runtime error: index out of range goroutine 116 [running]: net/http.(conn).serve.func1(0xc420176280) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc420098ba0, 0x26, 0x89fca0, 0xc420132820, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc420098ba0, 0x26, 0x89fca0, 0xc420132820, 0xc4207823f0, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc420132410, 0xc4207823f0, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc4207823f0, 0xc4208d7730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc4201e1c80, 0xc4201e1c80, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc4201360e0, 0xc420660900) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc4201360e0, 0xc420660900) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4201360e0, 0xc420660900) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc4201360e0, 0xc420660900) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4201360e0, 0xc420660900) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4201360e0, 0xc420660500) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc420176280, 0x89e900, 0xc4206827c0) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:49:44 http: panic serving 192.168.0.106:51915: runtime error: index out of range goroutine 64 [running]: net/http.(conn).serve.func1(0xc42074c280) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc4201b2390, 0x26, 0x89fca0, 0xc4209d4270, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc4201b2390, 0x26, 0x89fca0, 0xc4209d4270, 0xc42081e4e0, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4209d41a0, 0xc42081e4e0, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc42081e4e0, 0xc4208d3730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc42001e720, 0xc42001e720, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc420866380, 0xc4208ba200) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc420866380, 0xc4208ba200) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc420866380, 0xc4208ba200) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc420866380, 0xc4208ba200) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc420866380, 0xc4208ba200) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc420866380, 0xc4208ba000) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc42074c280, 0x89e900, 0xc4201860c0) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:49:44 http: panic serving 192.168.0.106:51916: runtime error: index out of range goroutine 130 [running]: net/http.(conn).serve.func1(0xc42074c3c0) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc42068ff50, 0x26, 0x89fca0, 0xc4201aa820, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc42068ff50, 0x26, 0x89fca0, 0xc4201aa820, 0xc420165730, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4201aa750, 0xc420165730, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc420165730, 0xc42630d730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc420175c20, 0xc420175c20, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc4201c67e0, 0xc420689900) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc4201c67e0, 0xc420689900) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4201c67e0, 0xc420689900) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc4201c67e0, 0xc420689900) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4201c67e0, 0xc420689900) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4201c67e0, 0xc420689500) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc42074c3c0, 0x89e900, 0xc42006b340) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:49:44 http: panic serving 192.168.0.106:51917: runtime error: index out of range goroutine 118 [running]: net/http.(conn).serve.func1(0xc420176d20) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc426312540, 0x26, 0x89fca0, 0xc4201aad00, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc426312540, 0x26, 0x89fca0, 0xc4201aad00, 0xc4206b40a0, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4201aac30, 0xc4206b40a0, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc4206b40a0, 0xc42630d730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc420095c50, 0xc420095c50, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc4201c69a0, 0xc420689c00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc4201c69a0, 0xc420689c00) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4201c69a0, 0xc420689c00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc4201c69a0, 0xc420689c00) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4201c69a0, 0xc420689c00) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4201c69a0, 0xc420689a00) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc420176d20, 0x89e900, 0xc42006b740) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:49:44 http: panic serving 192.168.0.106:51918: runtime error: index out of range goroutine 105 [running]: net/http.(conn).serve.func1(0xc4206a2780) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc4200991a0, 0x26, 0x89fca0, 0xc420132dd0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc4200991a0, 0x26, 0x89fca0, 0xc420132dd0, 0xc420782730, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc420132d00, 0xc420782730, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc420782730, 0xc4208d7730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc420736660, 0xc420736660, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc420136540, 0xc420660e00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc420136540, 0xc420660e00) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc420136540, 0xc420660e00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc420136540, 0xc420660e00) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc420136540, 0xc420660e00) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc420136540, 0xc420660b00) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc4206a2780, 0x89e900, 0xc420682d80) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:49:44 http: panic serving 192.168.0.106:51919: runtime error: index out of range goroutine 120 [running]: net/http.(conn).serve.func1(0xc420176fa0) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc420099770, 0x26, 0x89fca0, 0xc420133380, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc420099770, 0x26, 0x89fca0, 0xc420133380, 0xc420782ae0, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4201332b0, 0xc420782ae0, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc420782ae0, 0xc4208d7730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc420736cc0, 0xc420736cc0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc420136700, 0xc420661300) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc420136700, 0xc420661300) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc420136700, 0xc420661300) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc420136700, 0xc420661300) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc420136700, 0xc420661300) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc420136700, 0xc420660f00) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc420176fa0, 0x89e900, 0xc420683180) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:49:44 http: panic serving 192.168.0.106:51920: runtime error: index out of range goroutine 106 [running]: net/http.(conn).serve.func1(0xc4206a2820) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc426312b10, 0x26, 0x89fca0, 0xc4201ab110, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc426312b10, 0x26, 0x89fca0, 0xc4201ab110, 0xc4206b43f0, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4201ab040, 0xc4206b43f0, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc4206b43f0, 0xc42630d730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc420182690, 0xc420182690, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc4201c6b60, 0xc420689f00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc4201c6b60, 0xc420689f00) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4201c6b60, 0xc420689f00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc4201c6b60, 0xc420689f00) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4201c6b60, 0xc420689f00) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4201c6b60, 0xc420689d00) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc4206a2820, 0x89e900, 0xc42006bbc0) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:49:56 Uploading save file 2018/06/17 21:49:56 Uploaded save file: Factorio Playthrough plus 1.zip 2018/06/17 21:50:02 http: panic serving 192.168.0.106:51911: runtime error: index out of range goroutine 80 [running]: net/http.(conn).serve.func1(0xc42080dd60) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc4201b31d0, 0x26, 0x89fca0, 0xc4209d49c0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc4201b31d0, 0x26, 0x89fca0, 0xc4209d49c0, 0xc42081f080, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4209d48f0, 0xc42081f080, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc42081f080, 0xc420765730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc42078cc90, 0xc42078cc90, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc4208670a0, 0xc4208bab00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc4208670a0, 0xc4208bab00) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4208670a0, 0xc4208bab00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc4208670a0, 0xc4208bab00) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4208670a0, 0xc4208bab00) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4208670a0, 0xc4208ba900) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc42080dd60, 0x89e900, 0xc4206828c0) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:50:02 http: panic serving 192.168.0.106:51921: runtime error: index out of range goroutine 122 [running]: net/http.(conn).serve.func1(0xc420177220) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc4201b3860, 0x26, 0x89fca0, 0xc4209d4dd0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc4201b3860, 0x26, 0x89fca0, 0xc4209d4dd0, 0xc42081f510, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4209d4d00, 0xc42081f510, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc42081f510, 0xc42630d730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc42078d1d0, 0xc42078d1d0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc420867260, 0xc4208bad00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc420867260, 0xc4208bad00) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc420867260, 0xc4208bad00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc420867260, 0xc4208bad00) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc420867260, 0xc4208bad00) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc420867260, 0xc42062ea00) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc420177220, 0x89e900, 0xc42006bf40) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:50:02 http: panic serving 192.168.0.106:51922: runtime error: index out of range goroutine 109 [running]: net/http.(conn).serve.func1(0xc4206a2a00) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc420099d40, 0x26, 0x89fca0, 0xc420133790, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc420099d40, 0x26, 0x89fca0, 0xc420133790, 0xc420782f10, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4201336c0, 0xc420782f10, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc420782f10, 0xc426309730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc420737260, 0xc420737260, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc4201367e0, 0xc420661800) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc4201367e0, 0xc420661800) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4201367e0, 0xc420661800) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc4201367e0, 0xc420661800) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4201367e0, 0xc420661800) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4201367e0, 0xc420661500) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc4206a2a00, 0x89e900, 0xc4200a5680) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:50:02 http: panic serving 192.168.0.106:51923: runtime error: index out of range goroutine 111 [running]: net/http.(conn).serve.func1(0xc42089e140) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc425e2a330, 0x26, 0x89fca0, 0xc420133ba0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc425e2a330, 0x26, 0x89fca0, 0xc420133ba0, 0xc4207833b0, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc420133ad0, 0xc4207833b0, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc4207833b0, 0xc426309730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc4207378c0, 0xc4207378c0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc420136c40, 0xc420661b00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc420136c40, 0xc420661b00) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc420136c40, 0xc420661b00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc420136c40, 0xc420661b00) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc420136c40, 0xc420661b00) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc420136c40, 0xc420661900) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc42089e140, 0x89e900, 0xc420683800) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:50:02 http: panic serving 192.168.0.106:51924: runtime error: index out of range goroutine 112 [running]: net/http.(conn).serve.func1(0xc42089e1e0) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc425e2a900, 0x26, 0x89fca0, 0xc425e44000, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc425e2a900, 0x26, 0x89fca0, 0xc425e44000, 0xc420783730, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc420133ee0, 0xc420783730, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc420783730, 0xc426309730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc420737e90, 0xc420737e90, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc420136fc0, 0xc420661e00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc420136fc0, 0xc420661e00) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc420136fc0, 0xc420661e00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc420136fc0, 0xc420661e00) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc420136fc0, 0xc420661e00) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc420136fc0, 0xc420661c00) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc42089e1e0, 0x89e900, 0xc420683c00) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:50:02 http: panic serving 192.168.0.106:51925: runtime error: index out of range goroutine 113 [running]: net/http.(conn).serve.func1(0xc42089e280) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc426313680, 0x26, 0x89fca0, 0xc4201ab930, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc426313680, 0x26, 0x89fca0, 0xc4201ab930, 0xc4206b4c50, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4201ab860, 0xc4206b4c50, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc4206b4c50, 0xc420765730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc4201838c0, 0xc4201838c0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc4201c7500, 0xc42099a900) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc4201c7500, 0xc42099a900) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4201c7500, 0xc42099a900) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc4201c7500, 0xc42099a900) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4201c7500, 0xc42099a900) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4201c7500, 0xc42099a700) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc42089e280, 0x89e900, 0xc4200a5c00) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:50:02 http: panic serving 192.168.0.106:51926: runtime error: index out of range goroutine 126 [running]: net/http.(conn).serve.func1(0xc425e72000) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc426313c50, 0x26, 0x89fca0, 0xc4201abd40, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc426313c50, 0x26, 0x89fca0, 0xc4201abd40, 0xc4206b4f80, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc4201abc70, 0xc4206b4f80, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc4206b4f80, 0xc420765730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc420183e90, 0xc420183e90, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc4201c77a0, 0xc42099ac00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc4201c77a0, 0xc42099ac00) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4201c77a0, 0xc42099ac00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc4201c77a0, 0xc42099ac00) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4201c77a0, 0xc42099ac00) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4201c77a0, 0xc42099aa00) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc425e72000, 0x89e900, 0xc4200a5f80) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:50:02 http: panic serving 192.168.0.106:51927: runtime error: index out of range goroutine 148 [running]: net/http.(conn).serve.func1(0xc42089e460) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc425e8e240, 0x26, 0x89fca0, 0xc425e901a0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc425e8e240, 0x26, 0x89fca0, 0xc425e901a0, 0xc4206b52f0, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc425e900d0, 0xc4206b52f0, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc4206b52f0, 0xc420765730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc42090a5a0, 0xc42090a5a0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc4201c7960, 0xc42099af00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc4201c7960, 0xc42099af00) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4201c7960, 0xc42099af00) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc4201c7960, 0xc42099af00) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4201c7960, 0xc42099af00) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4201c7960, 0xc42099ad00) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc42089e460, 0x89e900, 0xc425e74300) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:50:02 http: panic serving 192.168.0.106:51928: runtime error: index out of range goroutine 127 [running]: net/http.(conn).serve.func1(0xc425e720a0) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc425e8e810, 0x26, 0x89fca0, 0xc425e905b0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc425e8e810, 0x26, 0x89fca0, 0xc425e905b0, 0xc4206b5660, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc425e904e0, 0xc4206b5660, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc4206b5660, 0xc420765730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc42090ab70, 0xc42090ab70, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc4201c7a40, 0xc42099b200) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc4201c7a40, 0xc42099b200) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc4201c7a40, 0xc42099b200) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc4201c7a40, 0xc42099b200) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc4201c7a40, 0xc42099b200) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc4201c7a40, 0xc42099b000) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc425e720a0, 0x89e900, 0xc425e74680) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:50:02 http: panic serving 192.168.0.106:51929: runtime error: index out of range goroutine 151 [running]: net/http.(conn).serve.func1(0xc42089e640) /usr/lib/go/src/net/http/server.go:1726 +0xd0 panic(0x7ca740, 0xa69970) /usr/lib/go/src/runtime/panic.go:502 +0x229 main.(ModInfoList).listInstalledMods.func1(0xc425e2aed0, 0x26, 0x89fca0, 0xc425e44410, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:80 +0x892 path/filepath.walk(0xc425e2aed0, 0x26, 0x89fca0, 0xc425e44410, 0xc420783b60, 0x0, 0x0) /usr/lib/go/src/path/filepath/path.go:357 +0x402 path/filepath.walk(0xc4200b4740, 0x12, 0x89fca0, 0xc425e44340, 0xc420783b60, 0x0, 0x10) /usr/lib/go/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4200b4740, 0x12, 0xc420783b60, 0xc426309730, 0x411f78) /usr/lib/go/src/path/filepath/path.go:403 +0x106 main.(ModInfoList).listInstalledMods(0xc425ea8540, 0xc425ea8540, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:50 +0x97 main.newModInfoList(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_modInfo.go:37 +0xc8 main.newMods(0xc4200b4740, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mod_Mods.go:41 +0x20a main.listInstalledModsHandler(0x89e540, 0xc420137ce0, 0xc426372100) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/mods_handler.go:26 +0xc2 net/http.HandlerFunc.ServeHTTP(0x867188, 0x89e540, 0xc420137ce0, 0xc426372100) /usr/lib/go/src/net/http/server.go:1947 +0x44 main.AuthorizeHandler.func1(0x89e540, 0xc420137ce0, 0xc426372100) /home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233 net/http.HandlerFunc.ServeHTTP(0xc42061e160, 0x89e540, 0xc420137ce0, 0xc426372100) /usr/lib/go/src/net/http/server.go:1947 +0x44 github.com/gorilla/mux.(Router).ServeHTTP(0xc4200a2190, 0x89e540, 0xc420137ce0, 0xc426372100) /home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc net/http.serverHandler.ServeHTTP(0xc420097040, 0x89e540, 0xc420137ce0, 0xc420661f00) /usr/lib/go/src/net/http/server.go:2694 +0xbc net/http.(conn).serve(0xc42089e640, 0x89e900, 0xc420683f80) /usr/lib/go/src/net/http/server.go:1830 +0x651 created by net/http.(*Server).Serve /usr/lib/go/src/net/http/server.go:2795 +0x27b 2018/06/17 21:50:11 Waiting for /opt/factorio/factorio-current.log to appear... 2018/06/17 21:50:13 Waiting for /opt/factoriofactorio-server-console.log to appear...`

Rosentti commented 6 years ago

I dont know if this is related, but i got an error code 2 from the container. Edit: After I Start the server, the container crashes.. Update: i can know start the server again, turns out there was a mod in one of the volumes.

knoxfighter commented 6 years ago

Sorry for my slow response. It seems like you installed an invalid mod (invalid mod-info.json), i dont read the mod-info.json correctly or something in general went wrong. Can you please tell me, which mod you tried to install, so i can reproduce this error. @TheSeriusYoutuber

Rosentti commented 6 years ago

AddAssemblerBatteries

Rosentti commented 6 years ago

it turns out the docker plugin corrupted the filesystem, not me pressing the wrong powerbar. Well i will use the linux version of this then. I will change the title of this issue to correspond to that.

knoxfighter commented 6 years ago

ok, i still dont can reproduce this error.

Can you please send me more Informations:

It could also be a compatibility-problem with OpenMediaVault.

Rosentti commented 6 years ago

update: This is the new log i am getting when i try to upload mods: 018/06/20 15:17:41 http: panic serving 192.168.0.106:63146: runtime error: invalid memory address or nil pointer dereference
goroutine 87 [running]:
net/http.(conn).serve.func1(0xc42059e3c0)
/usr/lib/go/src/net/http/server.go:1726 +0xd0
panic(0x7ca740, 0xa69930)
/usr/lib/go/src/runtime/panic.go:502 +0x229
main.listSaves.func1(0xc420026840, 0x13, 0x0, 0x0, 0x89ae00, 0xc420aaa090, 0x10, 0x7ded40)
/home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/saves.go:27 +0x40
path/filepath.Walk(0xc420026840, 0x13, 0xc420152e30, 0xc, 0x855093)
/usr/lib/go/src/path/filepath/path.go:401 +0x6c
main.listSaves(0xc420026840, 0x13, 0xc, 0x855093, 0x1e, 0x5, 0x0)
/home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/saves.go:26 +0xc0
main.ListSaves(0x89e540, 0xc420640620, 0xc420626a00)
/home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/handlers.go:37 +0xa0
net/http.HandlerFunc.ServeHTTP(0x8670a0, 0x89e540, 0xc420640620, 0xc420626a00)
/usr/lib/go/src/net/http/server.go:1947 +0x44
main.AuthorizeHandler.func1(0x89e540, 0xc420640620, 0xc420626a00)
/home/mitch/src/go/src/github.com/mroote/factorio-server-manager/src/routes.go:116 +0x233
net/http.HandlerFunc.ServeHTTP(0xc42017ab40, 0x89e540, 0xc420640620, 0xc420626a00)
/usr/lib/go/src/net/http/server.go:1947 +0x44
github.com/gorilla/mux.(
Router).ServeHTTP(0xc4200987d0, 0x89e540, 0xc420640620, 0xc420626a00)
/home/mitch/src/go/src/github.com/gorilla/mux/mux.go:114 +0xdc
net/http.serverHandler.ServeHTTP(0xc420124680, 0x89e540, 0xc420640620, 0xc4200dc700)
/usr/lib/go/src/net/http/server.go:2694 +0xbc
net/http.(conn).serve(0xc42059e3c0, 0x89e900, 0xc420abeb80)
/usr/lib/go/src/net/http/server.go:1830 +0x651
created by net/http.(
Server).Serve
/usr/lib/go/src/net/http/server.go:2795 +0x27b

Rosentti commented 6 years ago

Status Update: IT WORKS! The Problem was an underscrore in the name of a mod(_IconSize) Status Update2: IT DOESNT WORKS! lol, i cannot upload many mods at the same time, see error log above(that like 26 times) Edit: Loading mod AssemblyZero 0.2.2 (data.lua)
2018/06/20 15:35:26 Factorio Server: 1.281 Loading mod autorecyclingplant 0.16.1 (data.lua)
2018/06/20 15:35:26 Factorio Server: 1.501 Loading mod base 0.16.51 (data-updates.lua)
2018/06/20 15:35:26 Factorio Server: 1.721 Loading mod Advanced_Circuits_x2 1.0.0 (data-updates.lua)
2018/06/20 15:35:27 Factorio Server: 1.940 Loading mod AddAssemblerBatteries 0.16.1 (data-final-fixes.lua)
2018/06/20 15:35:27 Factorio Server: 2.159 Loading mod autorecyclingplant 0.16.1 (data-final-fixes.lua) found that in the logs, turns out some mods got installed. Also: In the heart of openmediavault, it is just debian

Rosentti commented 6 years ago

it seems like there is a detection problem with the mods, since the mods folder has mods, but they dont show up in your program...

Rosentti commented 6 years ago

factorio version: 0.16.51 contents of mod-list.json: } "mods": [ { "name": "base", "enabled": true }, { "name": "AddAssemblerBatteries", "enabled": true }, { "name": "Advanced_Circuits_x2", "enabled": true }, { "name": "AssemblyZero", "enabled": true } ] }

Rosentti commented 6 years ago

Update: I Can Now Download Mods From The Mód Portal API. The problem was mods in the mods folder of factorio server(not manager). Suggestions: I recommend adding a feature that it auto-detects the mods and puts them in the web gui. And if the mod exists and if there is an update it should update it.

knoxfighter commented 6 years ago

hi, normally mods show up, if they are not listed in the mods-list,json, but then you cant switch its activation status. Yes, it would be great to have the mods-list.json automatically updated, if unknown mod-files are found. I will implement this in a few weeks.

It is great, that its now working, hopefully this error will never come back. And if it comes back, i will look much deeper and with much more effort and more time. It also seems (only in the last stacktrace you sent), that you tried to upload mods in the saves category (to the save-route)

Rosentti commented 6 years ago

ok, i will close this issue. Thank you.