myDrive icon indicating copy to clipboard operation
myDrive copied to clipboard

Getting error while create new user

Open abhisamant7 opened this issue 5 years ago • 5 comments

Hi All,

I am trying this wonderful project. I have been successfully running app on localhost:3000 however when I am trying to create new user using my email id and password it give me error as Duplicate Email, or Invalid Password.

Could you suggest me what is I am doing wrong.

Please see the attached screenshot Screenshot from 2020-10-02 08-28-06

abhisamant7 avatar Oct 02 '20 03:10 abhisamant7

Same issue

539hex avatar Oct 22 '20 12:10 539hex

This is usually an issue with the “remote url” (REMOTE_URL) variable in the configuration files not being correct. For example the URL should not end in a slash (“/“), it should be like this “http://example.com” instead of like this “http://example.com/“. You can either rerun the setup command, or manually edit the two config files. One is located in the folder labeled “config” and is called “prod.env” while the other is located at the root of the project directory and is called “.env.production” (you may need to turn on view hidden files). Just make sure to run the build command again so they changes take effect “npm run build”

subnub avatar Oct 22 '20 13:10 subnub

I'm having the same issue but in Docker. It's not allowing me to create a user. I'm trying to test this locally before I try and incorporate it with letsencrypt. Here is my .env for reference.

REMOTE_URL=http://example.com DISABLE_STORAGE=true HTTP_PORT=3141 HTTPS_PORT=8141 NODE_ENV=production MONGODB_URL=mongodb://mongo:27017/mydrive DOCKER=true DISABLE_EMAIL_VERIFICATION=true DB_TYPE=fs REMOTE_URL=http://example.com PASSWORD_ACCESS=admin PASSWORD_REFRESH=admin PASSWORD_COOKIE=admin FS_DIRECTORY=/home/user/ ROOT=/home/user/

Lukabratzee avatar Jan 14 '21 01:01 Lukabratzee

I have the same problem and it is not URL environment variable error. Do you know if it could be due to another cause?

Thank you.

basekvk avatar Oct 24 '21 12:10 basekvk

@subnub this is still a problem

airtonix avatar Jul 10 '22 03:07 airtonix