plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: 404 https://xx.com/api/licenses/instances/

Open a-super-admin opened this issue 2 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current behavior

Hi, when I do the setup.sh installation for docker self hosted, the app only shows a loading icon.

Any ideas?

Steps to reproduce

I set the WEB_URL to my domain. I am using my own nginx proxy with letsencrypt so I disabled the integrated one.

The dev console shows https://xx.com/api/licenses/instances/ 404

image

image

image

image

Browser

Google Chrome

Version

Self-hosted

a-super-admin avatar Dec 24 '23 00:12 a-super-admin

+1 same issue

geek-repo avatar Dec 24 '23 10:12 geek-repo

@wurst44 Which dockerfile do you deploy containers with?

halil-bugol avatar Dec 25 '23 22:12 halil-bugol

you mean docker-compose? curl -fsSL -o setup.sh https://raw.githubusercontent.com/makeplane/plane/master/deploy/selfhost/install.sh which becomes this one: https://raw.githubusercontent.com/makeplane/plane/master/deploy/selfhost/docker-compose.yml

a-super-admin avatar Dec 26 '23 00:12 a-super-admin

https://github.com/makeplane/plane/blob/preview/setup.sh Can you try with this sh instead of install.sh? It looks like you're making a mistake during the installation process.

halil-bugol avatar Dec 27 '23 08:12 halil-bugol

ok, the issue was this comment in the docker-compose.yml:

# Comment this if you already have a reverse proxy running
  proxy:
    container_name: proxy
    build:
      context: ./nginx
[...]

Which I did at first and let my Letsencrypt main proxy point to container_name: web, that gives me the above 404. Then I uncommented this nginx (readded the plane nginx) and added that one to my (main) Letsencrpyt reverse proxy configuration.

a-super-admin avatar Dec 27 '23 13:12 a-super-admin