Skip to main content

Can't locate Cpanel/Time/TZ.pm in @INC (you may need to install the Cpanel::Time::TZ module

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! I do see we have removed the TZ module in version 100. Here's a comparison of the /usr/local/cpanel/Cpanel directory between those versions: 98 [root@v98machine ~]# ll /usr/local/cpanel/Cpanel/Time total 32 -rw-r--r-- 1 root root 861 Sep 28 20:36 Clf.pm -rw-r--r-- 1 root root 1086 Sep 28 20:36 HTTP.pm -rw-r--r-- 1 root root 3085 Sep 28 20:36 ISO.pm -rw-r--r-- 1 root root 4554 Sep 28 20:36 Local.pm -rw-r--r-- 1 root root 5321 Sep 28 20:36 Split.pm drwxr-xr-x 2 root root 24 Sep 28 20:36 TZ -rw-r--r-- 1 root root 2293 Sep 28 20:36 TZ.pm
    100 [root@host Time]# ll total 72K drwxr-xr-x. 2 root root 4.0K Oct 13 02:53 . drwxr-xr-x. 351 root root 36K Oct 28 02:52 .. -rw-r--r--. 1 root root 861 Feb 24 2021 Clf.pm -rw-r--r--. 1 root root 1.1K Feb 24 2021 HTTP.pm -rw-r--r--. 1 root root 3.1K Feb 24 2021 ISO.pm -rw-r--r--. 1 root root 4.5K Feb 24 2021 Local.pm -rw-r--r--. 1 root root 5.2K Oct 13 02:52 Split.pm
    Since that was not included with the cPanel Perl in version 100, I don't have a way to get that back. You could always submit a feature request to see if that is something they'd be willing to add back to a future version, but the only option I have would be to adjust the code in your custom script to use a different tool.
    0
  • Optimizr
    Thank you for your answer. Seems like I have to use the default pkgacct script or I have to learn it and customize it again to make it compatible with my custom flag --skipwpcore. Am I right?
    0
  • cPRex Jurassic Moderator
    As I understand the current situation, that's correct.
    0

Please sign in to leave a comment.