ipxe login loop after upgrading to latest trunk
-
@Tom-Elliott 8062 fixes the loop, thank you! The menu still prompts for login with “hide menu” disabled. Just to verify, the “hide menu” is the “menu_hidden” toggle in “boot settings” right? Another thing I noticed is that with 8060 and 8062 “install/update your database schema” did not happen when opening the web interface for the first time after each update.
-
@Cavender schema updates don’t have to occur every update, so this is ok.
Can you show me the browser output of http://ipoffog/fog/service/ipxe/boot.php
-
@Tom-Elliott
#!ipxe
set fog-ip ipoffog
set fog-webroot fog
set boot-url http://${fog-ip}/${fog-webroot}
cpuid --ext 29 && set arch x86_64 || set arch i386
iseq ${platform} efi && set key 0x1b || set key 0x1b
iseq ${platform} efi && set keyName ESC || set keyName Escape
prompt --key ${key} --timeout 30000 Booting… (Press ${keyName} to access the menu) && goto menuAccess || sanboot --no-describe --drive 0x80
:menuAccess
login
params
param mac0 ${net0/mac}
param arch ${arch}
param platform ${platform}
param username ${username}
param password ${password}
param menuaccess 1
param debug 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain -ar http://ipoffog/fog/service/ipxe/boot.php##params -
@Cavender this appears, to me, to indicate hidden menu is enabled.
-
@Tom-Elliott To verify, the “hide menu” is the “menu_hidden” toggle in “boot settings” in the web management?
-
@Cavender yes.
-
I find it also under:
FOG Configuration Page->iPXE Boot Menu->Hide Menu
-
@Tom-Elliott Strange, then.
-
@Tom-Elliott I must leave the office until tomorrow morning. I really appreciate your help Tom and I’ll be digging back into this first thing in the morning. Thank You!
-
I imagine this is now fixed, but please let us know and feel free to mark this as unsolved in the case it is not fixed for you after you update.
-
@Tom-Elliott said in ipxe login loop after upgrading to latest trunk:
agine this is now fixed, but please let us know and feel free to mark this as unsolved in the case it is not fixed for you after you update.
The main menu still prompts for login. This install has been updated many times since an early 1.2 so I decided to start fresh. The main menu still prompts for login and the quick registration and imaging says “no such file or directory”. The advanced menu side works great. Is this problem in my database at that point? What info / logs can I get to you to diagnose?
-
@Cavender I need to see the db to try to understand why it thinks there’s a hidden menu.
That said, the “login loop” issue (itself) should be fixed. I’m solving this thread. Would you mind opening a new one in regards to the fact that it thinks it’s in hidden menu when it’s not?