Can't create a user after post-intsallation

Hi , i have an issue after post-installation.
I can’t create a user. this error is showed:

Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py”, line 439, in process
ret = self.actionsmap.process(arguments, timeout=30, route=_route)
File “/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py”, line 523, in process
return func(**arguments)
File “/usr/lib/moulinette/yunohost/log.py”, line 284, in func_wrapper
result = func(*args, **kwargs)
File “/usr/lib/moulinette/yunohost/user.py”, line 194, in user_create
raise YunohostError(‘ssowat_persistent_conf_read_error’, error=e.strerror)
AttributeError: ‘exceptions.ValueError’ object has no attribute ‘strerror’

thanks in advance for your help!

Hey @yacin, that looks like a bug in YunoHost. I’ll submit a fix soon.

The error message that should be showing is:

Could not save persistent SSOwat configuration: {error:s}. Edit /etc/ssowat/conf.json.persistent file to fix the JSON syntax

So, perhaps you can take a look at the /etc/ssowat/conf.json.persistent file and report the contents? On my YunoHost, it looks like this:

{
    "redirected_urls": {}
}

Proposal for a fix is submitted in https://github.com/YunoHost/yunohost/pull/819 :+1:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.