-
-
Notifications
You must be signed in to change notification settings - Fork 782
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
Admin Password? #8236
Comments
Same issue for me as well |
If you do not have the admin credentials (or no admin account has been created yet) you can create a new superuser account: https://docs.inventree.org/en/stable/start/intro/?h=superuser#invoke |
I am facing the same issue with the DO image. My droplet is a 1vcpu-1gb-25gb config. I've also added 1gb of swap after first logging in. When logging in via SSH, the admin account credentials do not work. When checking the password at /etc/inventree/admin_password.txt, this matches the reported admin password upon login (still doesn't work). Inspecting the database, there seem to be no default user accounts. Is there supposed to be or is that what the first login of this admin account is supposed to do? The I'm excited to start piloting Inventree. Please help. |
Running the I'm not sure how to proceed past this blocker, please help! |
I have just added some more information about using the "invoke" tool which should address the issues that you guys are facing here: https://docs.inventree.org/en/latest/start/invoke/ Please let me know if the docs are insufficient here... |
Still no luck - I am running version 2.2.0 of invoke. |
I was able to get However running After the OS upgrade, I had to reinstall all of the application's dependencies and set up the config file, db user, etc.. I was finally able to successfully run the |
As per the docs here - https://docs.inventree.org/en/latest/start/invoke/#running-in-installer-mode - if you have installed InvenTree using the installer, you have to prefix with |
@JosephFanous you have to provide some more information here.
|
@SchrodingersGat I think you misunderstand, I'm using the Digital Ocean
I instantiated a new VM with the DO image and tried this. It worked. Thank you for your help. It is extremely unintuitive because a user of the DO image is not going to think to do any of this, much less know that the image was created with the installer and know where to look in the docs to do this. If anyone faces this problem in the future, here is what worked for me:
|
This worked, thank you - I must have missed this line when going over it o.o I ran |
@matmair can we add some documentation to the droplet pointing to the relevant installer documentation? |
@SchrodingersGat there are no docs for the droplet and admin accounts are automatically issued. I do not plan to support ppl that do not use the listed contact adress. |
@matmair I'll send you an email that links back to this issue if that's what you need. All of the info is here and it shows that multiple people are having the same problem: the admin account is not being automatically created. This is a super cool app. Thanks for all the work you've done on it. I'm excited to trial this with my company. Fixing this problem with the DO image will make it so much easier for future users to deploy and use. |
Deployment Method
Steps to Reproduce
Describe the problem*
I'm having trouble deploying to digital ocean. everything seems to be working right except I can't seem to figure out the admin pass. I found the pass when you log into ssh, that doesn't work. I've tried
inventree
and every other default pass I can think of lol.all I have done is deploy the droplet and login via ssh.
Steps to Reproduce
deploy droplet,
get pass from ssh,
The username and/or password you specified are not correct.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: