Setup Wizard does not closed in <IP:5001>

Hello.

I want add in to octoprint second printer. So I have IP:5001. When I Sign-In then is open Setup wizard.
I click on Finish button but Setup Wizard don't close. I can clicking and clicking and nothing happened.
This happens just in IP:500X, in normal all works ok.

What is the solution for this?

I have Octoprint 0.17.0, Raspberry 3B+, Windows 10

Could you check the javascript console? Press F12 or ctrl-shift-i.

I am having same issue, did fresh install of octoprint last night and got it all up and running. Today it would not accept my login so I tried first reset method and would not work. Second reset method seemed to work but now stuck at wizard screen and won't go past finish. What am i looking for on the javascript console?

Error
Response header RAW
XHRPOSThttp://192.168.1.58/api/settings
[HTTP/1.1 500 INTERNAL SERVER ERROR 153ms]

POST
http://192.168.1.58/api/settings
Status500
INTERNAL SERVER ERROR
VersionHTTP/1.1
Transferred1.02 kB (290 B size)
Referrer Policyno-referrer

HTTP/1.1 500 INTERNAL SERVER ERROR

Content-Type: text/html; charset=utf-8

Content-Length: 290

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, max-age=0

Pragma: no-cache

Expires: -1

X-Clacks-Overhead: GNU Terry Pratchett

Vary: Cookie

Set-Cookie: session_P80=.eJxVjs1uwyAQhN-Fc1UBC5j1LWqc17D42a2RHDsy-BBVffdS5dJe55tvNF9i5oPqIsZ2nPQm5pLFKLSSbJJ02minnFKsHIOnbLxjixGNQnJElAk12OgypsAyRmadehwQBjASDcaoAC1FrwfLHCQgpoGCysAxm6S11OxjoiEh6Mw2mV5zWfQjZ6Xj9eZjCXnfe1Yyba2053s42zK354PEuJ3r-of8F9b9s2zzndIStlLvHS2tPTr4Ha9Ua9m3l3LxlyveJjt5mIyBG05XBDUpdNJdEKz4_gGFj1rj.YBCpag.7N3AF24BaHabYbqsm8bQ3hi-QIg; HttpOnly; Path=/

X-Robots-Tag: noindex, nofollow, noimageindex

X-Content-Type-Options: nosniff

X-Frame-Options: sameorigin

REQUEST HEADER RAW

XHRPOSThttp://192.168.1.58/api/settings
[HTTP/1.1 500 INTERNAL SERVER ERROR 153ms]

POST
http://192.168.1.58/api/settings
Status500
INTERNAL SERVER ERROR
VersionHTTP/1.1
Transferred1.02 kB (290 B size)
Referrer Policyno-referrer

HTTP/1.1 500 INTERNAL SERVER ERROR

Content-Type: text/html; charset=utf-8

Content-Length: 290

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, max-age=0

Pragma: no-cache

Expires: -1

X-Clacks-Overhead: GNU Terry Pratchett

Vary: Cookie

Set-Cookie: session_P80=.eJxVjs1uwyAQhN-Fc1UBC5j1LWqc17D42a2RHDsy-BBVffdS5dJe55tvNF9i5oPqIsZ2nPQm5pLFKLSSbJJ02minnFKsHIOnbLxjixGNQnJElAk12OgypsAyRmadehwQBjASDcaoAC1FrwfLHCQgpoGCysAxm6S11OxjoiEh6Mw2mV5zWfQjZ6Xj9eZjCXnfe1Yyba2053s42zK354PEuJ3r-of8F9b9s2zzndIStlLvHS2tPTr4Ha9Ua9m3l3LxlyveJjt5mIyBG05XBDUpdNJdEKz4_gGFj1rj.YBCpag.7N3AF24BaHabYbqsm8bQ3hi-QIg; HttpOnly; Path=/

X-Robots-Tag: noindex, nofollow, noimageindex

X-Content-Type-Options: nosniff

X-Frame-Options: sameorigin
	
POST /api/settings HTTP/1.1

Host: 192.168.1.58

User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0

