Skip to content

Sentry broken since v4.2.4 #1417

@Snoo-py

Description

@Snoo-py

Current Behavior

Netbox fails to start with AttributeError: module 'strawberry.schema.schema' has no attribute 'execute_sync', likely caused by getsentry/sentry-python#4041 and fixed in Sentry 2.21.0 or newer.

Expected Behavior

Netbox starts normally.

Docker Compose Version

v2.33.1

Docker Version

Client: Docker Engine - Community
 Version:           28.0.1
 API version:       1.48
 Go version:        go1.23.6
 Git commit:        068a01e
 Built:             Wed Feb 26 10:41:16 2025
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          28.0.1
  API version:      1.48 (minimum version 1.24)
  Go version:       go1.23.6
  Git commit:       bbd0a17
  Built:            Wed Feb 26 10:41:16 2025
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.25
  GitCommit:        bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
 runc:
  Version:          1.2.4
  GitCommit:        v1.2.4-0-g6c52b3f
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

The git Revision

Not applicable

The git Status

Not applicable

Startup Command

docker compose up

NetBox Logs

netbox-1  | AttributeError: module 'strawberry.schema.schema' has no attribute 'execute_sync'
netbox-1  | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-1  | ⏳ Waiting on DB... (0s / 30s)
netbox-1  | AttributeError: module 'strawberry.schema.schema' has no attribute 'execute_sync'
netbox-1  | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-1  | ⏳ Waiting on DB... (3s / 30s)
netbox-1  | AttributeError: module 'strawberry.schema.schema' has no attribute 'execute_sync'
netbox-1  | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-1  | ⏳ Waiting on DB... (6s / 30s)
netbox-1  | AttributeError: module 'strawberry.schema.schema' has no attribute 'execute_sync'
netbox-1  | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-1  | ⏳ Waiting on DB... (9s / 30s)
netbox-1  | AttributeError: module 'strawberry.schema.schema' has no attribute 'execute_sync'
netbox-1  | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-1  | ⏳ Waiting on DB... (12s / 30s)

Content of docker-compose.override.yml

Not applicable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions