Problem Description
I’m using Freedomox from 2017. I’ve migrated Radicale to version 2 in 2019.
Some time ago I noticed that Plinth can’t display and change access rights for calendars,
that means no radio button is on.
Also setings any access right fails with error 500.
Steps to Reproduce
- Login to FreedomBox as admin user
- Go to Radicale application page.
- Choose for instance radio button Only the owner of a calendar/addressbook can view or make changes
- Push button Update setup
I’ve also extracted from logs command which sets up access right, but it fails too.
root@fbx:/home/fbx# /usr/share/plinth/actions/radicale configure --rights_type owner_only
Traceback (most recent call last):
File "/usr/share/plinth/actions/radicale", line 76, in <module>
main()
File "/usr/share/plinth/actions/radicale", line 72, in main
subcommand_method(arguments)
File "/usr/share/plinth/actions/radicale", line 41, in subcommand_configure
aug.save()
File "/usr/lib/python3/dist-packages/augeas.py", line 488, in save
raise IOError("Unable to save to file!")
OSError: Unable to save to file!
Expected Results
Access rights set as radio button selected.
Actual results
500
This is an internal error and not something you caused or can fix. Please report the error on the bug tracker so we can fix it. Also, please attach the status log to the bug report.
status log
Dec 21 18:18:48 fbx /usr/bin/plinth[458]: Error executing command - ['sudo', '-n', '/usr/share/plinth/actions/radicale', 'configure', '--rights_type', 'owner_only'], , Traceback (most recent call last):
File "/usr/share/plinth/actions/radicale", line 76, in <module>
main()
File "/usr/share/plinth/actions/radicale", line 72, in main
subcommand_method(arguments)
File "/usr/share/plinth/actions/radicale", line 41, in subcommand_configure
aug.save()
File "/usr/lib/python3/dist-packages/augeas.py", line 488, in save
raise IOError("Unable to save to file!")
OSError: Unable to save to file!
Dec 21 18:18:48 fbx /usr/bin/plinth[458]: Internal Server Error: /plinth/apps/radicale/
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 88, in dispatch
return handler(request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/plinth/views.py", line 163, in post
return super().post(request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/django/views/generic/edit.py", line 183, in post
return self.form_valid(form)
File "/usr/lib/python3/dist-packages/plinth/modules/radicale/views.py", line 33, in form_valid
['configure', '--rights_type', data['access_rights']])
File "/usr/lib/python3/dist-packages/plinth/actions.py", line 105, in superuser_run
log_error=log_error)
File "/usr/lib/python3/dist-packages/plinth/actions.py", line 200, in _run
raise ActionError(action, output, error)
plinth.errors.ActionError: ('radicale', '', 'Traceback (most recent call last):\n File "/usr/share/plinth/actions/radicale", line 76, in <module>\n main()\n File "/usr/share/plinth/actions/radicale", line 72, in main\n subcommand_method(arguments)\n File "/usr/share/plinth/actions/radicale", line 41, in subcommand_configure\n aug.save()\n File "/usr/lib/python3/dist-packages/augeas.py", line 488, in save\n raise IOError("Unable to save to file!")\nOSError: Unable to save to file!\n')
Dec 21 18:19:04 fbx /usr/bin/plinth[458]: # storage usage-info
Screenshot
Information
- FreedomBox version: 21.4.4
- Hardware: Raspberry Pi 3 Model B
- How did you install FreedomBox?: downloading testing images from freedombox site