Checklist
Affected version
0.28.2
Steps to reproduce the bug
- Create a WebDAV mounted folder (I use DAVx5)
- Open NewPipe settings
- Go to Backup and Restore
- Click on "Export database", and select the WebDAV mount.
(Same behaviour when trying to export subscriptions only)
Expected behavior
The NewPipe backup is successfully created in the mounted folder.
Actual behavior
- An exception is raised:
java.lang.UnsupportedOperationException: Mode rw not supported by WebDAV
- And empty file is created in the mounted folder.
Screenshots/Screen recordings
No response
Logs
Exception
- User Action: database import or export
- Request: Exporting database and settings
- Content Country: US
- Content Language: en-
- App Language: en_US
- Service: <unknown_service>
- Timestamp: 2026-01-31T16:57:35.147+01:00
- Package: org.schabi.newpipe
- Service: <unknown_service>
- Version: 0.28.2
- OS: Linux Android 16 - 36
Crash log
java.lang.UnsupportedOperationException: Mode rw not supported by WebDAV
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:164)
at android.content.ContentProviderProxy.openAssetFile(ContentProviderNative.java:737)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1878)
at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1691)
at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1637)
at us.shandian.giga.io.FileStreamSAF.<init>(FileStreamSAF.java:32)
at org.schabi.newpipe.streams.io.StoredFileHelper.getStream(StoredFileHelper.java:188)
at org.schabi.newpipe.streams.io.StoredFileHelper.openAndTruncateStream(StoredFileHelper.java:193)
at org.schabi.newpipe.settings.export.ImportExportManager.exportDatabase(ImportExportManager.kt:29)
at org.schabi.newpipe.settings.BackupRestoreSettingsFragment.exportDatabase(BackupRestoreSettingsFragment.java:165)
at org.schabi.newpipe.settings.BackupRestoreSettingsFragment.requestExportPathResult(BackupRestoreSettingsFragment.java:136)
at org.schabi.newpipe.settings.BackupRestoreSettingsFragment.$r8$lambda$fGteoRaC9h1Pn2xEuX2RRkPtyno(BackupRestoreSettingsFragment.java:0)
at org.schabi.newpipe.settings.BackupRestoreSettingsFragment$$ExternalSyntheticLambda1.onActivityResult(R8$$SyntheticClass:0)
at androidx.activity.result.ActivityResultRegistry.doDispatch(ActivityResultRegistry.java:414)
at androidx.activity.result.ActivityResultRegistry.dispatchResult(ActivityResultRegistry.java:371)
at androidx.activity.ComponentActivity.onActivityResult(ComponentActivity.java:845)
at androidx.fragment.app.FragmentActivity.onActivityResult(FragmentActivity.java:151)
at android.app.Activity.onActivityResult(Activity.java:7626)
at android.app.Activity.internalDispatchActivityResult(Activity.java:9546)
at android.app.Activity.dispatchActivityResult(Activity.java:9523)
at android.app.ActivityThread.deliverResults(ActivityThread.java:6173)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:6223)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:78)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:63)
at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:133)
at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:103)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:80)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2823)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loopOnce(Looper.java:248)
at android.os.Looper.loop(Looper.java:338)
at android.app.ActivityThread.main(ActivityThread.java:9067)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)
Affected Android/Custom ROM version
Android 16 / LineageOS 23.0
Affected device model
Sony Xperia 5 IV (XQ-CQ54)
Additional information
No response
Checklist
Affected version
0.28.2
Steps to reproduce the bug
(Same behaviour when trying to export subscriptions only)
Expected behavior
The NewPipe backup is successfully created in the mounted folder.
Actual behavior
java.lang.UnsupportedOperationException: Mode rw not supported by WebDAVScreenshots/Screen recordings
No response
Logs
Exception
Crash log
Affected Android/Custom ROM version
Android 16 / LineageOS 23.0
Affected device model
Sony Xperia 5 IV (XQ-CQ54)
Additional information
No response