Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

PermissionError: [Errno 13] Permission denied: '/config/log' #1729

Open
timbu2000 opened this issue Sep 11, 2022 · 0 comments
Open

PermissionError: [Errno 13] Permission denied: '/config/log' #1729

timbu2000 opened this issue Sep 11, 2022 · 0 comments

Comments

@timbu2000
Copy link

Need help, pleas.

Immediately after starting the container, Errno13 always appears. I have then stopped it.
It runs on a SynoNAS.

LOG:

2022-09-11T16:28:21.281662881Z stderr s6-rc: info: service s6rc-oneshot-runner successfully stopped
2022-09-11T16:28:21.279920813Z stderr s6-rc: info: service s6rc-oneshot-runner: stopping
2022-09-11T16:28:21.279485522Z stderr s6-rc: info: service fix-attrs successfully stopped
2022-09-11T16:28:21.278284760Z stderr s6-rc: info: service fix-attrs: stopping
2022-09-11T16:28:21.278171126Z stderr s6-rc: info: service legacy-cont-init successfully stopped
2022-09-11T16:28:21.274473194Z stderr s6-rc: info: service legacy-cont-init: stopping
2022-09-11T16:28:21.274415687Z stderr s6-rc: info: service init-mods successfully stopped
2022-09-11T16:28:21.273481431Z stderr s6-rc: info: service init-mods: stopping
2022-09-11T16:28:21.273421802Z stderr s6-rc: info: service init-mods-package-install successfully stopped
2022-09-11T16:28:21.272382181Z stderr s6-rc: info: service init-mods-package-install: stopping
2022-09-11T16:28:21.272328615Z stderr s6-rc: info: service init-mods-end successfully stopped
2022-09-11T16:28:21.271548485Z stderr s6-rc: info: service 00-legacy successfully stopped
2022-09-11T16:28:21.271489142Z stderr s6-rc: info: service init-mods-end: stopping
2022-09-11T16:28:21.270997837Z stderr s6-rc: info: service init-services successfully stopped
2022-09-11T16:28:21.269764269Z stderr s6-rc: info: service 00-legacy: stopping
2022-09-11T16:28:21.269298281Z stderr s6-rc: info: service init-services: stopping
2022-09-11T16:28:21.269186483Z stderr s6-rc: info: service legacy-services successfully stopped
2022-09-11T16:28:21.266046822Z stdout 158:M 11 Sep 2022 18:28:21.265 # Redis is now ready to exit, bye bye...
2022-09-11T16:28:21.265903795Z stdout 158:M 11 Sep 2022 18:28:21.265 # User requested shutdown...
2022-09-11T16:28:21.242110298Z stdout 158:signal-handler (1662913701) Received SIGTERM scheduling shutdown...
2022-09-11T16:28:21.238518910Z stderr s6-rc: info: service legacy-services: stopping
2022-09-11T16:28:21.238464089Z stderr s6-rc: info: service 99-ci-service-check successfully stopped
2022-09-11T16:28:21.237005633Z stderr s6-rc: info: service 99-ci-service-check: stopping
2022-09-11T16:28:14.129503864Z stdout Waiting for redis to become available...
2022-09-11T16:28:14.024615543Z stderr  
2022-09-11T16:28:14.024586529Z stderr ]
2022-09-11T16:28:14.024559928Z stderr PermissionError: [Errno 13] Permission denied: '/config/log'
2022-09-11T16:28:14.024534307Z stderr mkdir(name, mode)
2022-09-11T16:28:14.024497358Z stderr File "/usr/lib/python3.8/os.py", line 223, in makedirs
2022-09-11T16:28:14.024472229Z stderr os.makedirs(LOGGING_DIR, exist_ok=True)
2022-09-11T16:28:14.024444014Z stderr File "/app/paperless/src/paperless/settings.py", line 337, in 
2022-09-11T16:28:14.024400417Z stderr File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2022-09-11T16:28:14.024370263Z stderr File "<frozen importlib._bootstrap_external>", line 848, in exec_module
2022-09-11T16:28:14.024336965Z stderr File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
2022-09-11T16:28:14.024301710Z stderr File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
2022-09-11T16:28:14.024168088Z stderr File "<frozen importlib._bootstrap>", line 991, in _find_and_load
2022-09-11T16:28:14.024140940Z stderr File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
2022-09-11T16:28:14.024114661Z stderr return _bootstrap._gcd_import(name[level:], package, level)
2022-09-11T16:28:14.024078481Z stderr File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
2022-09-11T16:28:14.024053159Z stderr mod = importlib.import_module(self.SETTINGS_MODULE)
2022-09-11T16:28:14.024023736Z stderr File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init
2022-09-11T16:28:14.023998339Z stderr self._wrapped = Settings(settings_module)
2022-09-11T16:28:14.023969543Z stderr File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup
2022-09-11T16:28:14.023944694Z stderr self._setup(name)
2022-09-11T16:28:14.023914817Z stderr File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr
2022-09-11T16:28:14.023887484Z stderr "root_path": settings.FORCE_SCRIPT_NAME or "",
2022-09-11T16:28:14.023857496Z stderr File "/app/paperless/src/paperless/workers.py", line 10, in ConfigurableWorker
2022-09-11T16:28:14.023830907Z stderr class ConfigurableWorker(UvicornWorker):
2022-09-11T16:28:14.023791771Z stderr File "/app/paperless/src/paperless/workers.py", line 8, in 
2022-09-11T16:28:14.023763391Z stderr File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2022-09-11T16:28:14.023735992Z stderr File "<frozen importlib._bootstrap_external>", line 848, in exec_module
2022-09-11T16:28:14.023708273Z stderr File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
2022-09-11T16:28:14.023677557Z stderr File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
2022-09-11T16:28:14.023650038Z stderr File "<frozen importlib._bootstrap>", line 991, in _find_and_load
2022-09-11T16:28:14.023620654Z stderr File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
2022-09-11T16:28:14.023589534Z stderr return _bootstrap._gcd_import(name[level:], package, level)
2022-09-11T16:28:14.023559944Z stderr File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
2022-09-11T16:28:14.023513485Z stderr mod = importlib.import_module('.'.join(components))
2022-09-11T16:28:14.023473779Z stderr File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 99, in load_class
2022-09-11T16:28:14.023442424Z stderr [Traceback (most recent call last):
2022-09-11T16:28:14.023406596Z stderr  
2022-09-11T16:28:14.023359466Z stderr Error: class uri 'paperless.workers.ConfigurableWorker' invalid or not found:
2022-09-11T16:28:14.023237211Z stderr  
2022-09-11T16:28:13.529015825Z stdout Waiting for redis to become available...
2022-09-11T16:28:13.441742247Z stderr PermissionError: [Errno 13] Permission denied: '/config/log'
2022-09-11T16:28:13.441716194Z stderr mkdir(name, mode)
2022-09-11T16:28:13.441672062Z stderr File "/usr/lib/python3.8/os.py", line 223, in makedirs
2022-09-11T16:28:13.441643137Z stderr os.makedirs(LOGGING_DIR, exist_ok=True)
2022-09-11T16:28:13.441566641Z stderr File "/app/paperless/src/paperless/settings.py", line 337, in 
2022-09-11T16:28:13.440851220Z stderr File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2022-09-11T16:28:13.440714034Z stderr File "<frozen importlib._bootstrap_external>", line 848, in exec_module
2022-09-11T16:28:13.440588624Z stderr File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
2022-09-11T16:28:13.440552734Z stderr File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
2022-09-11T16:28:13.440262197Z stderr File "<frozen importlib._bootstrap>", line 991, in _find_and_load
2022-09-11T16:28:13.440227539Z stderr File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
2022-09-11T16:28:13.440059462Z stderr return _bootstrap._gcd_import(name[level:], package, level)
2022-09-11T16:28:13.440029150Z stderr File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
2022-09-11T16:28:13.439982949Z stderr mod = importlib.import_module(self.SETTINGS_MODULE)
2022-09-11T16:28:13.439950032Z stderr File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init
2022-09-11T16:28:13.439846096Z stderr self._wrapped = Settings(settings_module)
2022-09-11T16:28:13.439127922Z stderr File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup
2022-09-11T16:28:13.439099003Z stderr self._setup(name)
2022-09-11T16:28:13.438974803Z stderr File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr
2022-09-11T16:28:13.438945067Z stderr settings.INSTALLED_APPS
2022-09-11T16:28:13.438812652Z stderr File "/usr/local/lib/python3.8/dist-packages/django/core/management/init.py", line 363, in execute
2022-09-11T16:28:13.438781908Z stderr utility.execute()
2022-09-11T16:28:13.438595191Z stderr File "/usr/local/lib/python3.8/dist-packages/django/core/management/init.py", line 419, in execute_from_command_line
2022-09-11T16:28:13.436591800Z stderr execute_from_command_line(sys.argv)
2022-09-11T16:28:13.436555149Z stderr File "manage.py", line 11, in 
2022-09-11T16:28:13.436424837Z stderr Traceback (most recent call last):
2022-09-11T16:28:13.355937582Z stdout Waiting for redis to become available...
2022-09-11T16:28:13.257649018Z stderr PermissionError: [Errno 13] Permission denied: '/config/log'
2022-09-11T16:28:13.257623172Z stderr mkdir(name, mode)
2022-09-11T16:28:13.257595813Z stderr File "/usr/lib/python3.8/os.py", line 223, in makedirs
2022-09-11T16:28:13.257566904Z stderr os.makedirs(LOGGING_DIR, exist_ok=True)
2022-09-11T16:28:13.257524025Z stderr File "/app/paperless/src/paperless/settings.py", line 337, in 
2022-09-11T16:28:13.257491368Z stderr File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2022-09-11T16:28:13.257461971Z stderr File "<frozen importlib._bootstrap_external>", line 848, in exec_module
2022-09-11T16:28:13.257432950Z stderr File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
2022-09-11T16:28:13.257404047Z stderr File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
2022-09-11T16:28:13.257373197Z stderr File "<frozen importlib._bootstrap>", line 991, in _find_and_load
2022-09-11T16:28:13.257338539Z stderr File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
2022-09-11T16:28:13.257303326Z stderr return _bootstrap._gcd_import(name[level:], package, level)
2022-09-11T16:28:13.257271116Z stderr File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
2022-09-11T16:28:13.257182550Z stderr mod = importlib.import_module(self.SETTINGS_MODULE)
2022-09-11T16:28:13.257152010Z stderr File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init
2022-09-11T16:28:13.257124335Z stderr self._wrapped = Settings(settings_module)
2022-09-11T16:28:13.257092300Z stderr File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup
2022-09-11T16:28:13.257063430Z stderr self._setup(name)
2022-09-11T16:28:13.257028988Z stderr File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr
2022-09-11T16:28:13.256999068Z stderr settings.INSTALLED_APPS
2022-09-11T16:28:13.256873879Z stderr File "/usr/local/lib/python3.8/dist-packages/django/core/management/init.py", line 363, in execute
2022-09-11T16:28:13.256840851Z stderr utility.execute()
2022-09-11T16:28:13.256796902Z stderr File "/usr/local/lib/python3.8/dist-packages/django/core/management/init.py", line 419, in execute_from_command_line
2022-09-11T16:28:13.256766682Z stderr execute_from_command_line(sys.argv)
2022-09-11T16:28:13.256715322Z stderr File "manage.py", line 11, in 
2022-09-11T16:28:13.256292939Z stderr Traceback (most recent call last):
2022-09-11T16:28:03.515698007Z stdout Waiting for redis to become available...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant