Skip to content

Nodestore migration script issue #3960

@kodebach

Description

@kodebach

Self-Hosted Version

25.9.0

CPU Architecture

irrelevant

Docker Version

irrelevant

Docker Compose Version

irrelevant

Machine Specification

  • My system meets the minimum system requirements of Sentry

Steps to Reproduce

Run ./install.sh to update to 25.9.0 and when asked allow migration to S3/seaweedfs

Expected Result

The script configures the nodestore fall back to the existing data in Postgres.

Actual Result

The example config is copied without the fallback options.

Pretty sure this if is the wrong way around

if [[ $($dc exec postgres psql -qAt -U postgres -c "select exists (select * from nodestore_node limit 1)") = "f" ]]; then
nodestore_config=$(echo -e "$nodestore_config" | sed '$s/\}/ "read_through": True,\n "delete_through": True,\n\}/')
fi

it only adds the read_through and delete_through options, if the nodestore_node table does not exist.

Event ID

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions