# Relocating Blob stores

**URL:** <https://community.sonatype.com/t/relocating-blob-stores/8819>\
**Category:** Sonatype Nexus Repository\
**Created:** [June 13, 2022, 11:30am UTC](https://community.sonatype.com/t/relocating-blob-stores/8819 "2022-06-13T11:30:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomasz.dzierzawski](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@tomasz.dzierzawski](https://community.sonatype.com/u/tomasz.dzierzawski)\
**Post date:** [June 13, 2022, 11:30am UTC](https://community.sonatype.com/t/relocating-blob-stores/8819/1 "2022-06-13T11:30:33Z")

</div>

Following this article

> **[Advanced Method of Relocating Blob Stores in Repo 3 Running OrientDB](https://support.sonatype.com/hc/en-us/articles/235816228-Advanced-Method-of-Relocating-Blob-Stores-in-Repo-3-Running-OrientDB)**
>
> Please Use Caution
> The preferred and supported way to move a blob store can be found in our help documentation. 
> These steps in this article should in general be avoided if at all possible and are ...

I faced issue:  
Relocation from  
Sonatype Nexus Repository Manager  
OSS 3.12.1-01  
to  
Sonatype Nexus Repository Manager  
OSS 3.39.0-01  
After: repositories looking ok (npm-private)

Browser shows only previously uploaded artifact

 ![nexus_blobs_relocation_browse](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/2X/b/beebe0f067e553e2a5911a78ecb2c4d9d38e5d73.png)

---

<div class="post-metadata">

**Author:** ![tomasz.dzierzawski](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@tomasz.dzierzawski](https://community.sonatype.com/u/tomasz.dzierzawski)\
**Post date:** [June 13, 2022, 11:32am UTC](https://community.sonatype.com/t/relocating-blob-stores/8819/2 "2022-06-13T11:32:10Z")

</div>

![nexus_blobs_relocation](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/2X/6/6259a201ed5d51fcfcf5b5dffd945391ff24af51.png)

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [June 13, 2022, 8:54pm UTC](https://community.sonatype.com/t/relocating-blob-stores/8819/3 "2022-06-13T20:54:08Z")

</div>

The instructions there are just for changing the file system location for blobs in a Nexus instance.

Its not really clear to me what you’ve done or expect from your comments. You could try running the task to rebuild browse nodes which might refresh the tree.

---

<div class="post-metadata">

**Author:** ![tomasz.dzierzawski](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@tomasz.dzierzawski](https://community.sonatype.com/u/tomasz.dzierzawski)\
**Post date:** [June 15, 2022, 8:24am UTC](https://community.sonatype.com/t/relocating-blob-stores/8819/4 "2022-06-15T08:24:40Z")

</div>

> [@mpiggott](#):
>
> You could try running the task to rebuild browse nodes which might refresh the tree.

If you mean, instruction from Relocatin Blob Store Article - it’s exactly what I’ve done. Or maybe you’re thinking about other task …  
Exatly this part:

```auto
update repository_blobstore set attributes.file.path='/new/blobstore/location/sample' where name='sample'

```

---

<div class="post-metadata">

**Author:** ![tomasz.dzierzawski](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@tomasz.dzierzawski](https://community.sonatype.com/u/tomasz.dzierzawski)\
**Post date:** [June 17, 2022, 1:08pm UTC](https://community.sonatype.com/t/relocating-blob-stores/8819/5 "2022-06-17T13:08:22Z")

</div>

I defined Task → Repair - Rebuild repository browse

Nothing changed - as you can check in log - it finished with success. But I still have only one artifact even that blobs looks ok.

```auto
2022-06-17 10:30:00,011+0000 INFO [quartz-11-thread-20] *SYSTEM org.sonatype.nexus.repository.browse.node.RebuildBrowseNodesTask - Task information:
2022-06-17 10:30:00,012+0000 INFO [quartz-11-thread-20] *SYSTEM org.sonatype.nexus.repository.browse.node.RebuildBrowseNodesTask - ID: aea67458-3a86-4d98-86c4-fb353e49274e
2022-06-17 10:30:00,012+0000 INFO [quartz-11-thread-20] *SYSTEM org.sonatype.nexus.repository.browse.node.RebuildBrowseNodesTask - Type: create.browse.nodes
2022-06-17 10:30:00,012+0000 INFO [quartz-11-thread-20] *SYSTEM org.sonatype.nexus.repository.browse.node.RebuildBrowseNodesTask - Name: Rebuild repository browse
2022-06-17 10:30:00,012+0000 INFO [quartz-11-thread-20] *SYSTEM org.sonatype.nexus.repository.browse.node.RebuildBrowseNodesTask - Description: Rebuilding browse tree for npm-private
2022-06-17 10:30:00,013+0000 INFO [quartz-11-thread-20] *SYSTEM org.sonatype.nexus.repository.browse.internal.orient.OrientRebuildBrowseNodeService - Deleting browse nodes for repository npm-private
2022-06-17 10:30:00,019+0000 INFO [quartz-11-thread-20] *SYSTEM org.sonatype.nexus.repository.browse.internal.orient.OrientBrowseNodeStore - Deleted 2 browse nodes for repository npm-private in 4.440 ms
2022-06-17 10:30:00,019+0000 INFO [quartz-11-thread-20] *SYSTEM org.sonatype.nexus.repository.browse.internal.orient.OrientRebuildBrowseNodeService - Rebuilding browse nodes for repository npm-private
2022-06-17 10:30:00,047+0000 INFO [quartz-11-thread-20] *SYSTEM org.sonatype.nexus.repository.browse.internal.orient.OrientRebuildBrowseNodeService - Rebuilt browse nodes for 2 / 2 assets in 26 ms
2022-06-17 10:30:00,048+0000 INFO [quartz-11-thread-20] *SYSTEM org.sonatype.nexus.repository.browse.node.RebuildBrowseNodesTask - Task complete

```

Did anybody verify Relocating blob stores and browsing after it in version OSS 3.39.0-01. Or please let me know for what version it works for sure.
