Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erpnext-conf-bench job failed #228

Open
mshtmfv opened this issue Jan 10, 2025 · 1 comment
Open

erpnext-conf-bench job failed #228

mshtmfv opened this issue Jan 10, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@mshtmfv
Copy link

mshtmfv commented Jan 10, 2025

Description of the issue

Trying to install erpnext on k8s cluster using this helm.

Context information (for bug reports)

values.yaml:

image:
  repository: frappe/erpnext
  tag: v15.48.2
  pullPolicy: IfNotPresent
mariadb:
  enabled: false
postgresql:
  enabled: false
  host: "***"
  primary:
    service:
      ports:
        postgresql: ***
  database: "***"
  auth:
    username: "***"
    password: "***"
redis:
  resources:
    requests:
      memory: "128Mi"
      cpu: "100m"
persistence:
  worker:
    enabled: true 
    accessModes:
      - ReadWriteMany
    storageClass: csi-s3
    size: 20Gi
nginx:
  service:
    type: LoadBalancer 
    port: 80 
    targetPort: 80  
jobs:
  configure:
    enabled: true
    fixVolume: true
  createSite:
    enabled: true
    siteName: "test.local"
    adminPassword: "***"
    dbType: "postgresql"
    installApps:
      - erpnext

Stacktrace / full error message if available

In logs of job epnext-conf-bench:

Usage: bench  set-config [OPTIONS] KEY VALUE
Try 'bench  set-config --help' for help.

Error: Missing argument 'VALUE'.
@mshtmfv mshtmfv added the bug Something isn't working label Jan 10, 2025
@revant
Copy link
Collaborator

revant commented Jan 11, 2025

Do not use Postgres, it is not supported for erpnext
Set values properly, refer how they are picked up here https://github.com/frappe/helm/blob/main/erpnext/templates/job-configure-bench.yaml

.Values.dbHost is missing, check others which are missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants