"ERR Client sent AUTH, but no password is set" during 'hc-migrate' export

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

While running the 'hc-migrate' export script using the HCDC command line, you receive the following error:

ERR Client sent AUTH, but no password is set

Diagnosis

Environment

  • HipChat Data Center

Cause

The Redis server does not require a password so the script doesn't know what to do with the --redis_password argument of the command.

Resolution

Remove the --redis_password argument from the command and retry. It should look something similar to the following:

/home/admin/hc-migrate --hcdc --export "HCDC_EXPORT_NAME.tar.gz.aes" --aes_password "HCDC_EXPORT_NAME_PASSWORD" --postgres_url "dbname=db_name host=db_host user=db_user password=db_pass port=5432 sslmode=disable" --redis_url "redis_url:6379" --verbose |& tee /home/admin/migrate.log
Last modified on Dec 10, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.