-
-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Everytime I restart mydrive script, Password doesn't work #43
Comments
What an odd issue... I’ve never heard of this one before haha. Whenever the server starts does it ask you to enter an encryption key first? The only thing I can guess is the encryption key is different so it throws an error trying to decrypt the password. |
yeah i know right... It does ask for the encryption key...
…On Sun, Mar 21, 2021 at 5:55 AM subnub ***@***.***> wrote:
What an odd issue... I’ve never heard of this one before haha. Whenever
the server starts does it ask you to enter an encryption key first? The
only thing I can guess is the encryption key is different so it throws an
error trying to decrypt the password.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#43 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHQXUBHMZFEOIULDGP6DKB3TEW67TANCNFSM4ZRBHWIQ>
.
|
I just tried to enter the password, got incorrect password, and i realized
it returned this to the console:
[image: Screen Shot 2021-03-21 at 9.35.31 AM.png]
On Sun, Mar 21, 2021 at 9:27 AM Caleb Elliott ***@***.***>
wrote:
… yeah i know right... It does ask for the encryption key...
On Sun, Mar 21, 2021 at 5:55 AM subnub ***@***.***> wrote:
> What an odd issue... I’ve never heard of this one before haha. Whenever
> the server starts does it ask you to enter an encryption key first? The
> only thing I can guess is the encryption key is different so it throws an
> error trying to decrypt the password.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#43 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AHQXUBHMZFEOIULDGP6DKB3TEW67TANCNFSM4ZRBHWIQ>
> .
>
|
For some reason I cannot see the image, can you try to upload it again please? Edit: Most likely because you tried to upload the image through a reply in your email |
sure, i put it on a link this time: https://ibb.co/Mhrtsxx
…On Sun, Mar 21, 2021 at 10:37 AM subnub ***@***.***> wrote:
For some reason I cannot see the image, can you try to upload it again
please?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#43 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHQXUBD5HLOKS4Z7XEQEYPLTEYAB3ANCNFSM4ZRBHWIQ>
.
|
Okay yeah this def looks like it is caused by the encryption key. I think most likely you accidently typed in the wrong password when you first created/ran the server. Now whenever you restart the server you're putting in a different key. I probably should add some type of fail safe for this in the future. Unfortunately you cannot recover a lost/forgotten key, unless of course you can somehow figure out what you typed in when you first created the server. If you cannot figure it out, you will have to clear out the database and start over I'm afraid. When you run the setup again, I recommend choosing the option to enter the encryption key once instead of every time the server starts if it's causing you to much trouble. While this is less secure (anyone can check in your env file and see your key) it should be okay if you're just using it for personal use. Let me know if you are having trouble figuring out how to reset your database, if you aren't too familiar with commands you could also manually delete them using a program like Robo3T or Compass. |
Hey! So whenever i restart my server, or the myDrive script, it always has trouble with user passwords. Every time i restart, it seems to just "forget the password". I don't change anything in mongo, or anything on the file system either... so i have no clue why this could be happening...
https://gyazo.com/c549562ff5f52e85acba0b88d240da8f
There is a screenshot of the password incorrect page.
Is there any command for me to reset my password? I do not mind doing this, but I just hate to loose access to my files every time the script restarts...
Hope this can be figured out because I love this!
Thanks,
Caleb
The text was updated successfully, but these errors were encountered: