Jump to content

Autoshite technical help. Ask questions about how the site works here.


Pillock

Recommended Posts

1 hour ago, Dyslexic Viking said:

And content I started is empty so I have difficulty finding threads I have started.

Guessing there's an indexing issue as the 'unread content' filter is empty for me too.

Link to comment
Share on other sites

When I moved the server to have more CPU cores and RAM dedicated to it, I switched back on the elasticsearch service. That allows the entire forum content to be indexed and show up in the search. The forum also uses this index on page generation too, so it makes the whole site more responsive. 

However elasticsearch has a tendency to randomly crash (I blame crappy code compounded being written in Java...). It appeared to have done that last night and made a multi-gigabyte crash dump file. That was so large, it completely filled up the storage associated with the elasticsearch service. I split them out separately so if something like this goes wrong, it doesn't fill the main disk. If that gets full, all sorts of bad things happen. Basically I've set it up to go into a kind of "limp mode" where things still work just not great, rather than the whole thing falling over dead.

Anyway I've just cleared out the dump file and hit reindex on the search. On this new setup I've noticed it only takes an hour or so to finish that job rather than the ~18 hours on the old setup (much faster cores). So hopefully within an hour it should all be back to normal.

Next thing I've got to figure out is how to stop elasticsearch shitting the bed. It's kludgy but my best thought right now is to restart that service in the early hours of the morning. Basically switching it off and on again. Only takes a few minutes to do it and no one should be affected if it's the early hours.

Unfortunately in the current version of the forum software there are really only two options for search services. The older method (stores data in the main database) which the forum is too big to do (locks up the server on searches with large number of results) or this elasticsearch method. 

Right now there isn't a magic bullet but I'm hoping I can make it stable with a regular restart at night.

Link to comment
Share on other sites

I get my notifications by email. The timing per day changes. Then occasionally it misses a day. That is not an issue.

The solution may help those who are loosing their activity feed on the forum is to save the first page on any post as a fav in your browser. Head there and go to last page. Job Jobbed.

Link to comment
Share on other sites

Just had to poke the search service again this morning as it fell over consuming all the space again 🫤 

So you might have had a few errors when navigating around in the last half hour when I restarted it.

You'll see when it has fallen over right now as the unread notifications have an empty period of no updates when the service was down. I'll rebuild the index in a bit which will fix that blank period.

I'm still going to poke around to see if I can find an option to disable these crash dumps, so you might see a few more errors randomly come up. Reckoned it'd be better for people to see random errors and still be able to use the forum, rather than taking it down for hours on end.

Link to comment
Share on other sites

I've got a really weird glitch, and I don't know if it's the site or my phone - let's say I quote someone but want to delete a part of that quote. Holding delete, each time I reach the end of a line of text, the letter to the right of the cursor disappears, so it's deleting one letter to the right each time I delete a full line to the left (hope that makes sense).

This is on my phone, android using Google Chrome 

Link to comment
Share on other sites

1 hour ago, bunglebus said:

I've got a really weird glitch, and I don't know if it's the site or my phone - let's say I quote someone but want to delete a part of that quote. Holding delete, each time I reach the end of a line of text, the letter to the right of the cursor disappears, so it's deleting one letter to the right each time I delete a full line to the left (hope that makes sense).

This is on my phone, android using Google Chrome 

I've seen that one as well. Pretty sure it's just the Invision editor being itself.  Which should be read as "a buggy piece of garbage." 

Link to comment
Share on other sites

2 hours ago, SiC said:

Looks like they're completely replacing it in version 5. Thank goodness.

https://invisioncommunity.com/news/invision-community/invision-community-5-the-all-new-editor-r1301/

 

I'll believe it when I see it!  Probably be exactly the same thing with a different skin thrown on top of it.

Or knowing Invision, will be even worse than the old one!

Link to comment
Share on other sites

Searching for my own content. What am I doing wrong?

I use to find it under my own activity, 

Screenshot_20240521-154602_Chrome.jpg.fe6befab25ae5c2815927c768c4417bf.jpg

But its not on the list and I have to scroll down on the main page to find it

Screenshot_20240521-154826_Chrome.jpg.92dccefda09ee9e0f7e54cc5e06c6c66.jpg

So, what am I doing wrong?

Link to comment
Share on other sites

On 17/05/2024 at 08:13, SiC said:

You'll see when it has fallen over right now as the unread notifications have an empty period of no updates when the service was down. I'll rebuild the index in a bit which will fix that blank period.

 

1 hour ago, EyesWeldedShut said:

Today I go to https://autoshite.com/discover/unread/ and I get 
image.png.b378b06d9fa00d9f818af8b882696f21.png

What have I broken?

Think it's this ↑↑

Link to comment
Share on other sites

Just a personal opinion but for me, how quickly/efficiently the website performs under regular thread reading conditions is far more important than a search function I might use once a week, and it's still slow enough on occasion (eg last night) for me to open another site on another tab to be sure it's not my internet connection.

Link to comment
Share on other sites

2 hours ago, Spiny Norman said:

Just a personal opinion but for me, how quickly/efficiently the website performs under regular thread reading conditions is far more important than a search function I might use once a week, and it's still slow enough on occasion (eg last night) for me to open another site on another tab to be sure it's not my internet connection.

One of the big headaches here (assuming my understanding of the architecture is right) is that the service involved in providing the search functionality doesn't *only* provide the ability to search for things.  It's also behind the scenes tied into a number of other functions.  So you can't just turn it off or use any off-the-shelf service such as a customised Google search (as a couple of other forums I'm on do) as it Will Break Things.  You're stuck with a couple of choices for supported services, and they're both as bad as each other albeit in different ways 

I don't quite understand how or why Invision have managed to make the service in question so heavily integrated into things...but then again I don't understand why Invision make a LOT of design decisions, so that's not saying much.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...