Skip to main content

Error show on WHM panel

Answered

Comments

14 comments

  • HenrikSCH

    Same here..  i already put in a ticket it is after the 124.0.10 update

    0
  • dexter2323

    I had the 122 version and upgraded to the 124 to see if it would correct the problem but it is still the same.

    0
  • cPRex Jurassic Moderator

    Hey there!  This error appears when the installation file at /var/cpanel/install_version is missing.  Can you run the following command to confirm that file is missing?

    ls /var/cpanel/install_version

    If it is indeed missing, run this command to recreate the file with the proper value:

    whmapi1 version | awk 'NR==3{print $2}' >> /var/cpanel/install_version
    3
  • dexter2323

    that was definitely the problem... thank you very much cPRex

    0
  • cPRex Jurassic Moderator

    I'm glad that did the trick!

    0
  • Darryl

    Had the same issue here after updating to 124.0.10 and this solved it too.

    0
  • cPRex Jurassic Moderator

    I've updated our article with a better workaround you can find here:

    https://support.cpanel.net/hc/en-us/articles/27581040066455-WHM-error-A-warning-occurred-while-processing-this-directive-when-var-cpanel-install-version-is-missing

    grep "11[.][0-9][0-9]*" /usr/local/cpanel/logs/error_log | grep -m 1 version | awk '{print $7}' >> /var/cpanel/install_version
    0
  • Unknown User

    after update   124.0.10 version .

    Initial Setup Wizard stuck any one have solution

    0
  • Andrew

    Just click on Skip and that will get you through.

    Andrew N. - cPanel Plesk VMWare Certified Professional
    Do you need immediate assistance? 20 minutes response time!* Open a ticket
    EmergencySupport - Professional Server Management and One-time Services

     

    0
  • David

    FYI, for me the first fix is better since

    > grep "11[.][0-9][0-9]*" /usr/local/cpanel/logs/error_log | grep -m 1 online | awk '{print $7}'

    returns "running"

    whereas

    > whmapi1 version | awk 'NR==3{print $2}'

    produces "11.118.0.25"

    Not sure what the cause is, perhaps bc I use CloudLinux?

    0
  • cPRex Jurassic Moderator

    What happens if you run just this?

    grep "11[.][0-9][0-9]*" /usr/local/cpanel/logs/error_log | grep -m 1 online

    That should give you a full line of text with the version number you're looking for in there.

    Both commands will "fix" the issue, but we want to get the original cPanel version that was created at the time the server was installed, ideally.

    0
  • David

    I ran the first fix and that worked for me.

    If I run the last grep, I get:

    Waiting for 10 tasks to complete: running (install_locallib_loginprofile, build_locale_databases, rebuild_templates, run_base_package_update, run_system_package_update, run_script /usr/[2020-08-20 22:58:20 +0200] info [cpsrvd] version 11.90.0.5 online

    0
  • cPRex Jurassic Moderator

    Great - I would add that 11.90.0.5 version to the file instead of the current version then.

    1
  • cPRex Jurassic Moderator

    Update - this is resolved in all versions of 126 and we're working on a backport to version 124.

    0

Please sign in to leave a comment.