Back

[CLOSED] After upgrade, cannot login with user from CLI or console

  • 0
  • General
AmstruP
5 Sep, 2023, 19:07

Hi support

After upgrading to the latest version (1.4.1) I am not able to login to my project anymore. I have tried from CLI and console but it is like my session is "guest" and I am not allowed to login with my credentials. The error response is "invalid credentials". Is the only solution to do a complete reinstall and reconfiguration of appwrite?

TL;DR
After upgrading to version 1.4.1, the user is unable to login to their project. They have tried logging in from the CLI and console, but receive an error message saying "invalid credentials." The solution is to do a complete reinstall and reconfiguration of appwrite.
Drake
5 Sep, 2023, 19:18

Did you run the migrate command after upgrading? Also what version did you upgrade from?

AmstruP
5 Sep, 2023, 19:21

Hi Steven Yes, I did run the migrate command after the upgrade. I think the previous version was 1.3.8

Drake
5 Sep, 2023, 19:21

And it migrated everything successfully?

AmstruP
5 Sep, 2023, 19:22

Yes, I could not see any errors after running the migration

Drake
5 Sep, 2023, 19:22

What's pwd and ls -la show?

AmstruP
5 Sep, 2023, 19:24

I am quite new to this programming world, so I am quite sure what you want me to do here, sorry.

AmstruP
5 Sep, 2023, 19:44

Now I figured out what you wanted me to do 🙂

AmstruP
5 Sep, 2023, 19:44

sysbaj@DKMGR33 MINGW64 ~/Github/appwrite $ pwd /c/Users/sysbaj/Github/appwrite

sysbaj@DKMGR33 MINGW64 ~/Github/appwrite $ ls -la total 132 drwxr-xr-x 1 sysbaj 1049089 0 Sep 5 20:38 ./ drwxr-xr-x 1 sysbaj 1049089 0 Jul 24 22:57 ../ -rw-r--r-- 1 sysbaj 1049089 3333 Sep 5 20:39 .env -rw-r--r-- 1 sysbaj 1049089 2833 May 13 12:36 .env.1683974166.backup -rw-r--r-- 1 sysbaj 1049089 2853 Jul 24 22:01 .env.1690228876.backup -rw-r--r-- 1 sysbaj 1049089 2859 Sep 5 20:38 .env.1693939132.backup -rw-r--r-- 1 sysbaj 1049089 18670 Jul 25 20:41 appwrite.json -rw-r--r-- 1 sysbaj 1049089 1142 Jul 24 21:49 backup.sh -rw-r--r-- 1 sysbaj 1049089 20443 Sep 5 20:39 docker-compose.yml -rw-r--r-- 1 sysbaj 1049089 18127 May 13 12:36 docker-compose.yml.1683974166.backup -rw-r--r-- 1 sysbaj 1049089 18127 Jul 24 22:01 docker-compose.yml.1690228876.backup -rw-r--r-- 1 sysbaj 1049089 18127 Sep 5 20:38 docker-compose.yml.1693939132.backup drwxr-xr-x 1 sysbaj 1049089 0 Jul 25 20:41 functions/

QuadWord
5 Sep, 2023, 20:07

@AmstruP Just a thought: Similar thing happened to me when i thought i could just add/change the _APP_OPENSSL_KEY_V1 in the .env file. Maybe doublecheck if you touched it ? Changing it back helped me to login again.

AmstruP
5 Sep, 2023, 20:13

@QuadWord Thanks for your reply. I have not touch the OPENSSL_KEY but at the moment I have tried this guide to stop and restart docker: https://docs.tibco.com/pub/mash-local/4.3.0/doc/html/docker/GUID-BD850566-5B79-4915-987E-430FC38DAAE4.html

Drake
5 Sep, 2023, 20:41

FYI, it's best to wrap code in backticks to format a bit nicer. You can use 1 backtick for inline code (https://www.markdownguide.org/basic-syntax/#code) and 3 backticks for multiline code (https://www.markdownguide.org/extended-syntax/#syntax-highlighting.

Drake
5 Sep, 2023, 20:43

k i don't see any nested appwrite folder so that's good...what's the output of docker ps -a?

AmstruP
5 Sep, 2023, 20:45

I have just reinstalled appwrite again and I am about to reconfigure. So I think this thread is set to closed 🙂

Drake
5 Sep, 2023, 20:49

[CLOSED] After upgrade, cannot login with user from CLI or console

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