Я пытаюсь установить zuul-ci на ubuntu, но получаю сообщение об ошибке при запуске службы zuul-web.
Я пытаюсь установить zuul-ci на ubuntu, но получаю сообщение об ошибке при запуске службы zuul-web. Я считаю, что эта проблема связана с созданием файла pid. Я устанавливаю для тестирования в Ubuntu и хочу использовать его с драйвером gitlab.
Ошибка:
/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/lockfile/pidlockfile.py", line 77, in acquire
write_pid_to_pidfile(self.path)
File "/usr/local/lib/python3.8/dist-packages/lockfile/pidlockfile.py", line 161, in write_pid_to_pidfile
pidfile_fd = os.open(pidfile_path, open_flags, open_mode)
FileNotFoundError: [Errno 2] No such file or directory: '/var/run/zuul/web.pid'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/zuul-web", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/zuul/cmd/web.py", line 99, in main
WebServer().main()
File "/usr/local/lib/python3.8/dist-packages/zuul/cmd/__init__.py", line 216, in main
with pid:
File "/usr/local/lib/python3.8/dist-packages/lockfile/__init__.py", line 197, in __enter__
self.acquire()
File "/usr/local/lib/python3.8/dist-packages/daemon/pidfile.py", line 57, in acquire
super().acquire(timeout, *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/lockfile/pidlockfile.py", line 91, in acquire
raise LockFailed("failed to create %s" % self.path)
lockfile.LockFailed: failed to create /var/run/zuul/web.pid```