Scancode.io startup fails
Maintainer thường phản hồi trong vòng 1 ngày
@tdruez đang làm issue này rồi.
Từ ngày 11/5/2026.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Lĩnh vực
- backend, devops, infrastructure
Hướng nghiên cứu
Tái hiện lỗi bằng các lệnh git, make envfile, docker compose build và docker compose up được liệt kê. Bắt đầu từ manage.py, scancodeio/init.py và traceback collectstatic của Django, tập trung vào đường dẫn /var/scancodeio/static và lỗi quyền truy cập được báo cáo. Hoàn thành khi container web vẫn đang chạy và giao diện web có thể truy cập được.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
When running scancode.io from docker I cannot access the web ui (hangs) and I see the following in the log:
.... snip
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker processes
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 29
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 30
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 31
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 32
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 33
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 34
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 35
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 36
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 37
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 38
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 39
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 40
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 41
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 42
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 43
nginx-1 | 2026/05/08 09:46:20 [notice] 1#1: start worker process 44
web-1 | Operations to perform:
web-1 | Apply all migrations: admin, auth, contenttypes, django_rq, scanpipe, sessions, taggit
web-1 | Running migrations:
web-1 | No migrations to apply.
web-1 | Traceback (most recent call last):
web-1 | File "/opt/scancodeio/./manage.py", line 14, in <module>
web-1 | command_line()
web-1 | ~~~~~~~~~~~~^^
web-1 | File "/opt/scancodeio/scancodeio/__init__.py", line 107, in command_line
web-1 | execute_from_command_line(sys.argv)
web-1 | ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
web-1 | File "/opt/scancodeio/.venv/lib/python3.13/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
web-1 | utility.execute()
web-1 | ~~~~~~~~~~~~~~~^^
web-1 | File "/opt/scancodeio/.venv/lib/python3.13/site-packages/django/core/management/__init__.py", line 437, in execute
web-1 | self.fetch_command(subcommand).run_from_argv(self.argv)
web-1 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
web-1 | File "/opt/scancodeio/.venv/lib/python3.13/site-packages/django/core/management/base.py", line 420, in run_from_argv
web-1 | self.execute(*args, **cmd_options)
web-1 | ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
web-1 | File "/opt/scancodeio/.venv/lib/python3.13/site-packages/django/core/management/base.py", line 464, in execute
web-1 | output = self.handle(*args, **options)
web-1 | File "/opt/scancodeio/.venv/lib/python3.13/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 214, in handle
web-1 | collected = self.collect()
web-1 | File "/opt/scancodeio/.venv/lib/python3.13/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 119, in collect
web-1 | self.clear_dir("")
web-1 | ~~~~~~~~~~~~~~^^^^
web-1 | File "/opt/scancodeio/.venv/lib/python3.13/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 290, in clear_dir
web-1 | self.storage.delete(fpath)
web-1 | ~~~~~~~~~~~~~~~~~~~^^^^^^^
web-1 | File "/opt/scancodeio/.venv/lib/python3.13/site-packages/django/core/files/storage/filesystem.py", line 165, in delete
web-1 | os.remove(name)
web-1 | ~~~~~~~~~^^^^^^
web-1 | PermissionError: [Errno 13] Permission denied: '/var/scancodeio/static/billboard-3.0.1.pkgd.min.js.ABOUT'
web-1 exited with code 1
System configuration
- Which version of ScanCode.io are you running?
git latest
$ git rev-parse HEAD
904373abf472e0567a99a3b1b5213e084040b5c1
- Are you running the app using Docker?
Yes - On which OS?
Ubuntu 25.10 - What inputs are you using?
N/A - fails starting up - Which pipeline are you running?
N/A - fails starting up
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/aboutcode-org/scancode.io.git && cd scancode.io
make envfile
docker compose build
docker compose up
Note: I purged every container/image in docker before executing the above commands.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
- Ngôn ngữ chính
- Python
- Star
- 223
- Fork
- 214
- Merge trung bình
- 2 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aboutcode-org/scancode.io
-
ignored_dependency_scopes does not exclude npm devDependenciesCó thể đã có người làm @MGpromax đã nhận 65 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
aboutcode-org/scancode.io#2215 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Delivery Error in scan_single_package: No connection adapters were found for '/notifications/send_scan_notification/Có thể làm lại được @akshat-lakhera đã nhận 12 ngày trước và không có pull request nào đang mở. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
aboutcode-org/scancode.io#2206 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
update `run` cli command to run pipelines without an inputCó thể đã có người làm @NoiceHax đã nhận 77 ngày trước. Đang mởnice-to-have
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aboutcode-org/scancode.io#2203 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Local developement docs are outdatedCó thể đã có người làm @nik-767 đã nhận 107 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
aboutcode-org/scancode.io#2197 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
maven-heaven: `map_shaded_classes_to_maven_packages` ignores POMs present only in the from/ codebase, leaving all shaded .class resources unmappedCó thể đã có người làm @chinyeungli đã nhận 3 ngày trước. Đang mở
aboutcode-org/scancode.io#2284 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của aboutcode-org/scancode.io
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Claiming namespace `thejakia1`Đang mởnamespace operations
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
EclipseFdn/open-vsx.org#15057 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
FinanceFlash/unvibecode#349 ·
-
Mission statement: why this is free, in the README, Why This Exists and the wiki HomeCó thể đã có người làm @ChiefGyk3D đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ChiefGyk3D/Clouds-Against-Humanity#348 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Perf] Default --vllm-watermark 0.05 for rollouts (hybrid models re-preempt under KV pressure)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
vllm-project/vime#508 ·
Maintainer thường phản hồi trong vòng 4 ngày