kosmas58 / pia-docker

Killian Kemps (https://github.com/KillianKemps) has created an awesome Docker configuration to setup a Docker environment for production purpose. Thanks to Killian it is much easier now to run PIA. A simple docker-compose up does everything and gives a running website : front-end, back-end and database.
GNU General Public License v3.0
37 stars 34 forks source link

/app/explorer.html: 404 Not found #13

Closed swobspace closed 4 years ago

swobspace commented 4 years ago

I'm running docker-compose with all from this repo. I get the backend and frontend running. The backend is accessible via http://localhost:3000. Calling the frontend via http://localhost:8080 I get a redirect to http://localhost:8080/app/explorer.html and a 404 error from nginx.

Any hint's for further debugging?

kosmas58 commented 4 years ago

What branch of pia-docker do you use?

swobspace commented 4 years ago

I'm using the master branch.

kosmas58 commented 4 years ago

Hallo Wolfgang, wir kennen uns aus Nagios Zeiten von der OSMC in Nürnberg. Ist schon ein paar Jahre her. Seit ich DSB bin, mache ich nichts mehr mit Nagios bzw. Icinga. Wir sind aber beide im Krankenhaus tätig, wenn Du noch bei M...haus bist.

Leider kann ich Deinen Fehler nicht reproduzieren. Bei mir funktioniert das Ganze.

Gruß aus München Kosmas

swobspace commented 4 years ago

Workaround gefunden: http://localhost:8080/index.html aufrufen.

Wenn ich wie beschrieben http://localhost:8080 aufrufe erhalte ich einen redirect auf http://localhost:8008/app/explorer.html. Im Log steht dann

LINCnil-pia-front | 2019/12/16 13:52:12 [error] 6#6: *2 open() "/var/www/pia/dist/pia/app/
explorer.html" failed (2: No such file or directory), client: 172.22.0.1, server: _, reque
st: "GET /app/explorer.html HTTP/1.1", host: "localhost:8080"

Das Unterverzeichnis app gibt es aber in dem Frontend-Container gar nicht.