Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.
This repository was archived by the owner on Aug 31, 2025. It is now read-only.

DB Migration Gets Failed  #1446

@chahmedejaz

Description

@chahmedejaz

Steps to reproduce the problem

  1. Migrate the database

Expected behaviour

Migration should be successful

Actual behaviour

Migration gets failed

Detailed description

vapid_keypair = Webpush.generate_key.to_hash

The above line throws the following error:
image

This is a known Webpush issue which is supposed to be fixed in this.

I'm not sure whether we should handle this here. Howoever, for the fix we might add some dummy private and public keys like:

vapid_keypair = {public_key: Random.uuid, private_key: Random.uuid}

Specifications

Ruby 3.2.2
Node 18.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues containing bug reports

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions