feelfreelinux / feelfreelinux/octo4a

Updating Octoprint using UI leads to Permission denied: '/dev'

Open
#178 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
1.8k
Forks
176
PR merge metrics
No merged PRs in 30d

Description

`2022-03-19 22:55:53,258 - octoprint.access.users - INFO - Logged in user:
2022-03-19 22:55:53,435 - octoprint - ERROR - Exception on /api/settings [GET]
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/flask/app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3.9/site-packages/flask/app.py", line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3.9/site-packages/flask/app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3.9/site-packages/flask/app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/usr/lib/python3.9/site-packages/octoprint/server/util/flask.py", line 1241, in decorated_function
etag = etag_factory(lm)
File "/usr/lib/python3.9/site-packages/octoprint/server/api/settings.py", line 34, in _etag
connection_options = printer.__class__.get_connection_options()
File "/usr/lib/python3.9/site-packages/octoprint/printer/__init__.py", line 71, in get_connection_options
"ports": sorted(comm.serialList(), key=natural_key),
File "/usr/lib/python3.9/site-packages/octoprint/util/comm.py", line 201, in serialList
with os.scandir("/dev") as it:
PermissionError: [Errno 13] Permission denied: '/dev'
2022-03-19 22:57:44,091 - octoprint.server.util.sockjs - INFO - Client connection closed: `

Can't easily figure out how to repair the install in the app and even over ssh due to the limitations of the install.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.