Thanks for your help. Now I have successfully activated my administrator account through the command line, but I still cannot send emails through SMTP. I have successfully sent test emails through Telnet on the server, so I think there are some configuration items in app.yml that I am not clear about, which causes my problems
DISCOURSE_SMTP_ADDRESS: smtp.qq.com
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: 1111111111111111111111111111111111@qq.com
DISCOURSE_SMTP_PASSWORD: qq smtp login Authorization code
DISCOURSE_SMTP_AUTHENTICATION: login
DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none
DISCOURSE_SMTP_ENABLE_START_TLS: true