I have Nextcloud 20.0.1 running on docker with mariadb and redis behind nginx proxy.
Notes 4.0.0
Everything is running ok but …
create new note
add some text
wait for auto save (star is gone near note name)
close the tab
open new tab and go to note
note is not updated and it takes 7 seconds to refresh!
Or you don’t have to close the tab, just go to other page or just simply refresh (F5)
It is annoying because when you go to note and start typing something after 7 seconds note is refreshed and your new text is gone.
Basically with this issue Notes is unusable.
I haven’t seen similar issue reported. Maybe it is something in my configuration?
I think that this might be sth wrong with my nginx reverse proxy.
When I am using nextcloud in local network I have no above issues with notes
Here is my nginx config:
I entered nextcloud page again after some time. Service worker did something again. Downloaded 87MB of some data.
Actually I have total 343MB of data in nextcloud. One video file 285MB, some photos (42MB), some txt notes and default example content.
And I have this sync problem again.
What is this 87MB?
When I clear cache everything works ok until service worker download cache again.
If you suspect a bug in the Notes app, you should opem a ticket in the issue tracker. Since this is a community support forum, most developers don’t read here - and i am only the Notes Android guy
I am not sure if it is Notes App bug. If it was a bug, someone would have mentioned it already on the git or here.
As I said earlier Notes works ok when I started clean docker instance on local network without nginx reverse proxy.
Probably it is something in my setup. I have also home-assistant running on the same domain.
Home assistant is also using service-workers.
Home assistant is on xxx.com and nextcloud is xxx.com/cloud
For now I can;t replicate the problem after clearing cache. It appears after some time.
That is why I didn’t create issue on github.
I am not 100% if it is a bug in Notes App.
I changed my setup and now everything works
First of all I changed noip to duckdns. It supports wildcards so now I have homeassistant.xxx.duckdns.org and cloud.xxx.duckdns.org
Both homeassistant and nextcloud notes works ok
So this was not a bug in Notes app.
Problem solved