Appwrite: v1.4.5 Server Coolify: v4 beta 85 OS: Linux Ubuntu 22.04
Após instalar e autenticar o Github App, o Callback falha com o erro 500:
Error 500
Signing key cannot be empty
Type
general_unknown
I ran cmd docker exec appwrite vars and everything is the same as the variables set in the Coolify service.
When viewing the logs of the appwrite service container:
My Github app
docker exec appwrite doctor
your github private key probably got screwed up. look at that to make sure it's correct
I put everything on a single line in quotation marks with line breaks replaced by \n.
I found the problem! Yes it is in the private key. The problem is when I insert the variables into the Coolify variable field in raw mode and then switch to field-separated mode, which was removing the double quotes from the private key.
The solution was to insert double quotes in separate fields mode and no longer switch to raw mode. Whoops! The problem is almost always small details of the environment where we are implementing and unless this problem is already known it is difficult to find a way to look.
Thank you very much Steve!
[SOLVED] Problem on Github integration with Coolify v4
@Adson I have some problem with you, I want Ask how you conver private key, do you add \n every line manually or you have tool for auto add \n?
I did it manually, giving a cat command in the key file, I copied and pasted it into VS Code, where I made multi cursors, one on each line, I moved them to the end of the line with the END key on the keyboard, DELETE removing the line break, I typed \n, exited multi cursor mode and put double quotes around it.
But can also make a one or two commands using sed or similar unix cli tools.
okay, thanks you @Adson 🙂
Recommended threads
- Function for long running task (other 60...
My function need long running other 60 seconds. But async mode return empty body. How to deal with that please ?
- OAuth2 Provider is disabled automaticall...
Hi everyone, I'm using self-host Appwrite 1.7.4. I can setup OAuth2 with Google successfully, however the provider is disabled automatically after one day witho...
- total parameter not working correctly in...
Hello Appwrite team, I'm experiencing issues with the total parameter in the listRows() method (TablesDB) across multiple SDKs. **Issue 1**: Node.js SDK (node...