Scancode.io startup fails
メンテナーはふだん 1 日以内に返信
@tdruez がすでに取り組んでいます。
2026年5月11日 から。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 領域
- backend, devops, infrastructure
調査の方向性
記載されている git、make envfile、docker compose build、docker compose up コマンドで失敗を再現します。manage.py、scancodeio/init.py、Django の collectstatic traceback から調査を始め、/var/scancodeio/static パスと報告された権限エラーに焦点を当てます。Web コンテナが稼働し続け、Web UI にアクセスできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 223
- フォーク
- 214
- 平均マージ
- 2日 3時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aboutcode-org/scancode.io のほかの issue
-
ignored_dependency_scopes does not exclude npm devDependencies対応中かも @MGpromax が 65 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
aboutcode-org/scancode.io#2215 ·
メンテナーはふだん 1 日以内に返信
-
Delivery Error in scan_single_package: No connection adapters were found for '/notifications/send_scan_notification/再び着手できるかも @akshat-lakhera が 12 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
aboutcode-org/scancode.io#2206 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
update `run` cli command to run pipelines without an input対応中かも @NoiceHax が 77 日前に担当しました。 オープンnice-to-have
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aboutcode-org/scancode.io#2203 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Local developement docs are outdated対応中かも @nik-767 が 107 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
aboutcode-org/scancode.io#2197 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
maven-heaven: `map_shaded_classes_to_maven_packages` ignores POMs present only in the from/ codebase, leaving all shaded .class resources unmapped対応中かも @chinyeungli が 3 日前に担当しました。 オープン
aboutcode-org/scancode.io#2284 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
aboutcode-org/scancode.io の issue をすべて見る
似ている issue
-
_chunk_scan_fwd launches its Triton kernel without a device guard: NaN when a model is split across GPUs対応中かも @toddwbucy が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
state-spaces/mamba#1072 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
loopj/aiovantage#414 ·
メンテナーはふだん 1 日以内に返信
-
power_mismatch_deline docstring: the rear-to-total RMAD conversion has an extra bifaciality factorオープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
pvlib/pvlib-python#2929 ·
メンテナーはふだん 1 日以内に返信
-
data good first issue launch-day unverified
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BradGroux/wow-forever-mission-control#8 ·
メンテナーはふだん 1 日以内に返信
-
check bilibili falsely reports read/subtitle as broken: live_test fixture BV1GJ411x7h7 is gone (404)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Panniantong/Agent-Reach#889 ·
メンテナーはふだん 2 日以内に返信