Skip to main content

Accidentally deleted /var/cpanel/updatelogs/last , now what?

Comments

5 comments

  • cPRex Jurassic Moderator

    Hey hey!  "last" is always a symlink to the most recent update file on the system.  Did you only delete the "last" symlink and not any actual files or directories?

    If so, you can just recreate the last symlink using the most recent update file in there:

    ln -s /var/cpanel/updatelogs/update.your-latest-file-name-here.log last

    and that should get things going.

    You shouldn't need to kill any cached files for this particular, but let me know if it complains about something else after that work.

    0
  • Benjamin D.

    Hi! But uhhhhhhhh OK, but how can I define what "your-latest-file-name-here" actually is?

    Numbers in that directory don't follow modification dates, apparently, so I don't know what to go with.

    0
  • cPRex Jurassic Moderator

    Whichever one in there has the most recent date should be linked to "last" so that'll work.

    0
  • Benjamin D.

    Yep, it seems to work.  I only had to refresh the upcp2 page and it's not going.  I'll report back in 5 minutes but it seems good so far.  Thanks!

    0
  • cPRex Jurassic Moderator

    Glad to hear it!

    0

Please sign in to leave a comment.