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.

EasyApache 4 Experimental repository

Discussion in 'EasyApache' started by Nirjonadda, Jan 25, 2017.

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    418
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I am getting error Via WHM > EasyApache 4 after Installed the Experimental repository.

    A fatal error or timeout occurred while processing this directive.

    Code:
    “/usr/bin/python” reported error code “1” when it ended: Traceback (most recent call last):
      File "/usr/local/cpanel/bin/packman_get_list_json", line 9, in <module>
        packman.init_yum()
      File "/usr/local/cpanel/bin/packman.py", line 37, in init_yum
        pkgSack = yb.pkgSack
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1074, in <lambda>
        pkgSack = property(fget=lambda self: self._getSacks(),
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 778, in _getSacks
        self.repos.populateSack(which=repos)
      File "/usr/lib/python2.7/site-packages/yum/repos.py", line 386, in populateSack
        sack.populate(repo, mdtype, callback, cacheonly)
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 227, in populate
        if self._check_db_version(repo, mydbtype):
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 319, in _check_db_version
        return repo._check_db_version(mdtype)
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1503, in _check_db_version
        repoXML = self.repoXML
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1689, in <lambda>
        repoXML = property(fget=lambda self: self._getRepoXML(),
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1685, in _getRepoXML
        self._loadRepoXML(text=self.ui_id)
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1676, in _loadRepoXML
        return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1650, in _groupLoadRepoXML
        if self._commonLoadRepoXML(text):
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1460, in _commonLoadRepoXML
        if self._cachingRepoXML(local):
      File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1226, in _cachingRepoXML
        raise Errors.RepoError, 'Cannot find repomd.xml file for %s' % self.ui_id
    yum.Errors.RepoError: Cannot find repomd.xml file for EA4-experimental/7/x86_64
     w/ /usr/local/cpanel/bin/packman_get_list_json installed ea-
    Often errors like this can be resolved by running `yum makecache`
     at /usr/local/cpanel/Cpanel/PackMan/Sys.pm line 124.
        Cpanel::PackMan::Sys::_call_python_json(Cpanel::PackMan::Sys=HASH(0x401bc58), "/usr/local/cpanel/bin/packman_get_list_json", "installed", "ea-") called at /usr/local/cpanel/Cpanel/PackMan/Sys.pm line 53
        Cpanel::PackMan::Sys::list(Cpanel::PackMan::Sys=HASH(0x401bc58), "installed", "ea-") called at /usr/local/cpanel/Cpanel/PackMan.pm line 612
        Cpanel::PackMan::list(Cpanel::PackMan=HASH(0x3ed07f8), "state", "installed", "prefix", "ea-") called at /usr/local/cpanel/Whostmgr/API/1/EA4.pm line 32
        Whostmgr::API::1::EA4::ea4_list_profiles() called at whostmgr/bin/whostmgr7.pl line 901
        main::easy_apache_4() called at whostmgr/bin/whostmgr7.pl line 220
    
     
  2. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    418
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Now EasyApache 4 page loading without any error after run the following command.

    Code:
    yum --disablerepo="*" --enablerepo="EA4-experimental" list available
     
  3. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    604
    Likes Received:
    94
    Trophy Points:
    103
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    Yep, the problem is that the yum cache needed to be built after adding that repository. The command you ran built that cache, thus it worked after that. We're adding in cache rebuilding to the EA4 UI if it senses there's issues with the yum caches.

    Thanks for the report!
     
Loading...

Share This Page