You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: Application startup failed. Exiting.
usermod: no changes
User UID: 1000
User GID: 1000
Starting uvicorn...
INFO: Started server process [1]
INFO: Waiting for application startup.
spoolman.env WARNING Data directory is not writable, trying to fix it...
ERROR: Traceback (most recent call last):
File "/usr/local/lib/python3.11/pathlib.py", line 1116, in mkdir
os.mkdir(self, mode)
PermissionError: [Errno 13] Permission denied: '/config/addons_config/spoolman'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/app/spoolman/.venv/lib/python3.11/site-packages/starlette/routing.py", line 677, in lifespan
async with self.lifespan_context(app) as maybe_state:
File "/home/app/spoolman/.venv/lib/python3.11/site-packages/starlette/routing.py", line 566, in __aenter__
await self._router.startup()
File "/home/app/spoolman/.venv/lib/python3.11/site-packages/starlette/routing.py", line 654, in startup
await handler()
File "/home/app/spoolman/spoolman/main.py", line 88, in startup
env.check_write_permissions()
File "/home/app/spoolman/spoolman/env.py", line 357, in check_write_permissions
if not chown_dir(get_data_dir()) or not can_write_to_data_dir():
^^^^^^^^^^^^^^
File "/home/app/spoolman/spoolman/env.py", line 233, in get_data_dir
data_dir.mkdir(parents=True, exist_ok=True)
File "/usr/local/lib/python3.11/pathlib.py", line 1125, in mkdir
if not exist_ok or not self.is_dir():
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/pathlib.py", line 1250, in is_dir
return S_ISDIR(self.stat().st_mode)
^^^^^^^^^^^
File "/usr/local/lib/python3.11/pathlib.py", line 1013, in stat
return os.stat(self, follow_symlinks=follow_symlinks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/config/addons_config/spoolman'
The text was updated successfully, but these errors were encountered:
After installing it, I try to run it and I get:
The text was updated successfully, but these errors were encountered: