-
I set up snipe-IT an got it working. When i was getting ready to start, i forgot my password. I went to /var/www/html/snipe and did sudo nano .env Thx in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
You changed your MySQL database password instead of your Snipe-IT user password. Change it back to whatever is in your .env file under DB_PASSWORD, or change your DB_PASSWORD to whatever you made your newpassword be. |
Beta Was this translation helpful? Give feedback.
-
It seems weird. I have a screenshot with the correct password but when i
change my .env file and also my Snipe-IT password to that password, the
problem doesn't get solved.
Is there a way to see what is going wrong or to reset the database password
in a clean way so i can use my snipe-IT environment again without
reinstalling?
Thx in advance!
Op vr 14 jan. 2022 om 20:15 schreef snipe ***@***.***>:
… It shouldn't - and if database is not green, then you still haven't fixed
the database connection issue. The two things that decide whether to show
you the setup screen is the middleware
<https://github.com/snipe/snipe-it/blob/master/app/Http/Middleware/CheckForSetup.php>
and the setupCompleted() Settings model method:
https://github.com/snipe/snipe-it/blob/be7e6ed84794bd2d5d3dc4f5b43523d00bc8f8cd/app/Models/Setting.php#L114-L127
So it still looks like your database credentials are wrong.
—
Reply to this email directly, view it on GitHub
<#10516 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR2QZHVZJG6MODQR4CFPJHDUWBY6FANCNFSM5L7EC4WA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Just managed to solve it. I reset my SnipeIT pw again and got back to the login-screen. |
Beta Was this translation helpful? Give feedback.
Just managed to solve it. I reset my SnipeIT pw again and got back to the login-screen.
After that i created a new admin user with commandline. Logged in with that user and then solved other users problem.
Thx for the help!