Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-21-2024, 11:03 AM   #1
eddierm
Member
eddierm began at the beginning.
 
eddierm's Avatar
 
Posts: 17
Karma: 10
Join Date: Nov 2019
Location: Bogotá, Colombia
Device: Kobo Libra
How to proper setup Nextcloud Notes in koreader?

Hi everyone!

I have been using koreader for long time now and found it very useful for my academic work. I used to export all my highlights to joplin but in version 2024.11 I found there are a new option: Nextcloud Notes. Since I have a selfhosted server with NC which I use as a replacement for Google Drive, I find this option interesting.

In the wiki at Koreader's Github page, there is no documentation to setup Nextcloud Notes, so I did the next steps:

In highlight export select Nextcloud Notes and configure like this:

URL: https://myserver.tld/nextcloud
Username: my-nc-user
App Password: 11111-22222-33333-44444-55555

Just for clarification, my NC server is not on a subdomain but in a subfolder (/nextcloud).

What I tried:
  1. Using my normal NC password. Did not work!
  2. Create an app password in NC -> Config -> Security. Then i used the 5 blocks of 5 characters each in the password (as my example). Did not work!
  3. Remove the hyphens and put the 25 characters continue. Did not work!
  4. Add a slash after the url: https://myserver.tld/nextcloud/ with the app password both with and without hyphens. Did not work!
  5. Add the complete address to Nextcloud Notes: https://myserver.tld/nextcloud/apps/notes with the app password both with and without hyphens. Did not work!

I would like to ask you if someone knows how to setup Nextcloud Notes with koreader and could help me.

Thanks in advance!
eddierm is offline   Reply With Quote
Old 11-21-2024, 06:13 PM   #2
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Yup. I merged the feature without documentation

Hopefully somebody helps:

You'll need the url of your nextcloud instance, like "https://nc.example.com" or "https://example.com/nc", your user name within that nc instance and an app password from "NC-> Security -> Devices & sessions"

If that stills fails you'll need to look at the logs and tell us what happens.

There's no reason for it to not work with a subdomain if your nginx/apache proxy is configured properly.

Nextcloud has a tool on its web UI to check about misconfigurations, make sure there's no problem on reverse proxy if you're using Nextcloud AIO kind of solutions.
pazos is offline   Reply With Quote
Old 11-21-2024, 10:34 PM   #3
eddierm
Member
eddierm began at the beginning.
 
eddierm's Avatar
 
Posts: 17
Karma: 10
Join Date: Nov 2019
Location: Bogotá, Colombia
Device: Kobo Libra
Hello there and thanks for your fast reply.

I have made as you said (I have already done it from the beginning), but still do not work. As I said in my first post, I made an app password in NC and that is correct.

My server is on Nginx and, as I said before, NC is fully functional since I used it well on my web browser and the NC desktop app (in Windows 10).

This are my logs in koreader, but I do not understand what it means:

Code:
11/21/24-22:03:03 WARN Nextcloud: HTTP response code <> 200. Response status: HTTP/1.1 401 Unauthorized
11/21/24-22:03:03 WARN Error fetching existing notes from Nextcloud HTTP/1.1 401*Unauthorized
I have seen the NC logs but I did not find any relevant in that time.

What checks can I do?

Quote:
Originally Posted by pazos View Post
Yup. I merged the feature without documentation

Hopefully somebody helps:

You'll need the url of your nextcloud instance, like "https://nc.example.com" or "https://example.com/nc", your user name within that nc instance and an app password from "NC-> Security -> Devices & sessions"

If that stills fails you'll need to look at the logs and tell us what happens.

There's no reason for it to not work with a subdomain if your nginx/apache proxy is configured properly.

Nextcloud has a tool on its web UI to check about misconfigurations, make sure there's no problem on reverse proxy if you're using Nextcloud AIO kind of solutions.
eddierm is offline   Reply With Quote
Old 11-24-2024, 12:45 PM   #4
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Thanks for your feedback, eddierm!

I'll need some free time. Give me a few weeks. Until then you can keep exporting to joplin. Eventually joplin will be removed as the setup is pretty involved and joplin itself isn't still designed for this usercase.

Don't worry, we won't drop joplin until we make sure the nextcloud exporter is in good shape.

Let me know if you have PM's enabled. Once I double check everything works fine here I'll send you a message with temporal credentials on my own instance, so you can test it works on your end.

Ademas, por privado, podemos hablar en nuestra lengua materna
pazos is offline   Reply With Quote
Old 03-10-2025, 11:48 AM   #5
eddierm
Member
eddierm began at the beginning.
 
eddierm's Avatar
 
Posts: 17
Karma: 10
Join Date: Nov 2019
Location: Bogotá, Colombia
Device: Kobo Libra
Is there any news?

Hi again @pazos Is there any update about how to use Nextcloud Notes in Koreader? I tried again and I am getting the same errors.
eddierm is offline   Reply With Quote
Old 03-12-2025, 01:46 PM   #6
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by eddierm View Post
Hi again @pazos Is there any update about how to use Nextcloud Notes in Koreader? I tried again and I am getting the same errors.
Everything works fine here, for quite a long time. I've received feedback on github. Nobody seem to have your particular issue.

