Back

[SOLVED] Can't Log In or Sign Up after Moving appwrite Folder

  • 0
  • Web
ZachHandley
29 Mar, 2023, 00:22

hey I just installed AppWrite using the docker command, I'm still new to docker, but I wanted to move the appwrite folder from running the command so I deleted it and deleted the docker instance then reinstalled it, and now I have a new instance and my account I made doesn't work but I also can't create a new one as it says I've reached the maximum number of users?

TL;DR
Issue: User is unable to log in or sign up after moving the appwrite folder. Solution: 1. Make sure the folder is still named `appwrite`. 2. Check if the `.env` file is present in the `appwrite` folder. If not, create one or copy it from a backup. 3. If you deleted the containers earlier, the volumes might still be intact. Use `docker-compose down -v` to delete the volumes as well. 4. Spin up the appwrite instance again using `docker-compose up -d`. 5. You should now be able to log in or sign up without any
Drake
29 Mar, 2023, 00:23

deleted the docker instance

What do you mean?

ZachHandley
29 Mar, 2023, 00:23

I went into docker and hit the trash can haha

Drake
29 Mar, 2023, 00:24

So you only deleted the running containers?

ZachHandley
29 Mar, 2023, 00:24

I just ran the docker compose stop and docker compose down -v to attempt to actually uninstall it rq, I assume that was what I was missing?

Drake
29 Mar, 2023, 00:25

probably, yes. If you only deleted the containers earlier, the volumes (where the actual data is persisted) were still intact.

The -v in docker compose down -v says to delete the volumes as well as the containers.

If you spin everything up now with docker compose up -d you should be able to sign up again

Drake
29 Mar, 2023, 00:26

btw...are the docker-compose.yml and .env files still in a folder named appwrite?

ZachHandley
29 Mar, 2023, 00:27

I don't see any .env file

ZachHandley
29 Mar, 2023, 00:28
ZachHandley
29 Mar, 2023, 00:28

that's it

Drake
29 Mar, 2023, 00:30

on unix based system, files that start with a dot are hidden. in the terminal you can show them by running ls -a. ls to list the contents of the directory and the -a flag says to show all files (including hidden)

ZachHandley
29 Mar, 2023, 00:30

afaik I had enabled that globally that it would show hidden files, lemme check

ZachHandley
29 Mar, 2023, 00:30

ah yeah of course there it is

ZachHandley
29 Mar, 2023, 00:30

and yes

ZachHandley
29 Mar, 2023, 00:30

they are in appwrite folder

Drake
29 Mar, 2023, 00:30

looks like the folder is still named appwrite. that's good. to keep things simple, make sure the folder stays as appwrite

ZachHandley
29 Mar, 2023, 00:31

okay gotcha, thank you!

Drake
29 Mar, 2023, 00:31

[SOLVED] Can't Log In or Sign Up after Moving appwrite Folder

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more