You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After updating to v0.13.0 /read will not load #467
Hi @stayinside, can you share some more information about your setup, as prompted in the original bug report template? For example, which database are you using?
And just to be sure, did you run writefreely db migrate after updating the binary?
Thanks for the additional information @stayinside and @DaarkMoon -- I agree it sounds like it could be a read lock on the database. I'll try to replicate and debug more when I'm back from vacation this week. (I'm not sure what changes around the Reader query could've caused this -- it could be the additional GetCollectionAttribute call on each blog while looping through the overall Reader results.)
Writefreely is hanging when clicking on the reader. I'm not sure if crawlers/users are triggering the reader but writefreely is crashing daily since upgrading. I'm not sure if it's related but by the time I get around to restarting writefreely I see "too many open files." I've disabled the reader to see if the instance stays up.
I have a similar issue on a fresh 0.13 install (same setup as OP).
The site runs fine until I make a first post. Upon which it continues to run fine for 5 minutes or so, but the post never shows up in the /read part and soon after the entire site goes in permanent 504 timeout.
Activity
thebaer commentedon Jun 17, 2021
Hi @stayinside, can you share some more information about your setup, as prompted in the original bug report template? For example, which database are you using?
And just to be sure, did you run
writefreely db migrateafter updating the binary?aphick commentedon Jun 17, 2021
Oh sorry my mistake!
Updated my post, and yes I definitely ran that.
Running with the debug flag does not add any more information
DaarkMoon commentedon Jun 17, 2021
Same issue for me but there is a strange point:
Maybe the read page lock the sqlite database ?
Application configuration
Version or last commit: 0.13.0 (last binary released for linux amd64)
PS: I have run
writefreely db migrateafter updating the binarythebaer commentedon Jun 17, 2021
Thanks for the additional information @stayinside and @DaarkMoon -- I agree it sounds like it could be a read lock on the database. I'll try to replicate and debug more when I'm back from vacation this week. (I'm not sure what changes around the Reader query could've caused this -- it could be the additional
GetCollectionAttributecall on each blog while looping through the overall Reader results.)bandicootdancing commentedon Jun 18, 2021
Describe the bug
Writefreely is hanging when clicking on the reader. I'm not sure if crawlers/users are triggering the reader but writefreely is crashing daily since upgrading. I'm not sure if it's related but by the time I get around to restarting writefreely I see "too many open files." I've disabled the reader to see if the instance stays up.
Steps to reproduce (if necessary)
Steps to reproduce the behavior:
[READ] Updating post cachein terminalApplication configuration
Version or last commit: 0.13.0
Fix SQLite database lock on Reader
poVoq commentedon Jun 26, 2021
I have a similar issue on a fresh 0.13 install (same setup as OP).
The site runs fine until I make a first post. Upon which it continues to run fine for 5 minutes or so, but the post never shows up in the /read part and soon after the entire site goes in permanent 504 timeout.
thebaer commentedon Jun 26, 2021
Thanks @poVoq, this should be fixed in #477. If anyone else can test out that branch and verify the fix, that'd be much appreciated!
DaarkMoon commentedon Jun 28, 2021
I have build binary fom branch fix-sqlite-reader-lock and now it's work for me.
thebaer commentedon Jun 30, 2021
Great! Just merged that fix, and we'll release v0.13.1 later today.