-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
When deploying the latest stable version according to the documentation on self-hosting, an error occurs.
The problem is with setup.sh and docker-compose.yaml.
When the user selects action 1 - Install from setup.sh
Select an Action you want to perform:
1) Install
He receives an error from docker: Error response from daemon: manifest for makeplane/plane-proxy:master not found: manifest unknown: manifest unknown
It is logical that the master container does not exist
This is due to the fact that in the script code, the exported APP_RELEASE variable inherits the value of the BRANCH variable. In this case, master.
#!/bin/bash
BRANCH=master
SCRIPT_DIR=$PWD
PLANE_INSTALL_DIR=$PWD/plane-app
export APP_RELEASE=latest
export DOCKERHUB_USER=makeplane
export PULL_POLICY=always
USE_GLOBAL_IMAGES=1
When performing the installation action, this script does not change the variable and then runs docker-compose.yaml.
docker-compose.yaml uses the APP_RELEASE variable when deploying containers, which ultimately results in an error, because the master containers do not exist
services:
web:
<<: *app-env
image: ${DOCKERHUB_USER:-makeplane}/plane-frontend:${APP_RELEASE:-latest}
pull_policy: ${PULL_POLICY:-always}
restart: unless-stopped
command: /usr/local/bin/start.sh web/server.js web
deploy:
replicas: ${WEB_REPLICAS:-1}
depends_on:
- api
- worker
This error occurs precisely when installing from a script (action 1 from the script)
Select an Action you want to perform:
1) Install
Steps to reproduce
- Run
setup.sh - Select
1) Install Error response from daemon: manifest for makeplane/plane-proxy:master not found: manifest unknown: manifest unknown
Browser
Google Chrome
Version
Self-hosted