We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The _APP_EXECUTOR_HOST environment variable should be http://executor/v1
_APP_EXECUTOR_HOST
http://executor/v1
The _APP_EXECUTOR_HOST environment variable is http://appwrite-executor/v1
http://appwrite-executor/v1
This happens because we use the variables from a previous installation as the default for the next installation:
appwrite/src/Appwrite/Platform/Tasks/Install.php
Lines 122 to 131 in a1c278e
Instead, we should force this variable to use our configured default. We can do this by adding overwrite to variables.php:
overwrite
[ 'name' => '_APP_EXECUTOR_HOST', 'description' => 'The host used by Appwrite to communicate with the function executor!', 'introduction' => '0.13.0', 'default' => 'http://appwrite-executor/v1', 'required' => false, + 'overwrite' => true, 'question' => '', 'filter' => '' ],
and then in install.php, we can ignore it from the existing installation:
Line 104 in a1c278e
Line 123 in a1c278e
Version 1.4.x
Linux
No response
The text was updated successfully, but these errors were encountered:
stnguyen90
Successfully merging a pull request may close this issue.
👟 Reproduction steps
👍 Expected behavior
The
_APP_EXECUTOR_HOST
environment variable should behttp://executor/v1
👎 Actual Behavior
The
_APP_EXECUTOR_HOST
environment variable ishttp://appwrite-executor/v1
This happens because we use the variables from a previous installation as the default for the next installation:
appwrite/src/Appwrite/Platform/Tasks/Install.php
Lines 122 to 131 in a1c278e
Instead, we should force this variable to use our configured default. We can do this by adding
overwrite
to variables.php:[ 'name' => '_APP_EXECUTOR_HOST', 'description' => 'The host used by Appwrite to communicate with the function executor!', 'introduction' => '0.13.0', 'default' => 'http://appwrite-executor/v1', 'required' => false, + 'overwrite' => true, 'question' => '', 'filter' => '' ],
and then in install.php, we can ignore it from the existing installation:
appwrite/src/Appwrite/Platform/Tasks/Install.php
Line 104 in a1c278e
appwrite/src/Appwrite/Platform/Tasks/Install.php
Line 123 in a1c278e
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: