cubicweb #1356369 sources file was truncated during reset-admin-pwd [resolved]

If the "adapter" field is still appearing in your sources file when you invoke reset-admin-pwd with 3.10 version, the sources file will be corrupted.

-> connecting to postgres database jujskm@centaurus as juj
new password for admin:
confirm password:
Traceback (most recent call last):
OptionError: option adapter: no such option default in section 'adapter'
-> an error occurred: option adapter: no such option default in section 'adapter'
priorityimportant
typebug
done in3.10.6
load0.100
load left0.000
closed by<not specified>