Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED file error - menu/main.tmpl: not found

Discussion in 'General Discussion' started by Cristian Aray, Feb 24, 2018.

  1. Cristian Aray

    Cristian Aray Registered

    Joined:
    Feb 24, 2018
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Costa Rica
    cPanel Access Level:
    Root Administrator
    I've been struggling with transfering accounts from one WHM account to the other, because mail folders are huge. In that process I've created and terminated some accounts multiple times.

    The last thing I was trying was to create a backup from cPanel, excluding mail/new mail/cur folders. All good until that, but when I went to import the backup into WHM, I got an error about the unmanaged database user, fixed that and try again, second try throws an error because the home/username folder already exists.

    So, I rm -rf /home/username/ ... didn't work because I'm stupid.

    Again rm -rf /home/username does work... so I go to WHM to retry the import, and surprise surprise...

    file error - menu/main.tmpl: not found

    I tried forcing a cPanel Update a couple of time, finishing both successfully but the error is not gone. Can't access WHM but the Accounts seems to be working no issues.

    Any idea what could be wrong and how I can fix this?

    Is WHM username account looking for a theme file that I delete?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,247
    Likes Received:
    1,759
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The error message you noticed can appear if required files were removed. Try running the following command to see if it solves the issue:

    Code:
    /scripts/updatenow.static -sync
    Thank you.
     
  3. Cristian Aray

    Cristian Aray Registered

    Joined:
    Feb 24, 2018
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Costa Rica
    cPanel Access Level:
    Root Administrator
    That worked. Thanks a lot.
     
    cPanelMichael likes this.
Loading...

Share This Page