mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
[Bug]: Node error.The js application does not want to run completely. #586
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @saher228 on GitHub (Oct 18, 2024).
Where is the problem occurring?
I encountered the problem while interacting with the server (Backend)
What browsers are you seeing the problem on?
Other
Current behaviour
Desired behaviour
No response
Steps to reproduce
I've tried everything from reinstalling to configuring, I did it according to the instructions
Other information
No response
@meltyshev commented on GitHub (Oct 18, 2024):
Hi! Could you please provide your
docker-compose.ymlfile? It seems there might be a misconfiguration, as the error indicates that the hostname7gLz5Wgcan't be resolved to an IP address.@saher228 commented on GitHub (Oct 19, 2024):
OK, here's the file itself, I was only able to put the instance in a zip
docker-compose.zip
@meltyshev commented on GitHub (Oct 20, 2024):
Everything appears to be configured correctly. I’ve checked our Portainer, and the only difference is that we specify networks for each service:
@saher228 commented on GitHub (Oct 20, 2024):
Thanks, it almost worked, but not completely . I changed the YAML a bit, since Postgres 15 was already available in Portainer . I just created a planka database, everything is connected, and I don't see any errors . However, for some reason, the page is empty, or maybe I changed the YAML incorrectly.
@meltyshev commented on GitHub (Oct 20, 2024):
The white screen issue could be due to an incorrect
BASE_URLconfiguration, it should be set tohttp://192.168.0.43:3000in your case, the same as what you'd enter in the browser.@saher228 commented on GitHub (Oct 21, 2024):
Thank you very much. Everything works almost perfectly, but there is a problem with the proxy server. I specified the subdomain in
BASE_URLand proxiedHTTP://192.168.0.43:3000to a subdomain, but when you try to log in, an endless download begins, if you do not proxy and use only IP, then everything is fine.@meltyshev commented on GitHub (Oct 21, 2024):
Please try setting the
TRUST_PROXY=1environment variable and then restart the container.@saher228 commented on GitHub (Oct 21, 2024):
@meltyshev commented on GitHub (Oct 21, 2024):
Based on the first error in the console, the server is returning an HTML page instead of a JSON response for some reason. I'm not entirely sure of the cause, as I'm not very familiar with proxy servers and their configurations. Additionally, I noticed that on your website there's a slash at the end of the
BASE_URLwhich is causing an endless redirect loop.@saher228 commented on GitHub (Oct 21, 2024):
It's difficult, maybe it's Nginx, so I'll try to deploy Nginx proxy, but I'm not sure, it's strange that an extra slash doesn't come from somewhere.
And so thank you so much for being able to help!
@saher228 commented on GitHub (Oct 28, 2024):
The problem is solved ! The problem was with the server.