An error is shown in Plesk after upgrade: Package with UID not found


2016-11-16 12:48:01 UTC


2017-08-16 16:42:49 UTC


Was this article helpful?

Have more questions?

Submit a request

An error is shown in Plesk after upgrade: Package with UID not found

Applicable to:

  • Plesk for Windows
  • Plesk 10.x for Windows
  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux


After upgrading Plesk, the following error is shown in web interface:

Package with UID '' not found.
---------------------- Debug Info -------------------------------
0: aps_php.php:8020
        aps_controller_registry_getpackage(resource, string '')

During an attempt to fix this using the information from #112568 . the following errors appear:

"%plesk\\dir%\\admin\\php.exe" -dauto\\prepend\\_file="" "%plesk_dir%\\admin\\plib\\scripts\\aps-controller-data-import.php"

ERR (3): Can not import package ID '1' into APS controller: Failed to find images/icon.png in archive C:/Program Files/SWsoft/Plesk/v
ar/apspackages/ (Empty error message)


  1. Retrieve the list of the problem applications:

    "%plesk_bin%\\dbclient" --direct-sql --sql="select id, name from smb_apsPackages where registryUid is NULL"
  2. In any image editor (e.g., MS paint), create a small dummy file and name it icon.png .

  3. Go to C:\\Program Files (x86)\\Parallels\\Plesk\\var\\apspackages . Folders for all applications can be found there, including the problematic ones.

  4. For each problematic application, put this file in the following locations (example locations are given for the phpBook-1.50-25 application):

    a. Inside the C:\\Program Files\\Parallels\\Plesk\\var\\apspackages\\phpBook-1.50-25\\cache\\images folder;

    b. Inside the C:\\Program Files\\Parallels\\Plesk\\var\\apspackages\\phpBook-1.50-25\\ archive.

  5. Re-run the command:

    "%plesk_dir%\\admin\\php.exe" -dauto_prepend_file="" "%plesk_dir%\\admin\\plib\\scripts\\aps-controller-data-import.php"

    It may take a long time to finish running, depending on the number of problem applications.

Have more questions? Submit a request
Please sign in to leave a comment.