Open dev-un opened 7 months ago
I'm sorry, it turns out this problem was also noted in [bug]: Upgrading via setup.sh had no effect But so far no answer has been received, so I will leave this error unclosed
As a temporary solution for users who encounter this problem, change docker-compose.yaml
or setup.sh
Via setup.sh
Replace the value of the APP_RELEASE
variable with latest
Was
export APP_RELEASE=$BRANCH
Became
export APP_RELEASE=latest
Via docker-compose.yaml
Throughout the file, replace ${APP_RELEASE:-latest}
with latest
on all lines. Example:
Was
beat-worker:
<<: *app-env
image: ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-latest}
pull_policy: ${PULL_POLICY:-always}
restart: unless-stopped
command: ./bin/beat
depends_on:
- api
- plane-db
- plane-redis
Became
beat-worker:
<<: *app-env
image: ${DOCKERHUB_USER:-makeplane}/plane-backend:latest
pull_policy: ${PULL_POLICY:-always}
restart: unless-stopped
command: ./bin/beat
depends_on:
- api
- plane-db
- plane-redis
I hope @HiveologieMLData helps you
Is there an existing issue for this?
Current behavior
When deploying the latest stable version according to the documentation on self-hosting, an error occurs. The problem is with
setup.sh
anddocker-compose.yaml
. When the user selectsaction 1 - Install
fromsetup.sh
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 themaster
container does not exist This is due to the fact that in the script code, the exportedAPP_RELEASE
variable inherits the value of theBRANCH
variable. In this case,master
.When performing the installation action, this script does not change the variable and then runs
docker-compose.yaml
.docker-compose.yaml
uses theAPP_RELEASE
variable when deploying containers, which ultimately results in an error, because themaster
containers do not existThis error occurs precisely when installing from a script (action 1 from the script)
Steps to reproduce
setup.sh
1) Install
Error response from daemon: manifest for makeplane/plane-proxy:master not found: manifest unknown: manifest unknown
Browser
Google Chrome
Version
Self-hosted