streetwriters / notesnook

A fully open source & end-to-end encrypted note taking alternative to Evernote.
https://notesnook.com/
GNU General Public License v3.0
10.22k stars 631 forks source link

Can not connect to Monograph self-hosted server #6937

Open mihver1 opened 1 day ago

mihver1 commented 1 day ago

What happened?

Updated Desktop app to 3.0.21 (240). Tried to add monograph server, got an error. Now I can not login back into my self-hosted setup (latest, from compose).

Image

Steps to reproduce the problem

  1. Update to 3.0.21
  2. Log out
  3. Try to add your monograph server
  4. Get an error
  5. Try to login back -- your server setup switched back to official instance and can't be restored without monograph.

Version

3.0.21 (240)

Platform/OS

macOS, iOS

Relevant log output

mihver1 commented 1 day ago

I have found, that api/version method was commited to monograph 2 weeks ago, but latest image was published a month ago. Can you publish latest monograph?

mihver1 commented 1 day ago

Solved by adding location /api/version in nginx. Everything works right now.

location /api/version {
    return 200 '{"version":1,"id":"monograph","instance":"self-hosted-notesnook-instance"}';
}