Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config.js fails with 500 when running owntracks/frontend:latest #61

Closed
andlil opened this issue Jun 9, 2021 · 5 comments
Closed

config.js fails with 500 when running owntracks/frontend:latest #61

andlil opened this issue Jun 9, 2021 · 5 comments

Comments

@andlil
Copy link

andlil commented Jun 9, 2021

Chrome inspector complains about config.js not loading due to a 500 error on the server. Strangely enough the page loads and works as intended.
Skärmbild 2021-06-09 083807

@jpmens
Copy link
Member

jpmens commented Jun 9, 2021

What happens when you, in Chrome, try to open that URL? Does Chrome then also report a 500?

@andlil
Copy link
Author

andlil commented Jun 9, 2021

Yes, 500 Internal Server Error nginx/1.18.0

When looking at the logs for the container:
today at 08:54:03 2021/06/09 06:54:03 [error] 9#9: *178 rewrite or internal redirection cycle while internally redirecting to "/config/config.js/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html", client: 172.19.0.15, server: , request: "GET /config/config.js HTTP/1.1", host: "track."

@linusg
Copy link
Member

linusg commented Jun 9, 2021

Does the file exist and is mounted into the container with proper permissions?

@andlil
Copy link
Author

andlil commented Jun 9, 2021

Oh, FFS, I really need to improve my reading skills😳

Sorry for spending your precious time, I’ll just go hide somewhere…

@andlil andlil closed this as completed Jun 9, 2021
@linusg
Copy link
Member

linusg commented Jun 9, 2021

No worries, glad you got it working!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants