Back

[SOLVED] Git deployment redirects me and nothing happens afterwards

  • 0
  • Functions
Meldiron
10 Sep, 2023, 16:27

after uninstallgin, go to Appwrite and try to install again. Should trigger different flow

TL;DR
Git deployment was redirecting the user and nothing was happening afterwards. However, the issue was solved by reinstalling and trying the UI method for another function. The UI was not working initially, so it had to be uninstalled and installed again. This resolved the problem with UI not redirecting. The repos are now showing properly. There was a `.env` settings issue, but it was resolved by sharing the VCS variables with the app domain. Some secrets were accidentally broken by adding random letters and deleting some. There was also a reference to the signing key, which might be the RSA private key. After uninstalling, an error occurred
Infinil
10 Sep, 2023, 16:27

btw i get this for events url

Infinil
10 Sep, 2023, 16:27

oh okay

Meldiron
10 Sep, 2023, 16:28

Scarry. are you on 1.4.2?

Infinil
10 Sep, 2023, 16:28

yep

Meldiron
10 Sep, 2023, 16:28

Ah actually, same for me. it probably needs some headers to work. No worries, GitHub will be hitting that and sending expected request

Meldiron
10 Sep, 2023, 16:29

I see, its POST, not GET.

Infinil
10 Sep, 2023, 16:29

oh i see imma do the uninstall thing

Infinil
10 Sep, 2023, 16:30

getting an error now (some progress XD)

Infinil
10 Sep, 2023, 16:30

signing key.. is it referring to rsa private key?

Meldiron
10 Sep, 2023, 16:31

Okay yeah that soudns like .env settings issue. Can you share that with me? Privatelly is fine. And of course, break all secrets by adding random leters, deleting some, ...

Infinil
10 Sep, 2023, 16:31

oh sure is it okay if i only share the vcs variables with app domain

Meldiron
10 Sep, 2023, 16:31

yep, just _VCS ones are fine

Infinil
10 Sep, 2023, 16:37

done 👍

Infinil
10 Sep, 2023, 16:43

yay it is showing the repos now

Infinil
10 Sep, 2023, 16:43

solved :)

Meldiron
10 Sep, 2023, 16:43

yayyyy

Meldiron
10 Sep, 2023, 16:43

can you try to install again now? TO see if that also solved that problem with UI not redirecting?

Infinil
10 Sep, 2023, 16:44

oh the ui actually wasnt working so i had to uninstall XD

Infinil
10 Sep, 2023, 16:44

after reinstalling it works

Infinil
10 Sep, 2023, 16:44

should i try ui method for another function

Infinil
10 Sep, 2023, 16:44

oh wait its already showing repos in new functions

Meldiron
10 Sep, 2023, 16:45

yep

Infinil
10 Sep, 2023, 16:46

gotcha! now time to do the webhook thing

Drake
10 Sep, 2023, 16:53

[SOLVED] Git deployment redirects me and nothing happens afterwards

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