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
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...