#1787 mod_storage_sql changes (d580e6a57cbb) breaks prosodyctl

Reporter Evgenii
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Status-Fixed
  • Milestone-0.12
  • Type-Defect
  1. Evgenii on

    What steps will reproduce the problem? 1. Install or upgrade to Prosody 0.12.2. 2. Configure prosody to use mod_sql_storage driver, in my case I use PostgreSQL. 3. Try to add a new user using the command: "prosodyctl adduser test@test.tld" What is the expected output? No warnings/errors. What do you see instead? Adding a new user finishes with "Error: No data storage active". What version of the product are you using? On what operating system? FreeBSD 13.1-RELEASE-p3 GENERIC amd64 Please provide any additional information below. I can conclude, this happens after committing https://hg.prosody.im/0.12/rev/d580e6a57cbb So, the 0.12.1 version isn't affected.

  2. Zash on

    Thanks for the report, I've confirmed that that commit breaks it. But why was that line there then? As a workaround, you can use `prosodyctl shell user create user@example.com password`

    Changes
    • tags Milestone-0.12 Status-Accepted
  3. Zash on

    Fixed in https://hg.prosody.im/trunk/rev/dd6c35325241

    Changes
    • tags Status-Fixed
    • owner Zash

New comment

Not published. Used for spam prevention and optional update notifications.