OK my brother sent me a Pi and installed octopi.. everything works but, he signed into Octoprint and can't remember the user/password... is there a way to just reset octoprint without starting from scratch? (which I tried with new SD card but for some reason the pi won't read it)
Hi @thomllama,
It looks like there is some information missing from your bug report that will be needed in order to solve the problem. Read the Contribution Guidelines which will provide you with a template to fill out here so that your bug report is ready to be investigated (I promise I'll go away then too!).
If you did not intend to report a bug but wanted to request a feature or brain storm about some kind of development, please take special note of the title format to use as described in the Contribution Guidelines.
Please do not abuse the bug tracker as a support forum - if you have a question or otherwise need some kind of help or support refer to the Mailinglist or the G+ Community instead of here.
Also make sure you are at the right place - this is the bug tracker of the official version of OctoPrint, not the Raspberry Pi image OctoPi nor any unbundled third party OctoPrint plugins or unofficial versions. Make sure too that you have read through the Frequently Asked Questions and searched the existing tickets for your problem - try multiple search terms please.
I'm marking this one now as needing some more information. Please understand that if you do not provide that information within the next two weeks (until 2016-10-18 02:10 UTC) I'll close this ticket so it doesn't clutter the bug tracker. This is nothing personal, so please just be considerate and help the maintainers solve this problem quickly by following the guidelines linked above. Remember, the less time the devs have to spend running after information on tickets, the more time they have to actually solve problems and add awesome new features. Thank you!
Best regards,
~ Your friendly GitIssueBot
PS: I'm just an automated script, not a human being, so don't expect any replies from me :) Your ticket is read by humans too, I'm just not one of them.
Delete ~/.octoprint/users.yaml to remove all existing users, and change firstRun: false to firstRun: true in ~/.octoprint/config.yaml to make OctoPrint think that it's being run for the first time. Then restart OctoPrint and it'll display the dialog box for creating a new user.
Ok,, but where/how is this yaml? Looked on the card directly, not there, tried through SSH, no file or directory is all I get back. I'm completely clueless with coding..
The files should be located at ~/.octoprint/users.yaml and ~/.octoprint/users.yaml.
I've never used OctoPi before, but, based on quickly looking though its repo, running the following will perform all the tasks that I mentioned.
rm ~/.octoprint/users.yaml
sed -i -e 's/firstRun: false/firstRun: true/g' ~/.octoprint/config.yaml
/etc/init.d/octoprint restart
Small correction:
rm ~/.octoprint/users.yaml
sed -i -e 's/firstRun: false/firstRun: true/g' ~/.octoprint/config.yaml
sudo service octoprint restart
thanks guys.. will try.. guessing I can just copy paste this into the terminal once logged into the pi?
Hey Donovan, you still doing the M3Dfio stuff? man you were a life saver wit that POS!! LOL only way to get that thing to do anything decent !!
THAT WORKED!!!! thanks guys!!! not a friggin clue what that all was but it worked!!! _(right now I'm like the 1990's internet dancing banana gif !! )_

(SCNR)
I guess it's time to add this to the FAQ finally, been meaning to for a while now...
ya!!! that banana dude!!!! :)
fully logged in an connected to printer!! thanks SOOO much guys!!
This is now also part of a new FAQ entry. Closing.
Most helpful comment
Small correction: