# Nostr Relay app doesn’t auto-sync on startup (manual npub re-entry required)

**URL:** <https://community.umbrel.com/t/nostr-relay-app-doesn-t-auto-sync-on-startup-manual-npub-re-entry-required/24351>\
**Category:** General Discussion\
**Created:** [December 4, 2025, 9:16am UTC](https://community.umbrel.com/t/nostr-relay-app-doesn-t-auto-sync-on-startup-manual-npub-re-entry-required/24351 "2025-12-04T09:16:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patzmaschine](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@Patzmaschine](https://community.umbrel.com/u/Patzmaschine)\
**Post date:** [December 4, 2025, 9:16am UTC](https://community.umbrel.com/t/nostr-relay-app-doesn-t-auto-sync-on-startup-manual-npub-re-entry-required/24351/1 "2025-12-04T09:16:07Z")

</div>

* * *

## 🔧 [BUG] Nostr Relay app doesn’t auto-sync on startup (manual npub re-entry required)

Hi all,  
I noticed that the Nostr Relay app on Umbrel doesn’t seem to auto-sync on startup.  
Here’s what I found so far:

* * *

# 🧩 Bug Report: No automatic sync on Nostr Relay app startup

**Summary:**  
When starting the _Nostr Relay_ app on Umbrel, only an outdated snapshot of Nostr posts is shown.  
The feed updates **only after manually deleting and re-entering the `npub`** in the **“Sync from public relays”** field.  
Until that manual action, no synchronization with public relays happens automatically.

* * *

### 🔁 Steps to reproduce

1. Start the Nostr Relay app on Umbrel

2. Wait for the feed to load

3. Observe that only an older / incomplete set of events appears

4. Delete and re-enter your `npub` in the **“Sync from public relays”** field

5. The app immediately starts syncing and displays the latest Nostr events

* * *

### ✅ Expected behavior

The app should automatically trigger a sync with public relays on startup so that the latest events are displayed without manual action.

### 🐞 Actual behavior

No automatic sync occurs on startup.  
The synchronization only starts after manually re-entering the `npub`.

* * *

### ⚙ Environment

- **Umbrel OS:** _(please fill in your version)_

- **Nostr Relay App:** 1.2.0

- **Backend:** nostr-rs-relay

- **Logs:** No errors or warnings — only info messages such as:

* * *

### 🧠 Additional notes

It seems that the “sync from public relays” process is only started when the `npub` field changes,  
not when the app is launched.  
This behavior is reproducible and likely caused by a missing or inactive trigger in the frontend logic.

* * *
