Back

Error when trying to create deployment via GitHub

  • 1
  • Self Hosted
  • Functions
Drake
31 Oct, 2023, 22:04

does docker compose exec appwrite-worker-builds vars show the right values?

TL;DR
The user is experiencing an error when trying to create a deployment via GitHub. They have checked the file structure and permissions, but cannot find a solution. They are unsure if the error started after an upgrade. The user is using standard Docker and has previously used the Appwrite starter on DigitalOcean. They have checked the .env file and found that the client ID, secret, and webhook secret appear blank. The user also tried running the command `docker compose exec appwrite-worker-builds vars` but it returned an error. Solution: None provided.
Ryan
31 Oct, 2023, 22:07

It says no configuration file provided: not found

Ryan
31 Oct, 2023, 22:08

Nevermind, I was in the wrong dir

Ryan
31 Oct, 2023, 22:08

🤦‍♂️

Ryan
31 Oct, 2023, 22:09

It shows all the vars that are meant to be there and the values look to be correct

Ryan
31 Oct, 2023, 22:11

Actually, the client id, secret and webhook secret are showing as blank

Drake
31 Oct, 2023, 22:15

that doesn't sound good 👀

Drake
31 Oct, 2023, 22:16

actually that might be fine. is the privte key okay?

Ryan
31 Oct, 2023, 22:17

Yeah, the private keys is showing as it should. I’ve set the client and webhook vars in my .env file so not sure why they’re not appearing

Ryan
1 Nov, 2023, 17:44

The private key is appearing but it's showing as invalid using the function I've seen you post elsewhere but I'm not sure why as I haven't changed it and it was previously working

Drake
1 Nov, 2023, 18:00

is it invalid if you test it against the appwrite container too?

Ryan
1 Nov, 2023, 18:01

It is, yeah

Drake
1 Nov, 2023, 18:04

are you using something like portainer?

Drake
1 Nov, 2023, 18:04

or is just basic, normal docker (compose)

Ryan
1 Nov, 2023, 18:05

It's just standard docker, it was originally created using the Appwrite starter on DigitalOcean

Drake
1 Nov, 2023, 18:06

that's still just docker (compose) so it should be fine. can you DM me what you have in your .env file?

Ryan
1 Nov, 2023, 18:06

Yeah, sure thing

Drake
1 Nov, 2023, 18:34

did this start happening after an upgrade?

Drake
1 Nov, 2023, 18:35

thanks, the env var seems fine 🧐

Ryan
1 Nov, 2023, 18:42

I don't think so, it was having problems before I upgraded I think so I tried upgrading and that didn't fix it

Drake
1 Nov, 2023, 19:02

what's the output of:

TypeScript
pwd
ls -la
Ryan
1 Nov, 2023, 19:18

/root/appwrite

TypeScript
total 384
drwxr-xr-x 2 root root  4096 Nov  1 18:22 .
drwx------ 7 root root  4096 Oct 31 22:08 ..
-rw-r--r-- 1 root root  5713 Oct 31 20:25 .env
-rw-r--r-- 1 root root  2994 Nov 26  2022 .env.1669481218.backup
-rw-r--r-- 1 root root  3064 Dec 10  2022 .env.1670711911.backup
-rw-r--r-- 1 root root  3064 Dec 28  2022 .env.1672232977.backup
-rw-r--r-- 1 root root  3064 Dec 28  2022 .env.1672233232.backup
-rw-r--r-- 1 root root  3172 Apr 13  2023 .env.1681410224.backup
-rw-r--r-- 1 root root  3283 May 28 14:37 .env.1685284657.backup
-rw-r--r-- 1 root root  3308 Jun 11 08:15 .env.1686471321.backup
-rw-r--r-- 1 root root  3375 Sep 11 15:43 .env.1694447004.backup
-rw-r--r-- 1 root root  3849 Sep 11 15:49 .env.1694447368.backup
-rw-r--r-- 1 root root  3873 Sep 11 15:56 .env.1694447793.backup
-rw-r--r-- 1 root root  3794 Oct  2 15:12 .env.1696259536.backup
-rw-r--r-- 1 root root  5713 Oct 10 11:22 .env.1696936943.backup
-rw-r--r-- 1 root root  5713 Oct 10 11:23 .env.1696937014.backup
-rw-r--r-- 1 root root  3208 Apr 13  2023 .env.save
Ryan
1 Nov, 2023, 19:18
TypeScript
-rw-r--r-- 1 root root 22666 Oct 31 20:25 docker-compose.yml
-rw-r--r-- 1 root root 18733 Nov 26  2022 docker-compose.yml.1669481218.backup
-rw-r--r-- 1 root root 17996 Dec 10  2022 docker-compose.yml.1670711911.backup
-rw-r--r-- 1 root root 17996 Dec 28  2022 docker-compose.yml.1672232977.backup
-rw-r--r-- 1 root root 18099 Dec 28  2022 docker-compose.yml.1672233232.backup
-rw-r--r-- 1 root root 18099 Apr 13  2023 docker-compose.yml.1681410224.backup
-rw-r--r-- 1 root root 18127 May 28 14:37 docker-compose.yml.1685284657.backup
-rw-r--r-- 1 root root 18127 Jun 11 08:15 docker-compose.yml.1686471321.backup
-rw-r--r-- 1 root root 21728 Sep 11 15:49 docker-compose.yml.1694447368.backup
-rw-r--r-- 1 root root 18127 Sep 11 15:56 docker-compose.yml.1694447793.backup
-rw-r--r-- 1 root root 21728 Oct  2 15:12 docker-compose.yml.1696259536.backup
-rw-r--r-- 1 root root 22710 Oct 10 11:22 docker-compose.yml.1696936943.backup
-rw-r--r-- 1 root root 22738 Oct 10 11:23 docker-compose.yml.1696937014.backup
-rw-r--r-- 1 root root 22761 Oct 31 20:25 docker-compose.yml.1698783934.backup
Drake
1 Nov, 2023, 23:20

nothing nested so that's good...and you didn't modify your docker-compose.yml?

Ryan
1 Nov, 2023, 23:28

Nope, only ever changed it when I had to upgrade the openruntime but that was a while ago and it was still working after that

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more