Skip to content
YACReader
Help and support for Android users

Reading progress never reaches the server — Android 1.13.0 + YACReaderLibrarySer

  • maknho
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 days 9 hours ago #10355 by maknho
Hi Luis,
 while testing the app on my android tablet (Android 1.12.1, purchased on Play Store), I hit what looks like a sync bug. Here is a full report, since i tried a little diagnosis.
Setup:
  • Server: YACReaderLibraryServer 10.5.0, official Docker image (
    Code:
    yacreader/yacreaderlibraryserver:latest
    ), running on a Debian/YunoHost server
  • Library:
    Code:
    16_Mes_BD
    , created by the server itself (headless
    Code:
    create-library
    , ~15,600 comics), DB on a local filesystem
  • Client: YACReader for Android 1.12.1 on a Android tablet
  • Connection: LAN, plain HTTP,
    Code:
    iplocal:port
    (port mapped to the container's 8080)
  • App setting: "Synchronize reading progress from server" is enabled
Symptoms:
  • Remote browsing works : folders, covers, streaming reading — everything is ok
  • But after reading a comic via the remote browser (streaming) and closing it properly, the reading progress never reaches the server: the web UI still shows the comic as unread, no progress, no badge
  • Consequently "Continue reading" stays empty in the app
What I checked so far:
  1. Write permissions — the container can write to the comics path (verified with
    Code:
    touch
    /
    Code:
    rm
    both in the library root and inside
    Code:
    .yacreaderlibrary/
    ), which covers the usual suspect mentioned in the Docker Hub README
  2. Lock files — no residual
    Code:
    maintenance.lock
    /
    Code:
    repair.lock
    after the scan; the database finished cleanly (journal removed after commit,
    Code:
    library.ydb
    ~5.7 MB)
  3. Server version — 10.5.0, so ≥ 10.4.0 (support for Android 1.12+ clients per the 10.4.0 release notes)
  4. Clean close protocol — comic closed properly with the back button, app killed from the app switcher and reopened (the two sync moments mentioned in the forum FAQ), no change
  5. Full app reinstalled on the tablet (fresh install, server re-paired manually with explicit IP and port) — no change
  6. Server logs watched during reading — no HTTP request logging visible at sync time, 

Two questions:
  1. Is there a known issue with 1.12.1 in this configuration, or something else I should check on the client side? 
  2. Is there any way to get more verbose logging of the sync endpoints (both app and server side) to pinpoint where it breaks? 
Thanks in a lot in advance 

Please Log in or Create an account to join the conversation.

More
6 days 9 hours ago #10356 by Luis Ángel
1.13.0 should be one the Google Play Store already, can you check if it works with that? 

Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\

Please Log in or Create an account to join the conversation.

  • maknho
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 days 5 hours ago #10360 by maknho
Sorry that was a mistake : i have the 1.13.0

Please Log in or Create an account to join the conversation.

More
6 days 3 hours ago #10362 by Luis Ángel
If you try with a freshly imported comic? does it work? does it keep the reading progress if you read remotely?

Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\

Please Log in or Create an account to join the conversation.

  • maknho
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 days 18 hours ago #10364 by maknho
Hello Luis, I put some new comics in the library ; the button on the webUI to update was not working so I used : docker exec -it yacreaderlibraryserver YACReaderLibraryServer update-library /conteneur_yacreader_BD
the new comics (alberto BRECCIA) appear smoothly ; and after that I tried to read 4/5 pages with the webUI and the app on a android tablett ; but the reading progress was not keep and nothing appear in "continue reading"

Please Log in or Create an account to join the conversation.

More
5 days 16 hours ago #10367 by Luis Ángel
There is a problem writing to the database, when the container starts it lists the libraries and a status, what do you see there? It could be a permissions problem, check PUID and PGID. 

Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\

Please Log in or Create an account to join the conversation.

  • maknho
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 days 16 hours ago #10368 by maknho
Hi Luis, it was effectively a permissions issue, though not quite PUID/PGID: the container runs the server as
Code:
abc
(uid/gid 911), but my
Code:
.yacreaderlibrary 
folder  ended up owned by root — because I had run
Code:
create-library 
/
Code:
update-library
via
Code:
docker exec
(which runs as root) during the initial setup.
Fixed with a single
Code:
chown -R 911:911 <library>/.yacreaderlibrary
+ container restart. Reading progress now saves and syncs correctly on both the WebUI and Android 1.13.0, and "Continue reading" populates.
Thanks a lot for pointing me in the right direction!

Please Log in or Create an account to join the conversation.

More
5 days 16 hours ago #10369 by Luis Ángel
Great!

Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Thanks for downloading YACReader!

Your download is starting.

YACReader for iOS and Android

Connect to YACReaderLibrary to browse, read remotely and import comics. Your reading progress is synchronized across devices.

Download on the App Store Get it on Google Play Available at Amazon Appstore

Discover all the features on the iOS and Android pages, and learn how to use them in the iOS and Android user guides.

Support YACReader

YACReader for desktop and server is free to use, but it is not free to develop: maintaining this website, developer programs, code signing certificates, test devices and, of course, all the time it takes. Less than 0.01% of downloads end in a donation, so any amount counts.

By supporting the project you help keep it regularly updated and, most importantly, alive. Thanks!