helm: 'Password Expired' Error

Description of the issue

Helm deployment is not working properly. I followed all steps described on the website. The ‘scheduler’ deployment and all ‘workers’ fail to start.

Steps to reproduce the issue

  1. install chart via helm
  2. wait for a couple of seconds

Expected result

pods should start up

Stacktrace / full error message if available

error message in scheduler and worker pods.

You are required to change your password immediately (password expired)
Changing password for frappe.
Current password: su: Authentication token manipulation error

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 24 (2 by maintainers)

Commits related to this issue

Most upvoted comments

Seems like the issue is caused because of PASS_MAX_DAYS being set within the python-3.7 docker image:

https://github.com/bitnami/bitnami-docker-python/blob/9507e4f3d02b48c22be87a45697f60aebcb0dce2/3.7-prod/debian-10/Dockerfile#L17-L19

Is there anyway to set PASS_MAX_DAYS in docker compose file, bro?

compose file? pass it as environment variables for services using frappe/erpnext-worker image.

for Kubernetes deployments do

kubectl edit deployments -n <erpnext-namespace> <deployment-name-using-python-image>

If that’s the case can anyone check setting PASS_MAX_DAYS=99999 during run time?

@revant Just ran into this same issue. I have an erpnext system that I turn on once every few weeks, do some work and then shut it down. When I went to turn it on today, I ran into this issue. image image

when i deploy frappe , i encountered the same problem @revant

图片 图片