I am getting stripe to work on our production server, but it’s throwing an error: {status: "500", message: "A server error occured, to see the error enable the DEBUG flag."}
I could enable the debug flag, but then the whole production server is in debug mode
How can I get the error message so I can investigate what’s going wrong?
I tried to enable web server logs, but they seem empty completely
There is nothing that much to worry about.
Just enable debug, check the error and then you can turn the debug off … it will just display the error, nothing else.
Thanks @Teodor, then my last concern: there are not many active users now so it’s OK to keep redeploying the app. But I can imagine this to be quite disruptive later.
Any idea how I can test the integration of Stripe on the production server without so many redeploys?
We managed to set up a staging a while ago, but we never completed it 100%. It’s not connecting to the database.
It was a LOT more complicated than I hoped, involved SSHing into the droplet of digitalocean and creating new docker composes.
Also applying the traefik rules. I guess it’s still not on the same network or something else is going wrong.
It would make life a lot easier if there’s an easy way to create a staging environment through the project settings or at least being able to docker-compose local the same file that wappler uses for portainer and traefik
Yeah, It is indeed a ‘challenge’. And besides the point you describe, there is also, in my case, a mobile application connected to the production website/api. This makes things even more complicated I guess…