Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Lost s3 blobstores after migrate database in H2 #534

Open
ism93 opened this issue Dec 3, 2024 · 0 comments
Open

Lost s3 blobstores after migrate database in H2 #534

ism93 opened this issue Dec 3, 2024 · 0 comments
Assignees

Comments

@ism93
Copy link

ism93 commented Dec 3, 2024

Hi Everyone,

I'm trying to upgrade nexus-repository-manager from 3.70.0 to 3.71.0, but first I tried to migrate database from orient to H2.
I follow those steps to doing this migration of database:

  1. backup nexus with tasks
  2. Stop nexus
  3. Exec nexus-migrator jar in nexus-data directory
    java -Xmx16G -Xms16G -XX:+UseG1GC -XX:MaxDirectMemorySize=28672M -jar nexus-db-migrator-*.jar --migration_type=h2
  4. add value in /nexus-data/etc/nexus.properties
    nexus.datastore.enabled=true
  5. mv nexus.db.mv to /nexus-data/db directory
  6. Restart Nexus

After this database migration, I've lost my s3 blobstore configuration and my repositories in this blobstore.
Can you help me please?

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants