Skip to content

Impossible to install mathesar  #3444

@jeromeperez

Description

@jeromeperez

Description

Impossible to install last release

Expected behavior

an installed and usable application mathesar

To Reproduce

sudo docker compose -f /mnt/data

Environment

  • OS: debian 12
  • Browser: (eg. Safari; Firefox)
  • Browser Version: (eg. 13; 73)
  • Other info:

Additional context

sudo docker compose -f docker-compose.yml up
[+] Running 3/0
✔ Container mathesar_db Created 0.0s
✔ Container mathesar_service Created 0.0s
✔ Container mathesar-caddy-reverse-proxy-1 Created 0.0s
Attaching to caddy-reverse-proxy-1, mathesar_db, mathesar_service
mathesar_db |
mathesar_db | PostgreSQL Database directory appears to contain a database; Skipping initialization
mathesar_db |
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.6093478,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.6108546,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.6109264,"logger":"http.auto_https","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.610935,"logger":"http.auto_https","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.61099,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000172700"}
mathesar_db | 2024-02-13 14:00:50.615 UTC [1] LOG: starting PostgreSQL 13.14 (Debian 13.14-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
mathesar_db | 2024-02-13 14:00:50.615 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
mathesar_db | 2024-02-13 14:00:50.615 UTC [1] LOG: listening on IPv6 address "::", port 5432
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.6193373,"logger":"pki.ca.local","msg":"root certificate is already trusted by system","path":"storage:pki/authorities/local/root.crt"}
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.6194456,"logger":"http","msg":"enabling HTTP/3 listener","addr":":443"}
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.6197035,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details."}
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.619911,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.6199572,"logger":"http.log","msg":"server running","name":"remaining_auto_https_redirects","protocols":["h1","h2","h3"]}
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.6199656,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["MyIP"]}
caddy-reverse-proxy-1 | {"level":"warn","ts":1707832850.6204915,"logger":"tls","msg":"stapling OCSP","error":"no OCSP stapling for [MyIP]: no OCSP server specified in certificate","identifiers":["MyIP"]}
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.6206715,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.6206858,"msg":"serving initial configuration"}
caddy-reverse-proxy-1 | {"level":"warn","ts":1707832850.6426978,"logger":"tls","msg":"storage cleaning happened too recently; skipping for now","storage":"FileStorage:/data/caddy","instance":"ad48cdae-b75e-4fd5-b495-4a5a0e56b3e2","try_again":1707919250.6426942,"try_again_in":86399.999999209}
caddy-reverse-proxy-1 | {"level":"info","ts":1707832850.6428475,"logger":"tls","msg":"finished cleaning storage units"}
mathesar_db | 2024-02-13 14:00:50.673 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
mathesar_db | 2024-02-13 14:00:50.736 UTC [27] LOG: database system was shut down at 2024-02-13 13:56:54 UTC
mathesar_db | 2024-02-13 14:00:50.771 UTC [1] LOG: database system is ready to accept connections
mathesar_service | /usr/local/bin/python: Error while finding module specification for 'mathesar.install' (ModuleNotFoundError: No module named 'mathesar')
mathesar_service exited with code 1

Metadata

Metadata

Assignees

Labels

needs: troubleshootingIssues that we can't reproduce or need to investigate further before picking a course of actionrestricted: maintainersOnly maintainers can resolve this issueuser reportedReported by a Mathesar userwork: backendRelated to Python, Django, and simple SQLwork: dockerRelated to our production or development docker setup

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions