
Hello all, every time I upgrade Appwrite server I had an error:
unexpected character "." in variable name near [...]```
To solve this, I always need to:
- Edit `.env` file
- Change this line
//[...] _APP_VCS_GITHUB_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY----- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -----END RSA PRIVATE KEY-----" //[...]
By this:
//[...] _APP_VCS_GITHUB_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----" //[...]
- Run upgrade command
- Run migration command
- Edit `.env` file
- Revert back changes to original private VCS Github key
- Run `docker compose up -d`
This is quite annoying, did you know why I always need to change my private key? It seems it does'nt support line break in `.env`file...
Thanks !

It seems when the error occur at first time, the .env
file is modified to _APP_VCS_GITHUB_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----
(Note that "
is missing at the end)

uhh so is your private key in 1 line or multiple lines?

Multiple line like this:
//[...]
_APP_VCS_GITHUB_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY----- <--- break line
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX <--- break line
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX <--- break line
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX <--- break line
-----END RSA PRIVATE KEY-----"
//[...]

It should be single line



Oh well nice ! Thanks !

[SOLVED] Failed to install Appwrite dockers after each upgrade
Recommended threads
- line 1: 107 Killed npm run build
When trying to deploy my Nuxt app for testing, it goes through rendering chunks successfully and once it gets to Initializing the pre-renderer it throws this er...
- selfhost install fail on version 1.7.4
Docker compose + logs: https://pastebin.com/4P3xbnfw After a fresh install, I create an account and while it attempts to send me the on boarding to onboard my ...
- Failing to run document operations on sd...
Could someone point me in the right direction I'm going in cirlces. I have a problem with sdks and my self-hosted server in production (for ~3 years) I have bee...
