Espo Crm Deployment

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhilash.kumar.niit
    Member
    • Sep 2024
    • 82

    Espo Crm Deployment

    Hi i have 3 instances of ESPO crm
    1) dev (for development purpose)
    2 UAT (for testing purpose)
    3) Prod

    now i am deploying my code from dev to UAT by using the below command
    php bin/command export-import export --format=json --path="./data/export-import" --skip-data --skip-config --skip-internal-config

    but, this command is causing error that after this deployment no user able to login the uat env.
    can some one help what i am doing wrong??
  • abhilash.kumar.niit
    Member
    • Sep 2024
    • 82

    #2
    Hi can anyone help?

    Comment

    • lazovic
      Super Moderator
      • Jan 2022
      • 922

      #3
      Hi abhilash.kumar.niit,

      Please pay attention to the command you use when importing. Pay special attention to the --user-password and --skip-password flags. As stated in the documentation:
      --user-password
      A user password for all imported users. Example: --user-password="PASSWORD".
      For resetting the password, use bin/command set-password [username].

      --skip-password
      Skip changing passwords for existing users. Example: --skip-password. Use --user-password in order to set a user password.

      You also use the --skip-internal-config flag. The documentation states that in this case you should additionally use the --user-password flag in order to set a user password since the passwordSalt will not be imported.​

      Comment

      • abhilash.kumar.niit
        Member
        • Sep 2024
        • 82

        #4
        Hi lazovic,
        Thanks for your help. when i am using --skip-password parameter the users are not able to login the uat environment. It shows wrong user name or password error.
        this is the command i used.
        php bin/command export-import export --format=json --path="./data/export-import" --skip-data --skip-config --skip-internal-config --skip-password

        Comment

        Working...