I have already posted in a different thread with the same issue:
But as suggested by another member, I am posting it in a new thread.
I had finished a successful print. Turned off my printer, octoprint stayed on (this is different for me).
Today I wanted to check something with the Tuya plugin as I have not been able to correctly shutdown the printer automatically. To my surprise, the plugin was gone. Later on I discovered that in fact all plugins I installed are gone.
I tried installing from Plugin manager, but it did not work. In the logs I was able to find this:
...
File "/home/pi/oprint/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2815, in __getattr__
raise AttributeError(attr)
AttributeError: _ep_map
During handling of the above exception, another exception occurred:
...
...
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbb in position 0: invalid start byte in entry_points.txt file at path: /home/pi/oprint/lib/python3.9/site-packages/OctoPrint_PrintTimeGenius-2.4.0.dist-info/entry_points.txt
I went ahead and checked whats in that file, and it seems to be corrupted:
pi@octopi:~ $ cat /home/pi/oprint/lib/python3.9/site-packages/OctoPrint_PrintTimeGenius-2.4.0.dist-info/entry_points.txt
�Ms��O�ΐ�=:"N��=&��B:��h[��OY�6mӹ��]i1ڐN��dz�L&��0
I now tried to get the System Bundle, but the webUI also seems not to be working and so I cannot do it. There is another error when trying to access the webUI:
2025-03-20 21:03:48,040 - octoprint.server.util.flask.PreemptiveCache - ERROR - Error while writing /home/pi/.octoprint/data/preemptive_cache_config.yaml
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/server/util/flask.py", line 1118, in set_all_data
with atomic_write(self.cachefile, "wt", max_permissions=0o666) as handle:
File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__
return next(self.gen)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/__init__.py", line 1001, in atomic_write
fd = tempfile.NamedTemporaryFile(**kwargs)
File "/usr/lib/python3.9/tempfile.py", line 680, in NamedTemporaryFile
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
File "/usr/lib/python3.9/tempfile.py", line 390, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
OSError: [Errno 30] Read-only file system: '/home/pi/.octoprint/data/tmp29ezac93'
2025-03-20 21:03:48,866 - octoprint - ERROR - Exception on /api/settings [GET]
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.9/site-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/oprint/lib/python3.9/site-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/oprint/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/oprint/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/server/util/flask.py", line 1370, in decorated_function
response = f(*args, **kwargs)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/server/api/settings.py", line 282, in getSettings
"uploads": s.getBaseFolder("uploads"),
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/settings/__init__.py", line 2027, in getBaseFolder
_validate_folder(
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/settings/__init__.py", line 2336, in _validate_folder
raise OSError(error)
OSError: Folder at /home/pi/.octoprint/uploads doesn't appear to be writable, please fix its permissions
P.S. After rebooting, I was able to access the webUI again, so here is the System Bundle:
octoprint-systeminfo-20250320215559.zip (20.6 KB)
So, what should I do here? Is a reinstall the only solution? Thanks