17 Jun 2020 |
Mathijs | or can't I be lazy? | 15:14:38 |
Michael (t3chguy) | lemme check what its based on | 15:15:00 |
Michael (t3chguy) | https://hub.docker.com/r/matrixdotorg/matrix-static/dockerfile | 15:15:09 |
Michael (t3chguy) | its based on alpine, not sure how happy alpine bins are on debian | 15:15:21 |
Michael (t3chguy) | but it sure is worth a try :D | 15:15:24 |
Mathijs | In reply to @x:riot.ovh its based on alpine, not sure how happy alpine bins are on debian hmm, too bad :P | 15:15:46 |
Mathijs | but I'll give it a shot | 15:15:51 |
Mathijs | I suppose it's a bit counter to the f-droid nature to not compile it myself, though :) | 15:16:31 |
Mathijs | Michael (t3chguy): is this supposed to happen?
docker run -v $(pwd)/config.json:/opt/matrix-static/config.json -p 8000:8000 -it matrixstatic
INFO[0000] Matrix-Static ({ConfigFile:./config.json NumWorkers:32 PublicServePrefix:/ EnablePrometheusMetrics:false EnablePprof:false LastAccessDiscardDuration:30m0s KeepAtLeastNRooms:10 LogDir:})
ERRO[0000] Unable to start new Client error="no user configuration found"
| 20:57:09 |
Mathijs | (note that there is indeed a 777-chmod config.json in $(pwd)/config.json ) | 20:57:38 |
Michael (t3chguy) | apparently that means you're missing the home_server field | 20:58:14 |
Michael (t3chguy) | https://github.com/matrix-org/matrix-static/blob/32cddd12c028937f1c1425c27e0909acba41c640/mxclient/mxclient.go#L136-L138 | 20:58:22 |
Michael (t3chguy) | that error is abysmal :( | 20:58:31 |
Michael (t3chguy) | !github create error no user configuration found is trash | 20:58:38 |
Mathijs | hah | 20:58:41 |
Mathijs | I just had a json fail :) | 20:58:47 |
Michael (t3chguy) | oh lol, that's an even worse error :D | 20:58:57 |
Mathijs | it wasn't even valid json | 20:59:02 |
Michael (t3chguy) | * oh lol, that's an even worse error then :D | 20:59:05 |
Michael (t3chguy) | !github create "check that the config json is even valid" | 20:59:20 |
Mathijs | though in fairness: it did indeed invalidate the home_server field | 20:59:26 |
Michael (t3chguy) | oh | 20:59:29 |
Michael (t3chguy) | I probably need the github bot in here to do that | 20:59:35 |
| Github joined the room. | 20:59:57 |
Mathijs | also: does matrix-static put logs anywhere? | 21:00:07 |
Michael (t3chguy) | !github create error no user configuration found is trash | 21:00:12 |
Github | Need to specify repo. Usage: !github create [owner/repo] "issue title" "description" | 21:00:13 |
Michael (t3chguy) | !github matrix-org/matrix-static create error no user configuration found is trash | 21:00:31 |
Michael (t3chguy) | argh | 21:00:31 |
Michael (t3chguy) | !github create matrix-org/matrix-static error no user configuration found is trash | 21:00:36 |