Open TadeSF opened 1 day ago
Does this happen every time? I'm struggling to recreate anything here
Yes, it happens every time. And I just discovered that the "similar posts" search does also not work when you are submitting a new post. On iOS/Safari, someone even gets an error when typing any character:
Do you need anything else from me?
Looks like I completely fried the database now. Once I recreated the container I got weird "exited with 139" messages, which – with a little research – indicate SIGSEGV problems (?). I restarted my server afterwards and now the database is not accessible anymore... But I did a manual backup before – now my question would be:
How do I restore a zip backup? I did not find anything in the docs.
@TadeSF I'm not sure how you restore from the zip - it would depend how you did the backup, and what you backed up exactly. Presumably you'll need to copy the backup into the docker container and then restore it from there.
I'm not sure what's causing your issue. I don't think it's a code issue - I've got loads of instances and I can't recreate anything. Your database is not very happy - your original server log shows it segfaulting when you do the search, which is odd.
I wonder if there is a recent post or comment that contains some characters that wasn't sanitised properly so it's tripping up the database.
Also another odd thing I've spotted is that your URL contains some odd text (https://fb-delegator.dmun.de/api/v1/posts?query=asd&limit=6%3C/span%3E) - that bit after limit=6 doesn't look quite right to me, not sure what it's doing there
This is the backup I did
Yeah, thats also very odd. I suspected special characters or something similar as well... I had umlaute (ä, ü, ö) in tags and ofc. in the posts themselves, but those cannot really be an issue, can they? If it helps I can clean up and redact the backed json files.
Fider Cloud or Self Hosted Self Hosted v0.22.0
Describe the bug When I try to query for duplicate entries, I get a 500 server error back.
To Reproduce
Expected behavior The first post should appear.
Server Logs
Database Logs
Screenshots