Accept: application/json, text/javascript, */*; q=0.01

Accept-Language: en-CA,en-US;q=0.7,en;q=0.3

Accept-Encoding: gzip, deflate

Content-Type: application/json; charset=UTF-8

Cache-Control: no-cache

X-Requested-With: XMLHttpRequest

Content-Length: 753

Origin: http://192.168.1.58

Connection: keep-alive

Cookie: session_P80=.eJxVjs1uwyAQhN-Fc1UBC5j1LWqc17D42a2RHDsy-BBVffdS5dJe55tvNF9i5oPqIsZ2nPQm5pLFKLSSbJJ02minnFKsHIOnbLxjixGNQnJElAk12OgypsAyRmadehwQBjASDcaoAC1FrwfLHCQgpoGCysAxm6S11OxjoiEh6Mw2mV5zWfQjZ6Xj9eZjCXnfe1Yyba2053s42zK354PEuJ3r-of8F9b9s2zzndIStlLvHS2tPTr4Ha9Ua9m3l3LxlyveJjt5mIyBG05XBDUpdNJdEKz4_gGFj1rj.YBCpOA.gfYN4zrZS0Yc9v_ObVacwgSsxyM; remember_token_P80=Chadoo|c5af24d72f4515d9bc4ec141b27a2e7fbd9577443fc3084afbafb2fb273756f2dfa1e5954c2ae75e98761d75f407cf62c55780130910f7dbf87c1a25d78b5a8c

Tnx for respond Charlie:

When open Setup Wizard I get this errors:

And when I Click on FINISH button is this error:

I dont know what this all errors means :frowning:

@Jason_Sawchuk @Bostjan - Could you both now upload the octoprint logs? You might have to get to them through SSH, there's an internal server error which will be logged.

@foosel I think this might be a reappearance of the bug I reported with wizards back when OctoPrint 1.5.0 was about to go live - it has to be quite rare, because it hasn't come up all that often (not at all since then) but I guess now with the release of OctoPi 0.18 more people will be going through the setup wizards on 1.5.x instead of 1.4.2 as they upgrade?

@Charlie_Powell

How can I do that?
"You might have to get to them through SSH, there's an internal server error which will be logged."

I have:
OctoPrint version : 1.5.3
OctoPi version : 0.17.0

Best regards,

Boštjan

Seconding the request for octoprint.log - internal server error means something went wrong on the server, and in order to figure out what I'll need those logs. Instructions on how to get them via SSH are available if you click on logs - it's a link.

@Charlie_Powell @foosel I figured out how to get to the logs :slight_smile:

Below is logs for 192.168.0.25:5001 (my second printer) octoprint2:

octoprint.log (1.0 MB)

Best regards,

Boštjan

Ok, a bunch of questions first: I see a bunch of plugins installed and this being version 1.5.3. So that means this is NOT a fully fresh OctoPrint installation but a bootstrapped one. Which in turn means, I need info on how you've created that.

The issue in question seems to stem from the save payload containing an unset gcode script. I'm not sure how that could even happen (though I will take measures in OctoPrint to make it no longer cause a 500), so I need help to figure out what's going on here, and that means more info on how you even got to this point.

@foosel thank you for reply.

I create 3 new Multi Instance Install with Octoprint2, Octoprint3 and Octoprint4 with instructions on link below ower PUTTY:

https://youtu.be/dLDRzggyhKs

That's all.

Octoprint with normally IP 192.168.0.25 (without :5001) works well.

Best regards,

Bostjan

I really wish tutorials like these were in text form, I don't really have the time to go through 19min of a video to figure out what you did :confused:

Quickly skipping through it however it seems like the virtual environment and thus the plugin installations are shared, but port and basedir are different. So what I'd suggest here first is check whether the issue persists if you start your secondary instance in safe mode. Because if it doesn't persist, it's something about some plugin you have installed interfering with the setup wizard.

Chris links the commands in the description.

Ah, thank you, I looked into the description looking for something like this but sadly missed it somehow.

That confirms my above guess at what is shared among the instances and what isn't, so: time for safe mode testing.

YES :slight_smile: Working in Safe mode: :slight_smile:

I Uninstall some Plugins (BLTouch, Bead leveling, Dashboard,...) and now normaly working.

THANK YOU!