Referencing this issue here - https://github.com/appwrite/appwrite/issues/7892
Strange thing is as Steven mentioned here - https://discord.com/channels/564160730845151244/636852860709240842/1250259972776919134, it could be a permission issue but this doesn't show any error.
I also noted the return value of this block of code that handles the subscriber count -
Authorization::skip(fn () => $dbForProject->increaseDocumentAttribute(
'topics',
$topicId,
$totalAttribute,
));
The return value is 1 which means the operation succeeded.
Alternatively, I manually updated the mariadb row (as linked in the github issue) and strangely, after manually updating the row, the changes from console are properly reflected. But a new topic again has same issue.
Any ideas <@462046107556511744>?
The server is the same as restored from here - https://discord.com/channels/564160730845151244/1228630098241126401/1228630098241126401
Could it be that the DB has some issues? Is there a way to repair the DB?
Update: locally hosted version works, and a different appwrite server running 1.5.4 seems to work as well. I guess this is a db issue.
Update: I discussed this with Matej and seem to have found a possible issue.
Recommended threads
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...