Skip to main content

Elevate script detects Grub2 related blocker

Comments

10 comments

  • cPRex Jurassic Moderator

    Hey there!  I sent these concerns to the ELevate team and they recommended creating a ticket so we can do more research on this issue.  Could you do that?

    0
  • Michael Travan

    Hello cPRex, thanks. Unfortunately no, I cannot create a ticket. When I try to do so it tells me to contact my hosting provider (which is licensed to cPanel/Whm), but since I don't have a managing contract with them (I have a bare metal server with them), they won't help me with such issues. That's why I wrote here. I feel a bit out of luck here : (

    0
  • cPRex Jurassic Moderator

    In general, I'm not familiar with Litespeed having repositories, so that specific portion of the output was very interesting to me.

    Python is a default application on the server so you wouldn't want to remove it - was there other output from the script mentioning this?

    If your cPanel license is purchased from us directly you'd be eligible to create that ticket, although your host should be supporting your license.

    0
  • Michael Travan

    Hello cPRex, and thanks for your info. My cPanel license came with the dedicated server, so no, I didn't buy it directly from you. I own a Litespeed Unlimited license though, I don't know if that makes me eligible to open tickets unrelated to cPanel. Let me know on this. 

    I'll paste here the full output of the elevate script, if you would be so kind of sharing your thoughts, or at least to point me in the right direction, I'll be thankful. 

    Michael

    0
  • cPRex Jurassic Moderator

    If any license is purchased directly through us you'd be able to contact us for issues.

    There's much more going on than just the grub errors, but at this time, that server isn't going to be able to ELevate due to the network configuration even if you were able to fix the other issues.  I spoke with the ELevate team today and they are anticipating supporting multiple network cards sometime later in June or July.

    If you need to get this machine updated sooner than later, a traditional migration to a new server would be the best option.

    0
  • David Cordovez

    Hello!, same problem here with grub2. when I run /scripts/elevate-cpanel --check the result is 

     *** Elevation Blocker detected: ***
      The GRUB2 config file is missing.

    I was looking at the script and the code says:

      if (   ( !-f '/boot/grub2/grub.cfg' || !-s '/boot/grub2/grub.cfg' )
                && ( !-f '/boot/grub/grub.cfg' || !-s '/boot/grub/grub.cfg' ) ) {

                return $self->has_blocker( <<~EOS );
            The GRUB2 config file is missing.

    and in my server the grub.cfg is in /boot/efi/EFI/centos/grub.cfg, so what I did was create a link in /boot/grub2/grub.cfg that points to /boot/efi/EFI/centos/grub.cfg

    Now it no longer gives me errors and I am executing "start", I will tell you later how it went.

     

    0
  • Michael Travan

    Hello cPRex, thanks so much for your time and precious info! 

    David Cordovez, fingers crossed and thanks for the tip! 

    0
  • Anthony Lay

    newby here.  I have the same issue, I found this on Stacked but I now get a different error:  

    sudo grub2-mkconfig -o /boot/grub/grub.cfg

    So I have reverted back to my Snapshot.

    Do we know how to fix?

    0
  • David Cordovez

    Hello Michael Travan

    After a long update process (more than an hour), the server was updated and everything works well, now running AlmaLinux v8.
    There are times where you have to be patient, because the process seems to be stuck, you don't see progress on the screen but if you look at the log file that remains in /var/log/leapp/ you can see that it is working.

     

     

    1
  • BFT

    Hello David Cordovez. I am having I believe the same issue as you with the grub config being in the EFI location. Are you able to provide some more info on the link you created to get past the blocker? Thanks.

    0

Please sign in to leave a comment.