cs6-uniwue / Variance-Viewer

Automatic text comparison with an extendable variance classifier
GNU General Public License v3.0
8 stars 3 forks source link

Deployment via Docker results in 404 errors #16

Open Svetlana-Yatsyk opened 1 year ago

Svetlana-Yatsyk commented 1 year ago

Hello!

I am currently attempting to install Variance-Viewer on Mac, OS Ventura 13.4. I have tried both Docker and brew installations, but I'm encountering issues.

Docker Installation Issue:

I followed the Docker installation steps (docker-compose build followed by docker-compose up), and while the container appears to be created and started in Docker Desktop, I'm encountering an error 404 when trying to access the application.

Screenshot 2023-09-27 at 16 14 59

I attempted to change the ports in docker-compose.yaml to 8085:8080, but this didn't resolve the issue; I still received a 404 error.

I also tried adjusting the PATH in the Dockerfile (specifically, line 10) from /usr/local/tomcat/webapps/Variance-Viewer.war to /usr/local/tomcat/webapps.dist/webapps/Variance-Viewer.war and /usr/local/tomcat/webapps.dist/Variance-Viewer.war as suggested in this Docker forum post, but this didn't resolve the issue either.

Brew Installation Issue:

I also attempted the brew installation method, but I encountered an issue during the compilation step. Here's the error I received:

Failed to execute goal on project Variance-Viewer: Could not resolve dependencies for project Variance-Viewer:Variance-Viewer:war:1.0.0: Failed to collect dependencies at de.uniwue.mk.kall.formatConversion:TEIReader:jar:0.0.1-20180622.074951-1: Failed to read artifact descriptor for de.uniwue.mk.kall.formatConversion:TEIReader:jar:0.0.1-20180622.074951-1: The following artifacts could not be resolved: de.uniwue.mk.kall.formatConversion:TEIReader:pom:0.0.1-20180622.074951-1 (absent): Could not transfer artifact de.uniwue.mk.kall.formatConversion:TEIReader:pom:0.0.1-20180622.074951-1 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [uni-wuerzburg (http://artifactory-ls6.informatik.uni-wuerzburg.de/artifactory/libs-release/, default, releases+snapshots), snapshots (http://artifactory-ls6.informatik.uni-wuerzburg.de/artifactory/libs-snapshot/, default, releases+snapshots)].

I should mention that I removed Tomcat, installed via brew, before attempting the Docker installation.

Any assistance in resolving these installation issues would be greatly appreciated because I am strongly motivated to use Variance-Viewer in my research. Thank you!