Rank 2: Process
do you guys, have new update workflow? migration asking me to run browser..... on VPS.
Votes
0
Replies
16
Participants
6
Messages
17
Rank 2: Process
do you guys, have new update workflow? migration asking me to run browser..... on VPS.
I would advise against upgrading to 1.9.1 as it's not officially released.
I'm trying to do the same on a ubuntu headless server used for development and the same thing happens. It asks me to open the web browser which I can't since it's command line only, I tried using another machine to connect to the address, but it fails saying the webpage is not responding.
same problem, that wouldn't be a problem since you can just reverse proxy it / access the port directly, the issue is that nothing is running on that port
this happens on 1.9.0 as well, not just 1.9.1
so apparently you need to add a flag like this
--http-port=9999
(any port)
then it skips the web mode
you can look at the source code for it
https://github.com/appwrite/appwrite/blob/45683163459c155330ab760ddcc36441cca4e41e/src/Appwrite/Platform/Tasks/Install.php#L219
it works, but it's a hacky way and this needs to be fixed
root@navigiVPS:~# docker run -it --rm
--publish 20080:20080
--volume /var/run/docker.sock:/var/run/docker.sock
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw
--entrypoint="upgrade"
--http-port=9999
appwrite/appwrite:1.9.0
unknown flag: --http-port
See 'docker run --help'.
Hello, there is a problem with this flag
you have to run the flag AFTER the appwrite image
docker run -it --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ -v "${PWD}/appwrite:/usr/src/code/appwrite:rw" \ --entrypoint="upgrade" \ appwrite/appwrite:1.9.0 \ --http-port=9999this was what I used
Thank you, it works
But update failed with is
Running "docker compose up -d --remove-orphans --renew-anon-volumes"
[Error] Timestamp: 2026-04-07T15:36:31+00:00
[Error] Type: Exception
[Error] Message: Failed to connect installer to appwrite network: Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.43
[Error] File: /usr/src/code/src/Appwrite/Platform/Tasks/Install.php
[Error] Line: 965
[Error] Trace: #0 /usr/src/code/src/Appwrite/Platform/Tasks/Install.php(622): Appwrite\Platform\Tasks\Install->connectInstallerToAppwriteNetwork()
#1 /usr/src/code/src/Appwrite/Platform/Tasks/Install.php(327): Appwrite\Platform\Tasks\Install->performInstallation('9999', '443', 'appwrite', 'appwrite', Array, false, NULL, NULL, true, Array, NULL, false)
#2 /usr/src/code/src/Appwrite/Platform/Tasks/Upgrade.php(94): Appwrite\Platform\Tasks\Install->action('9999', 443, 'appwrite', 'appwrite', 'Y', false, 'mariadb')
#3 /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php(328): Appwrite\Platform\Tasks\Upgrade->action('9999', '', 'appwrite', 'appwrite', 'Y', false, 'mariadb', false)
#4 /usr/src/code/vendor/utopia-php/cli/src/CLI/Adapters/Generic.php(16): Utopia\CLI\CLI->{closure:Utopia\CLI\CLI::run():318}()
#5 /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php(318): Utopia\CLI\Adapters\Generic->start(Object(Closure))
#6 [internal function]: Utopia\CLI\CLI->run()
#7 {main}
try to update your docker
otherwise I have no clue what this could be caused by