Access problem with Octoprint. User and pass

#1

Hi guys, im new here. Im from Italy and im sorry for my bad english.
Ive a problem! I cant sign in into the octoprint server. I dont remember user and pass. Ive tried everything. Someone knows a solution?! Thank u. image|666x500

#2

Hi @Cacio89,

you may have a look at this:

1 Like
#3

I did it yesterday but nothing. I used the program “putty” to go into the command line and when i put the commands nothing happened. The same, with other commands

#4

At the prompt (pi@octopi), can you type in ls -a and share the results?
And also ls ~/.octoprint -a

#5

Here it is

#6

There is no more useres.yaml to remove...

#7

so, what can i do now?

#8

When you login to the web front end now, you do not get the setup menu again?

#9

Nope. I have this

#10

im going crazy. the page ask me for a log in again.

#11

The guide tells you to do three steps. You only did the first, removing the users.yaml (or maybe for some reason it was already gone).

Continue with the other two steps.

rm ~/.octoprint/users.yaml
sed -i -e 's/firstRun: false/firstRun: true/g' ~/.octoprint/config.yaml
sudo service octoprint restart
#12

I did the three steps. But ive always the log in page

#13

no more ideas?! what if i buy a new sd or a new raspberry?!!

#14

@Cacio89 When you first setup OctoPrint (during the Setup Wizard), did you create a user or not for that "User Access" screen?

#15

@OutsourcedGuru Yes i did it. i cliked on “enable user access” during the first setup . But I finally solved the problem and now everything works! But i did the user access again but without problem this time. Anyway, thanks for everything.