Strange things are afoot and they must be discussed.
What happened to the 'last image/GIF you saved' thread? I think it was >>25 based on my browser history. It was up less than 24 hours ago.I also can't post in >>1, on posting it tells me 'thread doesn't exist' even though I can access it for reading.
What happened to the 'last image/GIF you saved' thread? I think it was >>25 based on my browser history. It was up less than 24 hours ago.
I also can't post in >>1, on posting it tells me 'thread doesn't exist' even though I can access it for reading.
>>1349What things?>>1350Probably the same as with the last Post every time you visit /bun/ threadcaptcha: gaw
>>1349What things?>>1350Probably the same as with the last Post every time you visit /bun/ thread
captcha: gaw
Why do threads randomly disappear on /bun/?
i dont know why and its freaking me out
It was the 4 oldest threads again, I'm restoring the backups I made for them in April and marking them as read-only because the last time I didn't they got purged. This is only a bandaid fix so someone please audit the code and solve this what the fuck is going on.
It was the 4 oldest threads again, I'm restoring the backups I made for them in
April
>>1361If the GitHub code is up to date, the only function to delete posts (aside from the manual post deletion function delete_stuff) is called from trim_database(), and only in the while($threads>$max_threads or $posts>$max_posts or $size>$max_size) loop. I don't have your config file, do you have MAX_THREADS, MAX_POSTS or MAX_MEGABYTES set? I notice there's also an ARCHIVE_MODE setting, might be useful to configure for cases like this when stuff unexpectedly gets autodeleted.
It's probably some SQL faggotry then. MAX_THREADS is set to 1000 and there are currently only 80 active. I was under the impression that MAX_POSTS was used for in thread posting so it would lock after 1000 replies. If that might be the issue I'm disabling that as well. (Shouldn't >>25-san have disappeared when we hit >>1025?) I'll turn on the archive and hopefully that will work.
>>1364The first count_posts in trim_database() is called without an argument, i.e. no $parent, so it counts ALL the posts in the database. Not sure how you configure a per-thread limit, but that value seems to dictate the maximum of all posts on the board.>(Shouldn't >>25-san have disappeared when we hit >>1025?)No, because earlier threads had already been deleted, reducing the overall post count.
>>1364The first count_posts in trim_database() is called without an argument, i.e. no $parent, so it counts ALL the posts in the database. Not sure how you configure a per-thread limit, but that value seems to dictate the maximum of all posts on the board.
>(Shouldn't >>25-san have disappeared when we hit >>1025?)
No, because earlier threads had already been deleted, reducing the overall post count.
>>1366so if I disable all the limits it will never happen again???
>>1370If that's what caused it, then theoretically, yes. Always make sure to have safeguards (like the ARCHIVE_MODE setting) and backups.
The currently fucked threads are 1, 3, 6, 7, 8, 11, 15, and 25. They seem to get deleted when I rebuild the cache, let me know if they disappear again. There's probably a way to put them back into the table to make them usable again but I'm too retarded to figure it out.
>>1374the old short thoughts is gone too
>>1378That was >>11. You can still view it by manually going to the URL: https://bunbunmaru.ca/wakaba/res/11.html
>>1379I might as well post the rest.>>1 welcome back: https://bunbunmaru.ca/wakaba/res/1.html>>3 (Aya image, no text): https://bunbunmaru.ca/wakaba/res/3.html>>6 (Sakuya image, no text): https://bunbunmaru.ca/wakaba/res/5.html>>7 post in this thread every time you bun here: https://bunbunmaru.ca/wakaba/res/7.html>>8 Winter 2023 Anime https://bunbunmaru.ca/wakaba/res/8.html>>11 Short Thoughts: https://bunbunmaru.ca/wakaba/res/11.html>>15 /bant/ culture thread: https://bunbunmaru.ca/wakaba/res/15.html>>25 Post the last image/GIF you saved: https://bunbunmaru.ca/wakaba/res/25.html
>>1379I might as well post the rest.
>>1 welcome back: https://bunbunmaru.ca/wakaba/res/1.html>>3 (Aya image, no text): https://bunbunmaru.ca/wakaba/res/3.html>>6 (Sakuya image, no text): https://bunbunmaru.ca/wakaba/res/5.html>>7 post in this thread every time you bun here: https://bunbunmaru.ca/wakaba/res/7.html>>8 Winter 2023 Anime https://bunbunmaru.ca/wakaba/res/8.html>>11 Short Thoughts: https://bunbunmaru.ca/wakaba/res/11.html>>15 /bant/ culture thread: https://bunbunmaru.ca/wakaba/res/15.html>>25 Post the last image/GIF you saved: https://bunbunmaru.ca/wakaba/res/25.html
>>1380Also checked the post counts while I was at it:>>1: 30>>3: 13>>6: 3>>7: 144>>8: 54>>11: 38>>15: 2>>25: 102 (as of the backup, more since then)>>Total: 386The numbers check out. We've been close (and presumably over) the 1000 posts before, and the 'last image' thread pushed the board over 1000 posts. After that got deleted, we were under 1000 posts again, stopping the cleanup.
>>1380Also checked the post counts while I was at it:>>1: 30>>3: 13>>6: 3>>7: 144>>8: 54>>11: 38>>15: 2>>25: 102 (as of the backup, more since then)
>>Total: 386
The numbers check out. We've been close (and presumably over) the 1000 posts before, and the 'last image' thread pushed the board over 1000 posts. After that got deleted, we were under 1000 posts again, stopping the cleanup.
- wakaba 3.0.9 + teen spirit + all my friends -