Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

An error of "unexpected keyword argument 'logged_out'" can occur post-upgrade. This article helps correct this behavior.

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.1.0p33

Table of Contents


Related to https://jira.lan.tribe29.com/browse/SUP-15898

...

Status
colourGreen
titleLAST TESTED ON CHECKMK ??

Table of Contents

Problem

receives and error of <<< DELETE BEFORE PUBLISHING

Problem

User is unable to activate changes on a Checkmk site due to an error of " init() got an unexpected keyword argument 'logged_out'. post upgrade

Solution

This error is caused by a "logged_out": False," flag enabled within the session_info.mk file.

  1. Delete the session_info.mk file located in ~/var/check_mk/web/automation/ directory

    Code Block
    OMD[mysite]:~$ cd ~/var/check_mk/web/automation/
    
    OMD[mysite]:~/var/check_mk/web/automation$ ls -l
    
    -rw-rw---- 1 mysite mysite  21 Jun 27 15:17 automation.secret
    -rw-rw---- 1 mysite mysite 573 Jun 27 15:17 cached_profile.mk
    -rw-rw---- 1 mysite mysite   2 Jun 27 15:17 enforce_pw_change.mk
    -rw-rw---- 1 mysite mysite  11 Jun 27 15:17 last_pw_change.mk
    -rw-rw---- 1 mysite mysite   2 Jun 27 15:17 num_failed_logins.mk
    -rw-rw---- 1 mysite mysite   2 Jun 27 15:17 serial.mk
    -rw-rw---- 1 mysite mysite   2 Jun 27 15:17 session_info.mk
    
    OMD[mysite]:~/var/check_mk

...

  1. /web/automation$ rm session_info.mk


  2. Restart the Checkmk site

    Code Block
    OMD[mysite]:~$ restart omd mysite


  3. Login and activate changes

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = in ("kb-troubleshooting-article","activate_changes") and type = "page" and space in ("CON","KB")
labelskb-how-to-article

Page Properties
hiddentrue


Related issues


https://jira.lan.tribe29.com/browse/SUP-15898