Commit graph

13 commits

Author SHA1 Message Date
Steven Nguyen
3c7c44adda
Fix _APP_EXECUTOR_HOST for upgrades
As of 1.4.0, the hostname of the executor should be executor rather than
appwrite-executor. The problem is our install command always uses the
existing installation's variable values as the default for the upgrade.
This means the _APP_EXECUTOR_HOST will retain it's old value.

This PR Adds an overwrite key to variables.php to allow overwriting the
variable value regardless of whatever was in the previous installation.
2023-09-04 11:06:43 -07:00
Steven Nguyen
dcc676a0c9
Make install confirmation case insensitive
When a previous installation is found during installation/upgrade, the
user is prompted to confirm whether they want to overwrite it. We
originally only accepted 'Y', but this PR changes it to accept 'y' as
well to reduce friction.
2023-08-31 12:25:42 -07:00
Steven Nguyen
917f2f1d74
Update installation confirmation text
Let the user know a backup will be created.
2023-08-30 12:32:10 -07:00
Steven Nguyen
2f2edd41d5
Update install.php not specify docker-compose.yml file
By not specifying a docker-compose.yml file, docker compose
automatically uses the docker-compose.yml file in the project directory
and a docker-compose.override.yml file if one is present.
2023-08-30 10:17:37 -07:00
Steven Nguyen
7d56c6f37e
Prompt developer to confirm installing over existing install 2023-08-30 09:55:27 -07:00
Steven Nguyen
48f0ff86ba
Make the install path a class property
This makes it so the property can be used by subclasses.
2023-08-30 09:50:47 -07:00
Torsten Dittmann
48c5a09b4f fix: string interpolation 2023-08-30 11:21:28 +02:00
Jake Barnby
ece93a14e5
Fix install task 2023-08-28 18:09:37 -04:00
Steven Nguyen
d960f85da6
Merge branch '1.4.x' into cloud-1.4.x 2023-08-04 18:07:33 -07:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2 2023-08-04 13:55:07 -07:00
Damodar Lohani
0570e26a48 revert back callback changes 2022-11-14 10:36:21 +00:00
Damodar Lohani
d15af1ae17 update callback code 2022-11-14 10:24:16 +00:00
Damodar Lohani
ae0b9e78aa refactor namespace and naming 2022-11-14 10:01:41 +00:00
Renamed from src/Appwrite/CLI/Tasks/Install.php (Browse further)