Upon entering Samba -> Configure I get a 500 error
Below are the Python errors I found in the log. I saw the configure screen when Samba finished installing, but it went immediately to a 500 then I could never get to it again.
I have 20 years of Python under my belt, so if you'd like me to do any more debugging I'd be happy to.
Dec 07 19:42:57 freedombox /usr/bin/plinth[439]: Error executing command - ['sudo', '-n', '/usr/share/plinth/actions/samba', 'get-shares'], , Traceback (most recent call last):
File "/usr/share/plinth/actions/samba", line 339, in <module>
main()
File "/usr/share/plinth/actions/samba", line 335, in main
subcommand_method(arguments)
File "/usr/share/plinth/actions/samba", line 291, in subcommand_get_shares
print(json.dumps(_get_shares()))
File "/usr/share/plinth/actions/samba", line 197, in _get_shares
share_path = config[name]['path']
File "/usr/lib/python3.7/configparser.py", line 1251, in __getitem__
raise KeyError(key)
KeyError: 'path'
Dec 07 19:42:57 freedombox /usr/bin/plinth[439]: Internal Server Error: /plinth/apps/samba/
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/django/views/generic/edit.py", line 174, in get
return self.render_to_response(self.get_context_data())
File "/usr/lib/python3/dist-packages/plinth/modules/samba/views.py", line 50, in get_context_data
shares = samba.get_shares()
File "/usr/lib/python3/dist-packages/plinth/modules/samba/__init__.py", line 148, in get_shares
output = actions.superuser_run('samba', ['get-shares'])
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: ('samba', '', 'Traceback (most recent call last):\n File "/usr/share/plinth/actions/samba", line 339, in <module>\n main()\n File "/usr/share/plinth/actions/samba", line 335, in main\n subcommand_method(arguments)\n File "/usr/share/plinth/actions/samba", line 291, in subcommand_get_shares\n print(json.dumps(_get_shares()))\n File "/usr/share/plinth/actions/samba", line 197, in _get_shares\n share_path = config[name][\'path\']\n File "/usr/lib/python3.7/configparser.py", line 1251, in __getitem__\n raise KeyError(key)\nKeyError: \'path\'\n')
Dec 07 19:43:00 freedombox /usr/bin/plinth[439]: # help get-logs
Dec 07 19:43:01 freedombox sudo[3084]: plinth : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/help get-logs
Dec 07 19:43:01 freedombox sudo[3084]: pam_unix(sudo:session): session opened for user root by (uid=0)