Please send me a PR with login credentials to your nextcloud instance (and its endpoint) so I can double check if it is indeed related to your particular configuration.
pazos is offline   Reply With Quote
Old 04-26-2025, 08:56 AM   #7
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,661
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Rather than start a new thread I'm posting here because I too am having trouble getting Nextcloud (free shared hosting provide setup via Nextcloud's website) setup

The attachments show the app password from nextcloud and my attempt to enter that info into KOReader. I copied the login details and pasted into Notepadd++ then into the reader settingslua on my KOReader to avoid typos.

The error message in the crash log is
WARN Error fetching existing notes from Nextcloud Server HTTP response code is not OK

I tried modifying the URL to
https://tio.lv.tab.digital/apps

but that made no difference to the result. What am I doing wrong
Attached Thumbnails
Click image for larger version

Name:	nextcloud1.png
Views:	38
Size:	135.6 KB
ID:	215291   Click image for larger version

Name:	nextcloud2.png
Views:	41
Size:	682.4 KB
ID:	215292  
Uncle Robin is offline   Reply With Quote
Old 05-21-2025, 10:53 AM   #8
eddierm
Member
eddierm began at the beginning.
 
eddierm's Avatar
 
Posts: 17
Karma: 10
Join Date: Nov 2019
Location: Bogotá, Colombia
Device: Kobo Libra
Quote:
Originally Posted by pazos View Post
Everything works fine here, for quite a long time. I've received feedback on github. Nobody seem to have your particular issue.

Please send me a PR with login credentials to your nextcloud instance (and its endpoint) so I can double check if it is indeed related to your particular configuration.
Hi again.

I think I am not the only one with the same issue. I recently noted that someone documented the section of nextcloud notes on the koreader wiki, but he says this plugin simple does not work:

https://github.com/koreader/koreader...extcloud-notes

EDIT:

I finally got it working!

NC app bruteforece was banning my kobo IP address so I had to whitelist my kobo local IP address in NC->Config->Security. After that i deleted my Token and created a new one. Finally i got connected and I could upload one book notes... BUT...

When I tried to upload another book notes it did not work. So I tried to upload all my books notes and keep crashing. This is what I got on koreader crash log:

Code:
05/21/25-10:21:09 WARN Error fetching existing notes from Nextcloud Unable to decode JSON: Missing a closing quotation mark in string. (14330)
Interestingly, it is the same error when I try to upload notes from different books, the only change is the las number in parenthesis:

First book was: (4958)
Second book: (23929)
When I tryed to upload all books notes was (14330)

What those it mean? Sholud i upload it as an issue in github?

Please @pazos tell me what to do... And thanks a lot for your help!

Last edited by eddierm; 05-21-2025 at 12:00 PM.
eddierm is offline   Reply With Quote
Old 05-21-2025, 04:43 PM   #9
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by eddierm View Post
Should I upload it as an issue in github?
No need. Just keep an eye on https://github.com/koreader/koreader/issues/13623 and try again the first nightly release after the issue is closed.
pazos is offline   Reply With Quote
Old 05-23-2025, 01:47 AM   #10
shtrom
Junior Member
shtrom began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2025
Device: kindle kt3
Just a note, as this confused me and sent me on the wrong track:

Quote:
Originally Posted by eddierm View Post

App Password: 11111-22222-33333-44444-55555

What I tried:
  1. the app password both with and without hyphens. Did not work!
The App Password _needs_ the hyphens. Otherwise you'd get a PasswordLoginForbidden from Nextcloud. Not because of MFA or BruteForce settings, but just because the password is incorrect.
shtrom is offline   Reply With Quote
Old 05-25-2025, 04:25 AM   #11
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,661
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
I now have Nextcloud Notes up and running on my phone, so I I thought I'd try again to get the KOReader export working before my Readwise free trial expires. I'm getting a DIFFERENT error message now, as the attached crash log shows. Nextcloud still seems like a more straightforward solution than setting up WebDav, so if there's any way I can get this sorted, I'm all ears.
Attached Files
File Type: txt crash.txt (21.3 KB, 11 views)
Uncle Robin is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I need a beginner's guide to setup Joplin in koreader eddierm KOReader 18 11-21-2024 10:35 AM
KOReader and drives/cloud services (OneDrive, Nextcloud, Dropbox, Google Drive, etc.) oldbear KOReader 3 12-30-2022 06:35 AM
Exited Koreader now stuck on setup klektic Kobo Reader 1 12-23-2021 03:49 AM
Best way to achieve KPVBooklet + KOReader setup skunkos Kindle Developer's Corner 14 05-12-2019 01:06 AM
Notes and highlights for whole library in one place? *Sweet setup?* re_lusional Calibre 0 07-01-2018 10:03 AM


All times are GMT -4. The time now is 08:04 PM.


MobileRead.com is a privately owned, operated and funded community.