This guide will walk you through setting up Nextcloud Passwords synchronization with NexPass.
- What You Need
- Installing Nextcloud Passwords
- Creating an App Password
- Configuring NexPass
- First Sync
- Troubleshooting
- Advanced Configuration
- Nextcloud Server: Version 25 or higher
- Self-hosted instance, OR
- Managed hosting (e.g., Hetzner, Nextcloud providers)
- Nextcloud Passwords App: Installed on your server
- HTTPS: Your Nextcloud server must use HTTPS (required for security)
- NexPass App: Installed on your Android device
App passwords are more secure than using your main Nextcloud password because:
- Limited scope (only access Passwords app)
- Revocable without changing main password
- Required if you use Two-Factor Authentication (2FA)
- Best practice for third-party apps
- Log in to Nextcloud web interface as admin
- Click your profile (top-right) → Apps
- Search for "Passwords"
- Click "Download and enable"
- Wait for installation to complete
- Passwords app now appears in your app menu
- Contact your provider or check their app catalog
- Install Passwords app from available apps
- Some providers pre-install it for you
- Open Nextcloud
- Look for Passwords in the top app menu
- Click it - you should see the Passwords interface
- If not visible, check Apps → Enabled apps
-
Log in to Nextcloud web interface
-
Open Settings:
- Click your profile picture (top-right)
- Select Personal settings or Settings
-
Navigate to Security:
- In the left sidebar
- Click Security
-
Scroll to "Devices & sessions" section
-
Create App Password:
- Look for "App name" or "Create new app password" field
- Enter a name:
NexPassorNexPass Android - Click "Create new app password"
-
Copy the App Password:
- A long password appears (e.g.,
xxxxx-xxxxx-xxxxx-xxxxx-xxxxx) - Copy it immediately - you won't see it again!
- Store it temporarily in a note or clipboard
- A long password appears (e.g.,
-
Important:
- Do NOT share this password
- Do NOT use your main Nextcloud password in NexPass
- Keep the app password secure
┌─────────────────────────────────────────┐
│ Security │
├─────────────────────────────────────────┤
│ Devices & sessions │
│ │
│ App name: │
│ ┌─────────────────────────────────────┐ │
│ │ NexPass │ │
│ └─────────────────────────────────────┘ │
│ [Create new app password] │
│ │
│ ✅ App password created! │
│ │
│ xxxxx-xxxxx-xxxxx-xxxxx-xxxxx │
│ [Copy] │
└─────────────────────────────────────────┘
-
Open NexPass on your Android device
-
Unlock your vault with master password or biometric
-
Open Settings:
- Tap the ⋮ menu (top-right)
- Select Settings
-
Navigate to Nextcloud Sync:
- Scroll down
- Tap Nextcloud Sync
-
Enter Server URL:
- Format:
https://your-domain.com - Examples:
- Self-hosted:
https://cloud.example.com - Hetzner:
https://your-account.on-hetzner.cloud - Generic:
https://nextcloud.yourdomain.com
- Self-hosted:
- Important: Must start with
https:// - No trailing slash: ❌
https://cloud.example.com/(wrong) - No path: ❌
https://cloud.example.com/nextcloud(wrong)
- Format:
-
Enter Username:
- Your Nextcloud username (same as web login)
- Usually your email or a custom username
- Case-sensitive
-
Enter App Password:
- Paste the app password you created earlier
- Include the dashes:
xxxxx-xxxxx-xxxxx-xxxxx-xxxxx - Or paste without dashes (both work)
-
Test Connection:
- Tap "Test Connection" button
- Wait for verification (may take 5-10 seconds)
- Success: ✅ "Connection successful"
- Failure: See Troubleshooting
-
Save Configuration:
- If test succeeded, tap "Save"
- Settings are stored securely (encrypted)
Server URL: https://cloud.example.com
Username: john.doe
App Password: xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
[Test Connection] → ✅ Connection successful!
[Save]
After configuring Nextcloud:
-
Navigate to Sync Settings:
- Settings → Nextcloud Sync
-
Tap "Sync Now":
- Button at the bottom of the screen
-
Wait for Sync:
- Progress indicator appears
- May take 10-30 seconds depending on vault size
-
Check Results:
- Success: "Last sync: Just now" with ✅
- Failure: Error message (see Troubleshooting)
- Downloads all passwords from Nextcloud server
- Decrypts them locally on your device
- Imports them into your vault
- Uploads all passwords from NexPass vault
- Encrypts them before transmission
- Creates them on Nextcloud server
- Two-way sync:
- Passwords on NexPass → uploaded to Nextcloud
- Passwords on Nextcloud → downloaded to NexPass
- Duplicates are merged (based on UUID)
- Conflicts resolved using last-write-wins
-
Check NexPass:
- Open vault list
- Verify all expected passwords are present
-
Check Nextcloud Web:
- Log in to Nextcloud
- Open Passwords app
- Verify passwords appear there
-
Both Should Match:
- Same passwords in NexPass and Nextcloud
- Same usernames, URLs, and notes
Problem: Server URL format is incorrect
Solutions:
- ✅ Use
https://prefix - ✅ Remove trailing slash
- ✅ Remove any paths (like
/index.php) - ✅ Example:
https://cloud.example.com
Problem: Username or app password is wrong
Solutions:
- Verify username matches Nextcloud login
- Double-check app password (copy/paste to avoid typos)
- Recreate app password in Nextcloud settings
- Ensure username is case-sensitive correct
Problem: HTTPS certificate is invalid or self-signed
Solutions:
- Ensure server has valid SSL certificate (Let's Encrypt is free)
- NexPass does NOT support self-signed certificates (security)
- Contact your hosting provider to fix SSL
Problem: Passwords app not installed on server
Solutions:
- Log in to Nextcloud web
- Go to Apps
- Search and install "Passwords" app
- Refresh and try again
Problem: Internet connection or server unreachable
Solutions:
- Check device has internet connection
- Verify server URL is correct and accessible in browser
- Check if server is online
- Try again with better network (Wi-Fi recommended)
Problem: Same password modified on multiple devices
Solutions:
- NexPass uses last-write-wins conflict resolution
- Most recent change is kept
- Older change is overwritten
- Avoid editing same password on multiple devices simultaneously
If sync isn't working, verify:
- Server URL starts with
https:// - No trailing slash in server URL
- Username is correct (case-sensitive)
- App password copied correctly (all characters)
- Nextcloud Passwords app is installed
- Your device has internet connection
- Nextcloud server is reachable (test in browser)
- SSL certificate is valid (not self-signed)
If you get an error:
- Note the exact error message
- Check logs (if available in Settings → About)
- Report issue with:
- Error message
- Nextcloud version
- NexPass version
- Server type (self-hosted/managed)
Contact: support@daguva.com
Current: Manual sync only
- Tap "Sync Now" to synchronize
- No background sync (planned for v1.1.0)
Future (v1.1.0+):
- Background sync with WorkManager
- Sync every 6-12 hours automatically
- User can still manually sync anytime
- After creating passwords: Sync immediately
- Before editing: Sync to get latest changes
- After editing: Sync to upload changes
- Daily: At least once per day if actively using
- Before switching devices: Sync on old device, then on new device
NexPass supports offline mode:
- No internet: Create/edit passwords as normal
- Changes queued: Stored in pending sync operations
- When online: Sync automatically uploads queued changes
Important Limitation: Folders and tags currently do NOT sync with Nextcloud
- Folders: Local to each device (planned for v1.1.0)
- Tags: Local to each device
- Workaround: Use export/import to transfer folder structure
If you use Nextcloud 2FA:
- App passwords bypass 2FA (by design)
- This is normal and secure
- Main Nextcloud login still requires 2FA
- App passwords have limited scope
To use NexPass on multiple devices:
-
Setup on first device:
- Configure Nextcloud sync
- Sync your passwords
-
Setup on second device:
- Install NexPass
- Create same master password (or different if preferred)
- Configure Nextcloud sync (same server, user, app password)
- Sync to download passwords
-
Keep in sync:
- Sync before making changes
- Sync after making changes
- Conflicts resolved automatically (last-write-wins)
If you need to remove NexPass access:
- Log in to Nextcloud web
- Settings → Security
- Find NexPass in Devices & sessions
- Click delete/revoke icon (🗑️)
- NexPass can no longer sync until you create a new app password
- Zero-knowledge: Nextcloud server never sees plaintext passwords
- Encryption: Passwords encrypted before upload (AES-256-GCM)
- Transport: HTTPS (TLS 1.2+) for all communication
- Authentication: App passwords are hashed, not stored
- Server storage: Nextcloud stores encrypted passwords only
┌──────────────────────────────────────────────┐
│ Nextcloud Setup Quick Reference │
├──────────────────────────────────────────────┤
│ │
│ 1. Install Nextcloud Passwords App │
│ Nextcloud Web → Apps → Passwords │
│ │
│ 2. Create App Password │
│ Settings → Security → App passwords │
│ Name: NexPass │
│ │
│ 3. Configure NexPass │
│ Settings → Nextcloud Sync │
│ - Server URL: https://your-server.com │
│ - Username: your-username │
│ - App Password: xxxxx-xxxxx-xxxxx... │
│ │
│ 4. Test & Save │
│ Test Connection → ✅ → Save │
│ │
│ 5. First Sync │
│ Tap "Sync Now" → Wait → Verify │
│ │
└──────────────────────────────────────────────┘
Need more help? See TROUBLESHOOTING.md or contact support@daguva.com