- Posts: 11
- Thank you received: 0
Help and support for Android users
Reading progress never reaches the server — Android 1.13.0 + YACReaderLibrarySer
- maknho
- Topic Author
- Offline
- New Member
-
Less
More
6 days 9 hours ago #10355
by maknho
Reading progress never reaches the server — Android 1.12.1 + YACReaderLibrarySer was created 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:
Two questions:
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 (
), running on a Debian/YunoHost serverCode:yacreader/yacreaderlibraryserver:latest
- Library:
, created by the server itself (headlessCode:16_Mes_BD, ~15,600 comics), DB on a local filesystemCode:create-library
- Client: YACReader for Android 1.12.1 on a Android tablet
- Connection: LAN, plain HTTP,
(port mapped to the container's 8080)Code:iplocal:port
- App setting: "Synchronize reading progress from server" is enabled
- 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
- Write permissions — the container can write to the comics path (verified with
/Code:touchboth in the library root and insideCode:rm), which covers the usual suspect mentioned in the Docker Hub READMECode:.yacreaderlibrary/
- Lock files — no residual
/Code:maintenance.lockafter the scan; the database finished cleanly (journal removed after commit,Code:repair.lock~5.7 MB)Code:library.ydb
- Server version — 10.5.0, so ≥ 10.4.0 (support for Android 1.12+ clients per the 10.4.0 release notes)
- 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
- Full app reinstalled on the tablet (fresh install, server re-paired manually with explicit IP and port) — no change
- Server logs watched during reading — no HTTP request logging visible at sync time,
Two questions:
- Is there a known issue with 1.12.1 in this configuration, or something else I should check on the client side?
- Is there any way to get more verbose logging of the sync endpoints (both app and server side) to pinpoint where it breaks?
Please Log in or Create an account to join the conversation.
- Luis Ángel
-
- Offline
- Administrator
-
Less
More
- Posts: 3380
- Thank you received: 697
6 days 9 hours ago #10356
by Luis Ángel
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\
Replied by Luis Ángel on topic Reading progress never reaches the server — Android 1.12.1 + YACReaderLibrarySer
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
-
Less
More
- Posts: 11
- Thank you received: 0
6 days 5 hours ago #10360
by maknho
Replied by maknho on topic Reading progress never reaches the server — Android 1.13.0 + YACReaderLibrarySer
Sorry that was a mistake : i have the 1.13.0
Please Log in or Create an account to join the conversation.
- Luis Ángel
-
- Offline
- Administrator
-
Less
More
- Posts: 3380
- Thank you received: 697
6 days 3 hours ago #10362
by Luis Ángel
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\
Replied by Luis Ángel on topic Reading progress never reaches the server — Android 1.13.0 + YACReaderLibrarySer
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
-
Less
More
- Posts: 11
- Thank you received: 0
5 days 18 hours ago #10364
by maknho
Replied by maknho on topic Reading progress never reaches the server — Android 1.13.0 + YACReaderLibrarySer
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"
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.
- Luis Ángel
-
- Offline
- Administrator
-
Less
More
- Posts: 3380
- Thank you received: 697
5 days 16 hours ago #10367
by Luis Ángel
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\
Replied by Luis Ángel on topic Reading progress never reaches the server — Android 1.13.0 + YACReaderLibrarySer
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
-
Less
More
- Posts: 11
- Thank you received: 0
5 days 16 hours ago #10368
by maknho
Replied by maknho on topic Reading progress never reaches the server — Android 1.13.0 + YACReaderLibrarySer
Hi Luis, it was effectively a permissions issue, though not quite PUID/PGID: the container runs the server as
(uid/gid 911), but my
folder ended up owned by root — because I had run
/
via
(which runs as root) during the initial setup.
Fixed with a single
+ 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!
Code:
abc
Code:
.yacreaderlibrary
Code:
create-library
Code:
update-library
Code:
docker exec
Fixed with a single
Code:
chown -R 911:911 <library>/.yacreaderlibrary
Thanks a lot for pointing me in the right direction!
Please Log in or Create an account to join the conversation.
- Luis Ángel
-
- Offline
- Administrator
-
Less
More
- Posts: 3380
- Thank you received: 697
5 days 16 hours ago #10369
by Luis Ángel
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\
Replied by Luis Ángel on topic Reading progress never reaches the server — Android 1.13.0 + YACReaderLibrarySer
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.