Open devniel opened 5 years ago
@devniel I tried this but I wasn't able to reproduce it, can you please share the output of docker logs <prisma container name>
?
You can use docker ps
to find the "prisma container name".
Hey~! I was just playing around with Prisma and run into the same issue. I set up a local MongoDB database with prisma init
but the admin panel is unable to load the data browser. I didn't change the port of the database which is set to 4466 by default. Here is the log file.
In the Chrome developer console I also get the following two errors:
TypeError: Cannot read property 'query' of undefined at app.js:1
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Hi @hazabaum
Can you please clear your localStorage and try this again
I have the same problem with my local deployment with PostgreSQL. It was working when I was using the demo server. I tried to clear the localStorage, but it did not fix the problem.
- Connector: Postgres
- Prisma Server: 1.33
- prisma CLI: prisma/1.33
- OS: macOS Mojave
The logs of my prisma container:
[INFO] {} - Started.
[INFO] Obtaining exclusive agent lock...
[INFO] Initializing workers...
[INFO] Obtaining exclusive agent lock... Successful.
[INFO] Successfully started 1 workers.
[INFO] Deployment worker initialization complete.
Server running on :4466
[Warning] Management authentication is disabled. Enable it in your Prisma config to secure your server.
Trying (via loadLibrary) jnidispatch
Looking in classpath from sun.misc.Launcher$AppClassLoader@7852e922 for /com/sun/jna/linux-x86-64/libjnidispatch.so
Found library resource at jar:file:/app/lib/net.java.dev.jna.jna-4.5.2.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so
Trying /tmp/jna-3506402/jna637619601633748806.tmp
Found jnidispatch at /tmp/jna-3506402/jna637619601633748806.tmp
Looking for library 'jwt_native'
Adding paths from jna.library.path: null
Trying libjwt_native.so
Adding system paths: [/lib64, /usr/lib, /lib]
Trying /lib/libjwt_native.so
Found library 'jwt_native' at /lib/libjwt_native.so
@BjoernRave Try disabling rawAccess: false
in your docker-compose.yml file
@BjoernRave Try disabling
rawAccess: false
in your docker-compose.yml file
I ran into this same issue and that fixed it
@pantharshit00 @respectTheCode thank you. yes, I also read that somewhere else and it fixed it for me as well. I also read, that they are working on the fix
Yes, 1.34 should actually fix most of these issue as we have upgraded the prisma admin version.
@pantharshit00 I'm still seeing this issue with 1.34, unfortunately.
Still happening in 1.34
Can you all please try clearing your localstorage and trying this again?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.
Describe the bug There is a 500 error in the request made by Prisma Admin when the port is different than 4466 on local environment.
To Reproduce Steps to reproduce the behavior:
docker-compose.yml
to4467
4467
in prisma.ymlprisma deploy
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Expected behavior Data loaded.
Screenshots![image](https://user-images.githubusercontent.com/1231888/54505031-36d2eb00-4904-11e9-831c-dc49c28cd4b1.png)
Versions (please complete the following information):
Postgres
prisma
CLI: prisma/1.28.5