<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.8.5">
</HEAD>
<BODY>
Am Donnerstag, den 02.06.2016, 23:19 +0530 schrieb Sunil Mohan Adapa:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On 06/02/2016 11:11 PM, Dietmar wrote:
[...]
<FONT COLOR="#737373">> Now it's working, am fighting with Radicale (trying not to loose the</FONT>
<FONT COLOR="#737373">> old data, should be running soon).</FONT>

I did this recently.  I just copied /var/lib/radicale with ownership and
permissions preserved while daemon was not running and it worked properly.
</PRE>
</BLOCKQUOTE>
Got it running now on a more complicated way  ;- )
<BLOCKQUOTE TYPE=CITE>
<PRE>

<FONT COLOR="#737373">> By the way, the error 500 when trying to administer existing users</FONT>
<FONT COLOR="#737373">> still occurs (Plinth 0.9.2, stretch).</FONT>

I am unable to reproduce this on a Lime2 image from recently nightly.
Would you please post the Plinth log from /var/log/syslog ?
</PRE>
</BLOCKQUOTE>
<BR>
Here you are: It says "bad user name", but it's the name I am logged in with and can ssh into the box.
<BLOCKQUOTE TYPE=CITE>
<PRE>
Jun  2 20:01:15 localhost plinth[408]: 127.0.0.1 - - [02/Jun/2016:20:01:15] "GET /plinth/static/theme/css/plinth.css HTTP/1.1" 200 875 "https://192.xxx.x.xxx/plinth/apps/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.8.0"
Jun  2 20:01:16 localhost plinth[408]: 127.0.0.1 - - [02/Jun/2016:20:01:16] "GET /plinth/static/theme/img/freedombox-logo-32px.png HTTP/1.1" 304 - "https://192.xxx.x.xxx/plinth/apps/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.8.0"
Jun  2 20:01:29 localhost plinth[408]: [2016-06-02 20:01:29,652] plinth.actions INFO     Executing command - ['sudo', '-n', '/usr/share/plinth/actions/ssh', 'get-keys', '--username', 'MyUserName']
Jun  2 20:01:30 localhost plinth[408]: [2016-06-02 20:01:30,281] plinth.actions ERROR    Error executing command - ['sudo', '-n', '/usr/share/plinth/actions/ssh', 'get-keys', '--username', 'MyUserName'], Bad username
Jun  2 20:01:30 localhost plinth[408]: ,
Jun  2 20:01:30 localhost plinth[408]: [2016-06-02 20:01:30,285] django.request ERROR    Internal Server Error: /plinth/sys/users/MyUserName/edit/
Jun  2 20:01:30 localhost plinth[408]: Traceback (most recent call last):
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 149, in get_response
Jun  2 20:01:30 localhost plinth[408]:     response = self.process_exception_by_middleware(e, request)
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 147, in get_response
Jun  2 20:01:30 localhost plinth[408]:     response = wrapped_callback(request, *callback_args, **callback_kwargs)
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 68, in view
Jun  2 20:01:30 localhost plinth[408]:     return self.dispatch(request, *args, **kwargs)
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 88, in dispatch
Jun  2 20:01:30 localhost plinth[408]:     return handler(request, *args, **kwargs)
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/django/views/generic/edit.py", line 275, in get
Jun  2 20:01:30 localhost plinth[408]:     return super(BaseUpdateView, self).get(request, *args, **kwargs)
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/django/views/generic/edit.py", line 213, in get
Jun  2 20:01:30 localhost plinth[408]:     return self.render_to_response(self.get_context_data())
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/plinth/modules/users/views.py", line 43, in get_context_data
Jun  2 20:01:30 localhost plinth[408]:     context = super(ContextMixin, self).get_context_data(**kwargs)
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/django/views/generic/edit.py", line 122, in get_context_data
Jun  2 20:01:30 localhost plinth[408]:     kwargs['form'] = self.get_form()
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/django/views/generic/edit.py", line 74, in get_form
Jun  2 20:01:30 localhost plinth[408]:     return form_class(**self.get_form_kwargs())
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/plinth/modules/users/views.py", line 83, in get_form_kwargs
Jun  2 20:01:30 localhost plinth[408]:     kwargs = super(UserUpdate, self).get_form_kwargs()
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/django/views/generic/edit.py", line 167, in get_form_kwargs
Jun  2 20:01:30 localhost plinth[408]:     kwargs = super(ModelFormMixin, self).get_form_kwargs()
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/django/views/generic/edit.py", line 81, in get_form_kwargs
Jun  2 20:01:30 localhost plinth[408]:     'initial': self.get_initial(),
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/plinth/modules/users/views.py", line 92, in get_initial
Jun  2 20:01:30 localhost plinth[408]:     'ssh', ['get-keys', '--username', self.object.username]).strip()
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/plinth/actions.py", line 118, in superuser_run
Jun  2 20:01:30 localhost plinth[408]:     return _run(action, options, input, async, True)
Jun  2 20:01:30 localhost plinth[408]:   File "/usr/lib/python3/dist-packages/plinth/actions.py", line 180, in _run
Jun  2 20:01:30 localhost plinth[408]:     raise ActionError(action, output, error)
Jun  2 20:01:30 localhost plinth[408]: plinth.errors.ActionError: ('ssh', 'Bad username\n', '')

</PRE>
</BLOCKQUOTE>
Dietmar
</BODY>
</HTML>