Hi,
I Restored my appwrite database and im facing this error.. im not able to do anything
[Error] Timestamp: 2025-11-09T11:59:47+00:00
[Error] Method: POST
[Error] URL: /v1/functions/:functionId/executions
[Error] Type: Utopia\Database\Exception\Structure
[Error] Message: Invalid document structure: Unknown attribute: "pingCount"
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 4271
please help me fix the issue... im on appwrite 1.7.4
Hey @rohan ! as you said that you've restored your appwrite db, you probably have lost any changes you've made to it before restoring the same (like addition of the attribute pingCount). You should re-create this attribute called pingCount if it's important. Because as per your error, that attribute is being referenced somewhere in your code.
@Devika pingCount already exists
MariaDB [appwrite]> select pingCount from _console_projects
-> ;
+-----------+
| pingCount |
+-----------+
| 0 |
| 0 |
| 0 |
| 0 |
+-----------+
4 rows in set (0.008 sec)
Ok. Then try deleting it and creating it again. Maybe it's not getting synced properly
oh that worked..
thanks
Mention not! And let me know if you need any further help..
i was able to create session...
but now not able to access storage
[Error] Type: Utopia\Database\Exception\Structure
[Error] Message: Invalid document structure: Unknown attribute: "pingCount"
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 4271
[Error] Timestamp: 2025-11-09T12:47:17+00:00
[Error] Method: GET
[Error] URL: /v1/storage/buckets/:bucketId/files/:fileId/view
[Error] Type: Utopia\Database\Exception\Structure
[Error] Message: Invalid document structure: Unknown attribute: "pingCount"
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 4271
where all do i need to recreate?
Please check in your appwrite console, whether that pingCount exists there or not
where do i check for?
On appwrite cloud
im self hosted
Try running:
SELECT * FROM _1_documents
WHERE $collection = 'attributes'
AND key = 'pingCount';
i have total 4 projects in selfhosted... 2 of them i can access now properly even storage
2 of them i cant
[Error] Method: GET
[Error] URL: /v1/storage/buckets
[Error] Type: Utopia\Database\Exception\Structure
[Error] Message: Invalid document structure: Unknown attribute: "pingCount"
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 4271
[Error] Timestamp: 2025-11-09T12:53:49+00:00
Table 'appwrite._1_documents' doesn't exist
Ok. Let's debug this together. Try running: SHOW TABLES;
total 992 rows in set
Ok. Run these one by one: 1) SELECT * FROM _console_attributes WHERE key = 'pingCount'; 2) DESCRIBE _console_projects;
Share the outputs
Recommended threads
- help with domain cookie!
I'm having trouble with cookie domain configuration for cross-subdomain authentication. The session cookies are being scoped to the Appwrite endpoint domain ins...
- Second application got bricked after 1.7...
A few days ago I created this post https://discord.com/channels/564160730845151244/1072905050399191082/threads/1435303434495594698 where after the migration to ...
- Relation not showing collections list
When i'm trying to create new relationship attribute it is showing 0 collections list. I'm on version 1.7.4