0
Declined

Using Filerun with Nextcloud Notes?

jorgen 12 months ago updated by Vlad R 8 months ago 6

I'm trying to switch from Nextcloud to Fileruns, so far it has been smooth sailing.... but now..

I want to use the android app Nexcloud notes v3.4.1... I keep getting errors so i winder if it is possible at all or am I doing something wrong.


The errors I get on the webserver are 404's:


172.17.0.1 - NEXTCLOUDTOKEN2 [26/Aug/2021:07:46:43 +0200] "POST
/index.php/apps/notes/api/v0.2/notes? HTTP/1.1" 404
194 "-" "Mozilla/5.0
(Android) Nextcloud-android/3.17.0"
172.17.0.1 -
NEXTCLOUDTOKEN2 [26/Aug/2021:07:46:43 +0200] "GET
/index.php/apps/notes/api/v0.2/notes?pruneBefore=0 HTTP/1.1" 404 194 "-"
"Mozilla/5.0 (Android) Nextcloud-android/3.17.0"
172.17.0.1
- NEXTCLOUDTOKEN2 [26/Aug/2021:07:49:56 +0200] "POST
/index.php/apps/notes/api/v0.2/notes? HTTP/1.1" 404 194 "-" "Mozilla/5.0
(Android) Nextcloud-android/3.17.0"

This is maybe a dealbreaker for my switch to Filerun, anyone who knows if it's possible at all to do this?

Or am I stuck with Joplin?

+2
Under review

It will probably require a FileRun update to make it work. I'll look into what it will take to add compatibility.

wow, that would be awesome.

hopefully it is an easy addition

thanks,, Jörgen

No change with new Filerun version.

I get this error message when syncing

App Version: 3.4.16App Version Code: 3004016App Flavor: fdroid
Files App Version Code: 30180190
---
OS Version: 4.19.110-perf+(2110091916)OS API Level: 30Device: OnePlus8TManufacturer: OnePlusModel (and Product): KB2003 (OnePlus8T_EEA)
---
java.lang.RuntimeException: com.nextcloud.android.sso.exceptions.NextcloudHttpRequestFailedException: HTTP-förfrågan misslyckades med HTTP-statuskod: 404 at io.reactivex.internal.util.ExceptionHelper.wrapOrThrow(ExceptionHelper.java:46) at io.reactivex.internal.observers.BlockingMultiObserver.blockingGet(BlockingMultiObserver.java:93) at io.reactivex.Maybe.blockingGet(Maybe.java:2321) at io.reactivex.Observable.blockingSingle(Observable.java:5381) at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pullRemoteChanges(NotesServerSyncTask.java:219) at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:96) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:923)Caused by: com.nextcloud.android.sso.exceptions.NextcloudHttpRequestFailedException: HTTP-förfrågan misslyckades med HTTP-statuskod: 404 at com.nextcloud.android.sso.api.AidlNetworkRequest.performNetworkRequestV2(AidlNetworkRequest.java:172) at com.nextcloud.android.sso.api.NextcloudAPI.performNetworkRequestV2(NextcloudAPI.java:171) at com.nextcloud.android.sso.api.NextcloudAPI.lambda$performRequestObservableV2$1$com-nextcloud-android-sso-api-NextcloudAPI(NextcloudAPI.java:110) at com.nextcloud.android.sso.api.NextcloudAPI$$ExternalSyntheticLambda0.subscribe(Unknown Source:6) at io.reactivex.internal.operators.observable.ObservableFromPublisher.subscribeActual(ObservableFromPublisher.java:31) at io.reactivex.Observable.subscribe(Observable.java:12284) at io.reactivex.internal.operators.observable.ObservableSingleMaybe.subscribeActual(ObservableSingleMaybe.java:31) at io.reactivex.Maybe.subscribe(Maybe.java:4290) at io.reactivex.Maybe.blockingGet(Maybe.java:2320) ... 8 moreCaused by: java.lang.IllegalStateException: {"ocs":{"meta":{"status":"failed","statuscode":404,"message":"Unknown custom route"},"data":[]}}
at com.nextcloud.android.sso.InputStreamBinder.processRequestV2(InputStreamBinder.java:455) at com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestAndBodyStreamV2(InputStreamBinder.java:128) at com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestV2(InputStreamBinder.java:111) at com.nextcloud.android.sso.aidl.IInputStreamService$Stub.onTransact(IInputStreamService.java:158) at android.os.Binder.execTransactInternal(Binder.java:1165) at android.os.Binder.execTransact(Binder.java:1134)

Declined

Sorry, Nextcloud notes requires a server component, which in my opinion is completely redundant, and i won't replicate it in FileRun.

There are other note taking apps which sync fine with a WebDAV server. Joplin is an example: https://docs.filerun.com/mobile_apps#note_taking_appjoplin