goryn-clade / pathfinder-containers

A Docker-compose solution for Pathfinder mapping tool using Traefik
Other
62 stars 66 forks source link

Randomly getting error 500 #78

Closed rykugur closed 10 months ago

rykugur commented 10 months ago

I've had a PF instance up and running in a docker container for a few weeks now. I used it just last night and all was well.

Today when I went to open the app, I started getting error 500's:

Error - 500

Oooops, Something went wrong! You have experienced a technical error. We apologize.

Status: 'Internal Server Error'
Message: Unable to open img/v2.2.2/svg/logo_inline.svg 

I've verified this file exists and is readable:

 ll (find . -iname "*logo_inline*")
Permissions Size User  Date Modified Git Name
.rw-r--r--  2.9k dusty 16 Dec  2023   -- ./pathfinder/img/svg/logo_inline.svg
.rw-r--r--  2.9k dusty 16 Dec  2023   -- ./pathfinder/public/img/v2.2.2/svg/logo_inline.svg

Thoughts?

EDIT: I do have watchtower running, so it must have pulled the latest image overnight.

rykugur commented 10 months ago

I did a git submodule update --recursive --remote and now see new files, e.g.:

 find . -iname "*logo_inline*"
./pathfinder/img/svg/logo_inline.svg
./pathfinder/public/img/v2.2.3/svg/logo_inline.svg

but same error message.

rykugur commented 10 months ago

Was able to fix through some trial and error.

Thor6677 commented 10 months ago

What did you do to resolve the issue? I am getting the same error after the update to the new version.

rykugur commented 9 months ago

What did you do to resolve the issue? I am getting the same error after the update to the new version.

I'm not positive, but I think it was because I had made changes to config/pathfinder/pathfinder.ini on my fork and the version was incorrect. I didn't really take note of what I did and my history doesn't reveal much beyond chaos. I ended up syncing my fork and re-applying my local changes and IIRC it started working after that.