After building the images of worker-drone and bak-rest-drone today, the container using that image crash right after starting.
The error is:
[OSError]: [Errno 30] Read-only file system: '/.local'
WARNING: Add '-v' to see the detailed traceback
Apparently pdm was updated to 2.13.0 and this causes the error.
pdm -v show following error:
[OSError]: [Errno 30] Read-only file system: '/.local'
WARNING: Add '-v' to see the detailed traceback
/home/collector-drone $ pdm -v
Traceback (most recent call last):
File "/usr/local/bin/pdm", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/site-packages/pdm/core.py", line 341, in main
return core.main(args or sys.argv[1:])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pdm/core.py", line 259, in main
raise cast(Exception, err).with_traceback(traceback) from None
File "/usr/local/lib/python3.11/site-packages/pdm/core.py", line 254, in main
self.handle(project, options)
File "/usr/local/lib/python3.11/site-packages/pdm/core.py", line 183, in handle
os.makedirs(self.ui.log_dir, exist_ok=True)
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 225, in makedirs
OSError: [Errno 30] Read-only file system: '/.local'
The changelog states that the log dir is now configurable and changed the default (from /tmp to <home>/.local), see this
After building the images of worker-drone and bak-rest-drone today, the container using that image crash right after starting.
The error is:
Apparently pdm was updated to 2.13.0 and this causes the error.
pdm -v
show following error:The changelog states that the log dir is now configurable and changed the default (from
/tmp
to<home>/.local
), see thisThe config option is described here