Prisma Studio β Getting no records in T3 Stack
(dot)env with:
When typing the following:
I am getting no records, anyone who can help troubleshoot this? The schema is loaded correctly but the records are not showing like they are in pgadmin. I am using a Docker container to host postgres on port 5432
16 Replies
Hello @Eagle π
Do you see the tables in Prisma Studio and not the records of the tables? Or you don't see anything in Prisma Studio?
Do you mind sharing your docker file? I would like to try to reproduce this and check.
Hello, thanks for taking interest in my question.
Before I answer your question:
I have checked Prisma Studio again and now it does show new records but not old records from before I opened Prisma Studio. Is this intended or should it show all records in the database? If it's intended then I am happy to say it is working.
TO answer your questions:
Correct: I can see the tables & the schema as it is loaded from my project directory prisma/schema.prisma. However can't see the records.
How can I find the dockerfile? Does this command help? I think I just used a command to host
This is the pgadmin command:
I have checked Prisma Studio again and now it does show new records but not old records from before I opened Prisma Studio.Prisma Studio should show all the records. All the records you see in PgAdmin should be visible in Prisma Studio. Though for a large number of records, it maybe paginated, so you might need to go to next page to see remaining records.
Hmmm ok, I dont have many records so it must be something awry then.
I can't see any data neither since today. Is there a bug with Prisma Postgres Studio?
@azzerty23 I just tested and I can see the data in Prisma Postgres Studio. Do you see any errors?
Currently, I can no longer see the data on mobile; it was displaying correctly just a few days ago. Unfortunately, I donβt have access to a computer to check if the issue is elsewhere. I will get back to you with more information in two days. Thank you for your support.
@Nurul (Prisma) My Prisma Postgres instance was working correctly; I had about 450 users in my User table. For the past few days, I can no longer connect to it:
This request could not be understood by the server: {"type":"UnknownJsonError","body":{"code":"P6008","message":"Accelerate was not able to connect to your database. The underlying error is: Can't reach database server at 01jfgnp8dw076471swtwpeb21c.cdg0.db.prisma-data.net:5432\n\nPlease make sure your database server is running at 01jfgnp8dw076471swtwpeb21c.cdg0.db.prisma-data.net:5432."}} (The request id was: 8fb4d2a69db02a08)
@azzerty23 Can you please share your email id or GitHub Handle with which you signed up on Prisma Console? This would allow me to check logs for your account
I replied to you via DM
Thanks! We are investigating. I'll get back as soon as I have an update π
@azzerty23 Can you check now? Hopefully this should be resolved now
Thank you, I checked Prisma Studio, it's working now!
I am glad to hear that! π
@Nurul I am getting the same error with my prisma postgres instance. It was working just fine a few days ago
would be happy to get some help here
@Nurul (Prisma) Can you help here? Its a bit urgent
Conversation continued here β
https://discord.com/channels/937751382725886062/1325893893320872037/1325893893320872037