Open janwillemb opened 11 months ago
Same here. I ran docker-compose up
and everything looks fine except it fails to load the lexicon file.
Browsing http://localhost:8830 gives me 502 bad gateway as well.
I noticed:
tscan-tscan-1 | 11:09:07.34: Starting wopr 1.43
So you use the latest version from Git. Unfortunately I performed al lot of code cleaning to it, without a proper testbed. Therefor I didn't release it, (nor planning a release)
I suggest to try to revert to the release 1.42 But that won't fix missing files of course
@kosloot do you recommend any specific branch to build the docker image?
We are using wopr as it is specified in the Dockerfile line 130. It is simply cloning the wopr repo.
I ve also checked previous releases like https://github.com/UUDigitalHumanitieslab/tscan/releases/tag/v0.9.8 but they look deprecated since they do not support docker.
@kosloot do you recommend any specific branch to build the docker image?
No, I have no say at all in the Tscan releases and/or the the Docker builds. I only wanted to note that the Git version of Wopr might not be the first choice. It is old and flaky software anyway. But switching to an older version will not resolve missing files, they should be provided in the image I assume.
docker-compose up leads to a successful build and the container is listening on port 80. But when browsing to port 80: bad gateway.
In the log tscan complains:
Indeed, there is no lex file in the directory /usr/local/share/tscan/: