Folder settings won't save

What is the problem?

When changing the folders for timelapse etc., the settings do not save. The test buttons show the folders are valid.

What did you already try to solve it?

Check permissions. Check cp and rm.

Have you tried running in safe mode?

No

Did running in safe mode solve the problem?

N/A

Systeminfo Bundle

octoprint-systeminfo-20211206115435.zip (47.9 KB)

2021-12-06 11:29:36,606 - octoprint.server.api - ERROR - Error while testing if /home/pi/NAS/OctoPi/watched is really writable
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/api/__init__.py", line 520, in _test_path
    with io.open(test_path, "wb") as f:
PermissionError: [Errno 13] Permission denied: '/home/pi/NAS/OctoPi/watched/.testballoon.txt'
2021-12-06 11:33:15,303 - octoprint.server.api - ERROR - Error while testing if /home/pi/NAS/OctoPi/watched is really writable
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/api/__init__.py", line 520, in _test_path
    with io.open(test_path, "wb") as f:
PermissionError: [Errno 13] Permission denied: '/home/pi/NAS/OctoPi/watched/.testballoon.txt'

Might be because of this, haven't narrowed down exactly where the check is done but I'd wager if one fails the whole thing bails.

I have it working now, thanks. It seems to be a bug that only affects that folder and the workaround was to edit the config file (config.yaml) directly.

Related post:

Config file format:
https://docs.octoprint.org/en/master/configuration/config_yaml.html#folder

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.