Bad gatewey after upgrading in my appwrite hosted in digitalocean
- 0
- Self Hosted
- Flutter
- General
After we paste this code
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.3.0
There are question shoild be fill up:
- Choose your server HTTP port: (default:80) - I press enter
- Choose your servers HTTPs port (default 445: I press enter
- Choose a secret api key:** I enter a new api key**
- Enter your appwrite hostname('localhost)': I entered default but the api of my appwrite is "http://167.172.64.61/"
- Enter a DNS a record hostname ..... ? I entered
And after I fill up those questions this is the result
Localhost is correct if you don't have a domain yet.
Did you run the migrate command?
Ohh I see i did not see the next step I will try it
sir @Steven I got some error on migrate command
Wait you shouldn't have put a new secret key
ohh can I revert? what is the default secret key?
In your appwrite folder, there should be a .env and a backup one. Make sure the .env has the same openssl and mariadb variables as the backup
this is the current files in my appwrite folder
This isn't good...you shouldn't have a nested appwrite folder...
Please run ls -la
Looks like you might have run the upgrade command in the wrong folder
actually my bad I think it is safe to delete it right?
I delete it by the way and I run the upgrade cmd and yeah I fix it
Recommended threads
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...
- Current User is Not authorized
recreating same Thread