Closed mbanck closed 3 years ago
I am getting this traceback when selecting omnidb on buster (manual package install):
[Tue Jun 15 07:55:11.059448 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] mod_wsgi (pid=22714): Failed to exec Python script file '/usr/share/elephant-shed/omnidb/wsgi.py'. [Tue Jun 15 07:55:11.059557 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] mod_wsgi (pid=22714): Exception occurred processing WSGI script '/usr/share/elephant-shed/omnidb/wsgi.py'. [Tue Jun 15 07:55:11.059964 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] Traceback (most recent call last): [Tue Jun 15 07:55:11.060036 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] File "/usr/lib/python3.7/logging/config.py", line 562, in configure [Tue Jun 15 07:55:11.060046 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] handler = self.configure_handler(handlers[name]) [Tue Jun 15 07:55:11.060057 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] File "/usr/lib/python3.7/logging/config.py", line 735, in configure_handler [Tue Jun 15 07:55:11.060065 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] result = factory(**kwargs) [Tue Jun 15 07:55:11.060074 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] File "/usr/lib/python3.7/logging/handlers.py", line 147, in __init__ [Tue Jun 15 07:55:11.060082 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] BaseRotatingHandler.__init__(self, filename, mode, encoding, delay) [Tue Jun 15 07:55:11.060092 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] File "/usr/lib/python3.7/logging/handlers.py", line 54, in __init__ [Tue Jun 15 07:55:11.060099 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] logging.FileHandler.__init__(self, filename, mode, encoding, delay) [Tue Jun 15 07:55:11.060110 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] File "/usr/lib/python3.7/logging/__init__.py", line 1092, in __init__ [Tue Jun 15 07:55:11.060117 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] StreamHandler.__init__(self, self._open()) [Tue Jun 15 07:55:11.060128 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] File "/usr/lib/python3.7/logging/__init__.py", line 1121, in _open [Tue Jun 15 07:55:11.060135 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] return open(self.baseFilename, self.mode, encoding=self.encoding) [Tue Jun 15 07:55:11.060172 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/omnidb/.omnidb/omnidb-server/omnidb.log' [Tue Jun 15 07:55:11.060186 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] [Tue Jun 15 07:55:11.060193 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] The above exception was the direct cause of the following exception: [Tue Jun 15 07:55:11.060199 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] [Tue Jun 15 07:55:11.060209 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] Traceback (most recent call last): [Tue Jun 15 07:55:11.060253 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] File "/usr/share/elephant-shed/omnidb/wsgi.py", line 10, in <module> [Tue Jun 15 07:55:11.060262 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] application = get_wsgi_application() [Tue Jun 15 07:55:11.060272 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application [Tue Jun 15 07:55:11.060279 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] django.setup(set_prefix=False) [Tue Jun 15 07:55:11.060288 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] File "/usr/lib/python3/dist-packages/django/__init__.py", line 19, in setup [Tue Jun 15 07:55:11.060295 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [Tue Jun 15 07:55:11.060304 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] File "/usr/lib/python3/dist-packages/django/utils/log.py", line 76, in configure_logging [Tue Jun 15 07:55:11.060311 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] logging_config_func(logging_settings) [Tue Jun 15 07:55:11.060321 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] File "/usr/lib/python3.7/logging/config.py", line 799, in dictConfig [Tue Jun 15 07:55:11.060329 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] dictConfigClass(config).configure() [Tue Jun 15 07:55:11.060338 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] File "/usr/lib/python3.7/logging/config.py", line 570, in configure [Tue Jun 15 07:55:11.060344 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] '%r' % name) from e [Tue Jun 15 07:55:11.060363 2021] [wsgi:error] [pid 22714:tid 140436323346176] [remote 192.168.122.1:60118] ValueError: Unable to configure handler 'logfile_django'
When I create /var/lib/omnidb/.omnidb/omnidb-server manually for the omnisb user, it loads fine
/var/lib/omnidb/.omnidb/omnidb-server
omnisb
I am getting this traceback when selecting omnidb on buster (manual package install):
When I create
/var/lib/omnidb/.omnidb/omnidb-server
manually for theomnisb
user, it loads fine