Skip to content
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

How to login web interface as defaul administrator? #1186

Closed
Newb3d1 opened this issue Jan 14, 2016 · 2 comments
Closed

How to login web interface as defaul administrator? #1186

Newb3d1 opened this issue Jan 14, 2016 · 2 comments
Labels
incomplete Issue template has not been fully filled out, no further processing until fixed

Comments

@Newb3d1
Copy link

Newb3d1 commented Jan 14, 2016

After I tryed to add to octoprint flow rate and feedrate overrides it became unstable.

http://www.soliforum.com/topic/7410/octoprint-thats-pretty-neat/ ~/.octoprint/config.yaml

appearance: {}
controls:

  • children:
    • command: M220 S%(speed)s
      input:
      • default: 100
        name: Speed (0-255)
        parameter: speed
        name: set
        type: parametric_command
    • command: M220 S100
      name: default
      type: command
      name: Toolhead Speed
      type: section
  • children:
    • command: M221 S%(speed)s
      input:
      • default: 100
        name: Speed (0-255)
        parameter: speed
        name: set
        type: parametric_command
    • command: M221 S100
      name: default
      type: command
      name: Extrusion Override
      type: section
      cura: {}

After deleting this additional code I got that login and password form as shown on picture

http://prntscr.com/9pwj2b

Login pi pass: raspbarry no works

How to login as default user that can reboot/restart/shutdown octopring thru web interface?

Thank you in advance.

@GitIssueBot
Copy link

Hi @Newb3d1,

It looks like there is some information missing from your bug report that will be needed in order to solve the problem. Please take a look at 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, please take special note of the title format to use as described in the Contribution Guidelines.

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-01-28 08:20) 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.

@markwal
Copy link
Member

markwal commented Jan 14, 2016

This is a support request, not a bug report, so it is best directed to the Google Group or Plus Communities that are linked in the contribution guidlines.

The user name and password octoprint asks for are the ones you created when you went through your first run experience. And in particular are not the "pi" user and password you use to ssh into the pi (and you shouldn't use the same user name and password for both either).

The most likely explanation for the symptoms you describe is that the config.yaml was not properly formed both when you added the controls as well as when you removed them. The yaml format is very picky about whitespace (spaces, tabs and line endings) and it needs to be consistent and well-formed. It is for this reason that developers have been trying to make as many of the broadly useful configurations editable using controls in the user interface rather than editing the config.yaml directly. There is a plugin by salandora for editing these custom controls, for example. (By the way, the speed and flow controls already exist in the control tab by default.)

If you'd like to reset the user name and password, you can do that by setting "firstRun: true" in the config.yaml and by removing users.yaml (you may want to do this by renaming it in case you want it back for some reason), restarting octoprint and then refreshing your web page. It should ask you to set a new user name and password.

@markwal markwal closed this as completed Jan 14, 2016
@foosel foosel added the incomplete Issue template has not been fully filled out, no further processing until fixed label Feb 20, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
incomplete Issue template has not been fully filled out, no further processing until fixed
Projects
None yet
Development

No branches or pull requests

4 participants