Scancode.io startup fails
I maintainer di solito rispondono entro 1 giorno
@tdruez ci sta già lavorando.
Dal 11/5/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Ambito
- backend, devops, infrastructure
Direzione di ricerca
Riproduci il malfunzionamento con i comandi indicati git, make envfile, docker compose build e docker compose up. Parti da manage.py, scancodeio/init.py e dal traceback di collectstatic di Django, concentrandoti sul percorso /var/scancodeio/static e sull’errore di autorizzazione segnalato. Il lavoro è completato quando il container web rimane in esecuzione e l’interfaccia web è accessibile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 223
- Fork
- 214
- Merge medio
- 2g 3h
- PR unite (30g)
- 13
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aboutcode-org/scancode.io
-
ignored_dependency_scopes does not exclude npm devDependenciesForse già presa @MGpromax l’ha presa 64 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
aboutcode-org/scancode.io#2215 ·
I maintainer di solito rispondono entro 1 giorno
-
Delivery Error in scan_single_package: No connection adapters were found for '/notifications/send_scan_notification/Forse di nuovo libera @akshat-lakhera l’ha presa 11 giorni fa e non c’è nessuna pull request aperta. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
aboutcode-org/scancode.io#2206 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
update `run` cli command to run pipelines without an inputForse già presa @NoiceHax l’ha presa 76 giorni fa. Apertanice-to-have
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
aboutcode-org/scancode.io#2203 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Local developement docs are outdatedForse già presa @nik-767 l’ha presa 106 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
aboutcode-org/scancode.io#2197 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
maven-heaven: `map_shaded_classes_to_maven_packages` ignores POMs present only in the from/ codebase, leaving all shaded .class resources unmappedForse già presa @chinyeungli l’ha presa 2 giorni fa. Aperta
aboutcode-org/scancode.io#2284 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di aboutcode-org/scancode.io
Issue simili
-
getchaintips leaves out the active tip once a header is staged on it, where Core always lists itAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
btclib-org/btclib-node#2158 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
dbt-msft/dbt-sqlserver#897 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Gathin23/cleanyourtv#2770 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
vllm-project/vllm#64845 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
dekobon/big-code-analysis#1729 ·
I maintainer di solito rispondono entro 1 giorno