• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Internal error: Failed to parse metadata

doodoajid

New Pleskian
When I try to create a new customer, there appears this error:
Internal error: Failed to parse metadata
Message Failed to parse metadata
File aps_php.php
Line 119
Type Exception

Parallels Plesk Panel v. 11.5.30

No new messages in /var/log/sw-cp-server/error_log

Code:
# tail -f /usr/local/psa/admin/logs/panel.log
[27-Feb-2014 00:14:34 Europe/Berlin] Exception: Failed to parse metadata
file: /usr/share/aps_php/aps_php.php
line: 119
code: 0
trace: #0 /usr/share/aps_php/aps_php.php(119): getpackageinfo('/opt/psa/var/ap...')
#1 /opt/psa/admin/plib/Service/Mail/Aps.php(35): aps_php::getPackageInfo('/opt/psa/var/ap...')
#2 /opt/psa/admin/plib/Service/Mail/Providers.php(23): Service_Mail_Aps::getAvailableApsMailPackages()
#3 /opt/psa/admin/plib/AdminPanel/Form/Subscription.php(64): Service_Mail_Providers::getAvailableProviders()
#4 /opt/psa/admin/externals/Zend/Form.php(240): AdminPanel_Form_Subscription->init()
#5 /opt/psa/admin/plib/CommonPanel/Form.php(61): Zend_Form->__construct(Array)
#6 /opt/psa/admin/plib/AdminPanel/Form/Final/Customer.php(136): CommonPanel_Form->__construct(Array)
#7 /opt/psa/admin/plib/AdminPanel/Form/Final/Customer.php(57): AdminPanel_Form_Final_Customer->_addSubscription()
#8 /opt/psa/admin/externals/Zend/Form.php(240): AdminPanel_Form_Final_Customer->init()
#9 /opt/psa/admin/plib/CommonPanel/Form.php(61): Zend_Form->__construct(Array)
#10 /opt/psa/admin/panel/application/controllers/CustomerController.php(417): CommonPanel_Form->__construct(Array)
#11 /opt/psa/admin/panel/application/controllers/CustomerController.php(388): CustomerController->_proccessForm(Object(Client))
#12 /opt/psa/admin/externals/Zend/Controller/Action.php(516): CustomerController->createAction()
#13 /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('createAction')
#14 /opt/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#15 /opt/psa/admin/plib/AdminPanel/Application/Web.php(21): Zend_Controller_Front->dispatch()
#16 /opt/psa/admin/panel/application/public/index.php(14): AdminPanel_Application_Web->run()
#17 {main}

2014-02-27T00:14:34+01:00 ERR (3)  [panel]: Exception: Failed to parse metadata
file: /usr/share/aps_php/aps_php.php
line: 119
code: 0

I tried to track the problem with http://kb.parallels.com/en/112733 but this command didn't get any results:
# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -Nse"select d.name as DOMAIN,c.status from Configurations c left join domains d on c.objectId=d.id where c.status='error'"

Any idea?
 
This issue may occur when 'metafile_uri' is missing on the server.
Check it with following SQL query, for example:

mysql> select id, name, version, metafile_uri from apsc.aps_package;
+----+-----------+---------+----------------------------------------------------------------------------------+
| id | name | version | metafile_uri |
+----+-----------+---------+----------------------------------------------------------------------------------+
| 1 | joomla | 1.5.20 | /usr/local/psa/var/apspackages/3f30168f-bce4-4cad-8642-e619040ba243/APP-META.xml |
| 2 | WordPress | 3.4.1 | /usr/local/psa/var/apspackages/a966db4c-04f0-4b70-8086-23875566616a/APP-META.xml |
| 13 | WordPress | 3.8 | /usr/local/psa/var/apspackages/db9e8b66-1935-4bde-804c-94dd149be167/APP-META.xml |
| 14 | magento | 1.8.1.0 | /usr/local/psa/var/apspackages/ce34f22f-1cc3-4a0b-822e-41466d7c78d7/APP-META.xml |
+----+-----------+---------+----------------------------------------------------------------------------------+
4 rows in set (0.00 sec)

# ll /usr/local/psa/var/apspackages/3f30168f-bce4-4cad-8642-e619040ba243/APP-META.xml
ls: cannot access /usr/local/psa/var/apspackages/3f30168f-bce4-4cad-8642-e619040ba243/APP-META.xml: No such file or directory

But I strongly recommend you contact Support Team. They will check and fix this issue directly on your server.
 
Fix is not easy and trivial. Therefore I suggest you contact Support Team.
 
Back
Top