ddvk / rmfakecloud

host your own cloud for the remarkable
GNU Affero General Public License v3.0
700 stars 57 forks source link

Annotations to uploaded .pdf not showing and new notebooks are uploaded defective #283

Open Ingenioes opened 6 months ago

Ingenioes commented 6 months ago

Hey guys, Sorry to bother with a problem around Christmas, but I would be grateful if I could get some thoughts on this.

Setup: rm2 3.9.3.1986 with rmfakecloud-proxy docker 0.0.17 behind a traefik reverse proxy

Problem 1(logs attached): I can upload .pdfs to the webui and they will get synced to the rm2. If I add notes/annotations to them afterwards, these notes will not get synced back to the rmfc even though I see activity in the docker log. Adding new pages to these .pdf-files will also not add those pages in the webui. (error log: level=error msg="Unknown header")

Note: Downloading the .zip file via rmapi, the .content file will list the right number of pages at "pageCount":".

Problem 2(logs attached): I can create a notebook on the rm2, add text to it, the rm2 will tell me it has synchronized successfully, and the docker-log will show sync activity as well. But when I then browse to the webui and take a look at the new notebook, I don't get any preview (I know this is not supported = #255) and the document has a size of 0kb when downloaded. (error log: level=error msg="treedoc 'null' not found" and level=error msg="the document has no pages")

When I download the file via rmapi there is not even a .pdf file in the .zip but the .content file will again list the right page count in "pageCount":".

When I send the files via mail, they are flawless (all annotations are visible, and added pages are also available).

I've tried to solve it on my own by digging through GitHub and Google, but I've reached my limits here ... :/

It would be great if you could share some thoughts on this. In the meantime, I'll just mail any finished notebook.

I've added docker logs of both problems, and I'm happy to assist in any way to solve the problem, just let me know.

Thank you very much in advance. Problem2.txt Problem1.txt

erikboberg commented 3 months ago

I have the same problem rm2 version 3.10.2.2063 docker 0.0.18 (latest)

Hoping for a solution! Thanks for a great effort!