Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

When upgrading from V3.x.x to V4.0.x

Open
#50 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
database

Research direction

No file, test, or entry point is named in the report. Start by reproducing the V3.x.x-to-V4.0.x upgrade and inspect the migration step that creates settings.name entries; done means the upgrade completes without the reported UNIQUE constraint failure and the cause is documented or fixed.

Written by the indexing model from the issue text.

Description

When upgrading from V3.x.x to V4.0.x report an error:
Failed to migrate: failed to create setting hash_id_salt: ent: constraint failed: constraint failed: UNIQUE constraint failed: settings.name (2067)

Dominant language
TypeScript
Stars
18
Forks
41
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudreve/docs

All issues in cloudreve/docs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.