[bug]: Cannot Export issue on Plane self-hosted (After upgrading to v0.14)
@pablohashescobar is already working on this.
Since Jan 18, 2024.
- Dominant language
- TypeScript
- Stars
- 59.6k
- Forks
- 5.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 49
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
Hi,
Reference to this issue #2568
I'm upgrading Plane from v0.13.2 to v0.14 but the issue persists. What can I do?, did I misconfiguration?
Please investigate my docker-compose file, env file, and Logs (while I exporting)
Environment:
OS: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Platform: Linux
Arch: x64
Docker: True
Plane version: v0.14.2-dev
Volume: Using persist data (Bind Mounts)
S3: External MinIO
Proxy: Using Internal and External Nginx
docker-compose.yaml
version: "3.8"
x-app-env : &app-env
environment:
- NGINX_PORT=${NGINX_PORT:-80}
- WEB_URL=${WEB_URL:-http://localhost}
- DEBUG=${DEBUG:-0}
- DJANGO_SETTINGS_MODULE=${DJANGO_SETTINGS_MODULE:-plane.settings.production} # deprecated
- NEXT_PUBLIC_DEPLOY_URL=${NEXT_PUBLIC_DEPLOY_URL:-http://localhost/spaces} # deprecated
- SENTRY_DSN=${SENTRY_DSN:-""}
- SENTRY_ENVIRONMENT=${SENTRY_ENVIRONMENT:-"production"}
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID:-""}
- GITHUB_CLIENT_ID=${GITHUB_CLIENT_ID:-""}
- GITHUB_CLIENT_SECRET=${GITHUB_CLIENT_SECRET:-""}
- DOCKERIZED=${DOCKERIZED:-1} # deprecated
- CORS_ALLOWED_ORIGINS=${CORS_ALLOWED_ORIGINS:-""}
# Gunicorn Workers
- GUNICORN_WORKERS=${GUNICORN_WORKERS:-2}
#DB SETTINGS
- PGHOST=${PGHOST:-plane-db}
- PGDATABASE=${PGDATABASE:-plane}
- POSTGRES_USER=${POSTGRES_USER:-plane}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-plane}
- POSTGRES_DB=${POSTGRES_DB:-plane}
- PGDATA=${PGDATA:-/var/lib/postgresql/data}
- DATABASE_URL=${DATABASE_URL:-postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${PGHOST}/${PGDATABASE}}
# REDIS SETTINGS
- REDIS_HOST=${REDIS_HOST:-plane-redis}
- REDIS_PORT=${REDIS_PORT:-6379}
- REDIS_URL=${REDIS_URL:-redis://${REDIS_HOST}:6379/}
# EMAIL SETTINGS - Deprecated can be configured through admin panel
- EMAIL_HOST=${EMAIL_HOST:-""}
- EMAIL_HOST_USER=${EMAIL_HOST_USER:-""}
- EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD:-""}
- EMAIL_PORT=${EMAIL_PORT:-587}
- EMAIL_FROM=${EMAIL_FROM:-"Team Plane team@mailer.plane.so"}
- EMAIL_USE_TLS=${EMAIL_USE_TLS:-1}
- EMAIL_USE_SSL=${EMAIL_USE_SSL:-0}
- DEFAULT_EMAIL=${DEFAULT_EMAIL:-captain@plane.so}
- DEFAULT_PASSWORD=${DEFAULT_PASSWORD:-password123}
# OPENAI SETTINGS - Deprecated can be configured through admin panel
- OPENAI_API_BASE=${OPENAI_API_BASE:-https://api.openai.com/v1}
- OPENAI_API_KEY=${OPENAI_API_KEY:-""}
- GPT_ENGINE=${GPT_ENGINE:-"gpt-3.5-turbo"}
# LOGIN/SIGNUP SETTINGS - Deprecated can be configured through admin panel
- ENABLE_SIGNUP=${ENABLE_SIGNUP:-1}
- ENABLE_EMAIL_PASSWORD=${ENABLE_EMAIL_PASSWORD:-1}
- ENABLE_MAGIC_LINK_LOGIN=${ENABLE_MAGIC_LINK_LOGIN:-0}
# Application secret
- SECRET_KEY=${SECRET_KEY:-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}
# DATA STORE SETTINGS
- USE_MINIO=${USE_MINIO:-1}
- AWS_REGION=${AWS_REGION:-""}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:-"access-key"}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY:-"secret-key"}
- AWS_S3_ENDPOINT_URL=${AWS_S3_ENDPOINT_URL:-http://plane-minio:9000}
- AWS_S3_BUCKET_NAME=${AWS_S3_BUCKET_NAME:-uploads}
- MINIO_ROOT_USER=${MINIO_ROOT_USER:-"access-key"}
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD:-"secret-key"}
- BUCKET_NAME=${BUCKET_NAME:-uploads}
- FILE_SIZE_LIMIT=${FILE_SIZE_LIMIT:-5242880}services:
web:
<<: *app-env
platform: linux/amd64
image: makeplane/plane-frontend:v0.14.2-dev
restart: unless-stopped
command: /usr/local/bin/start.sh web/server.js web
deploy:
replicas: ${WEB_REPLICAS:-1}
depends_on:
- api
- workerspace:
<<: *app-env
platform: linux/amd64
image: makeplane/plane-space:v0.14.2-dev
restart: unless-stopped
command: /usr/local/bin/start.sh space/server.js space
deploy:
replicas: ${SPACE_REPLICAS:-1}
depends_on:
- api
- worker
- webapi:
<<: *app-env
platform: linux/amd64
image: makeplane/plane-backend:v0.14.2-dev
restart: unless-stopped
command: ./bin/takeoff
deploy:
replicas: ${API_REPLICAS:-1}
depends_on:
- plane-db
- plane-redisworker:
<<: *app-env
platform: linux/amd64
image: makeplane/plane-backend:v0.14.2-dev
restart: unless-stopped
command: ./bin/worker
depends_on:
- api
- plane-db
- plane-redisbeat-worker:
<<: *app-env
platform: linux/amd64
image: makeplane/plane-backend:v0.14.2-dev
restart: unless-stopped
command: ./bin/beat
depends_on:
- api
- plane-db
- plane-redisplane-db:
<<: *app-env
image: postgres:15.2-alpine
restart: unless-stopped
command: postgres -c 'max_connections=1000'
volumes:
- ${PGDATA_PERSIST}:/var/lib/postgresql/dataplane-redis:
<<: *app-env
image: redis:6.2.7-alpine
restart: unless-stopped
volumes:
- ${REDISDATA_PERSIST}:/data#plane-minio:
#<<: *app-env
#image: minio/minio
#restart: unless-stopped
#command: server /export --console-address ":9090"
#volumes:
#- ${UPLOADS_PERSIST}:/export#Comment this if you already have a reverse proxy running
proxy:
<<: *app-env
platform: linux/amd64
image: makeplane/plane-proxy:v0.14.2-dev
ports:
- ${NGINX_PORT}:80
depends_on:
- web
- api
- space#volumes:
#pgdata:
#name: ${PGDATA_PERSIST}
#redisdata:
#name: ${REDISDATA_PERSIST}
#uploads:
#name: ${UPLOADS_PERSIST}
env
APP_RELEASE=latest
WEB_REPLICAS=1
SPACE_REPLICAS=1
API_REPLICAS=1NGINX_PORT="44444"
WEB_URL="https;//plane.domain.com"
DEBUG=0
NEXT_PUBLIC_DEPLOY_URL="https;//plane.domain.com/spaces"
SENTRY_DSN=""
SENTRY_ENVIRONMENT="production"
GOOGLE_CLIENT_ID=""
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""
DOCKERIZED=1 # deprecated
CORS_ALLOWED_ORIGINS="https://plane.domain.com"#DB SETTINGS
PGHOST=plane-db
PGDATABASE=xxxxxxxxxxxxxxx
POSTGRES_USER=xxxxxxxxxxxxxxxxx
POSTGRES_PASSWORD=xxxxxxxxxxxxxxxxxx
POSTGRES_DB=xxxxxxxxxxxxxxxxxxxx
PGDATA=/var/lib/postgresql/data
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${PGHOST}/${PGDATABASE}#REDIS SETTINGS
REDIS_HOST=plane-redis
REDIS_PORT=6379
REDIS_URL=redis://${REDIS_HOST}:6379/#EMAIL SETTINGS
EMAIL_HOST="xxxxxxxxxxxxxxxxxxxxxxxx"
EMAIL_HOST_USER="xxxx@xxxx.xxxx"
EMAIL_HOST_PASSWORD="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
EMAIL_PORT=xxxx
EMAIL_FROM="xxxx@xxxx.xxxx"
EMAIL_USE_TLS=0
EMAIL_USE_SSL=0#OPENAI SETTINGS
OPENAI_API_BASE=https://api.openai.com/v1 # deprecated
OPENAI_API_KEY="sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" # deprecated
GPT_ENGINE="gpt-4-1106-preview" # deprecated#LOGIN/SIGNUP SETTINGS
ENABLE_SIGNUP=1
ENABLE_EMAIL_PASSWORD=1
ENABLE_MAGIC_LINK_LOGIN=0
SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx#DATA STORE SETTINGS
USE_MINIO=0
AWS_REGION=""
AWS_ACCESS_KEY_ID="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
AWS_SECRET_ACCESS_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
AWS_S3_ENDPOINT_URL="https://xxxxx.minio.xxxxxxxxx"
AWS_S3_BUCKET_NAME="plane"
MINIO_ROOT_USER="plane-bucket"
MINIO_ROOT_PASSWORD="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
BUCKET_NAME=plane
FILE_SIZE_LIMIT=5242880#Gunicorn Workers
GUNICORN_WORKERS=2#volume#
PGDATA_PERSIST="/app/permanent_data/prod-plane/pgdata"
REDISDATA_PERSIST="/app/permanent_data/prod-plane/redisdata"
UPLOADS_PERSIST="/app/permanent_data/prod-plane/uploads"
Logs
Thank you!
Steps to reproduce
Upon reviewing the system logs in detail, I found that all processes and services appear to be functioning normally, with no errors or warnings recorded.
Browser
Google Chrome
Version
Self-hosted
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.