• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved NodeJS attribute name is invalid: application

Matheus5

New Pleskian
Server operating system version
CentOS Linux 7.9.2009 (Core)
Plesk version and microupdate number
Version 18.0.50 Update #2, last updated on Feb 27, 2023 04:40 PM
I was deploying an application in NodeJS yesterday, when I went to access it today through the plesk panel and I could no longer access the NodeJS application due to the error below.

Can anyone help me to fix this problem?

2023-08-08 08:06:13ERRpanel [204695:64d221a53f5f4]
pm_Exception: attribute name is invalid: application
file: /usr/local/psa/admin/plib/pm/Domain.php
line: 225
code: 0
trace: #0 /usr/local/psa/admin/plib/modules/nodejs/library/Navigation/OverviewPage.php(15): pm_Domain->getProperty(string 'application')
#1 /usr/local/psa/admin/plib/pm/Navigation/OverviewPage.php(43): PleskExt\Nodejs\Navigation\OverviewPage->getData()
#2 /usr/local/psa/admin/plib/pm/Navigation/OverviewPage.php(59): pm_Navigation_OverviewPage->getCurrentItem()
#3 /usr/local/psa/admin/plib/Application/Controller/Action/Helper/Navigation.php(278): pm_Navigation_OverviewPage->getLabel()
#4 /usr/local/psa/admin/plib/Application/Controller/Action/Helper/Navigation.php(207): Plesk\Application\Controller\Action\Helper\Navigation->_addModuleBreadcrumbs()
#5 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action/HelperBroker.php(277): Plesk\Application\Controller\Action\Helper\Navigation->postDispatch()
#6 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#7 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(string 'indexAction')
#8 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
#9 /usr/local/psa/admin/plib/pm/Application.php(91): Zend_Controller_Front->dispatch()
#10 /usr/local/psa/admin/htdocs/modules/nodejs/index.php(5): pm_Application->run()
 
Hello,

PSA DB inconsistency.
Code:
trace: #0 /usr/local/psa/admin/plib/modules/nodejs/library/Navigation/OverviewPage.php(15): pm_Domain->getProperty(string 'application')
Here it checks the `dom_param` table if domain in question does have the `param` = "application" with `val` = "ext-nodejs" in order to obtain domain id and display name.

Acquire the domain id from the `domains` table and see if it does have the proper settings(compare with other domains with nodejs or another server).

You can also try $ plesk repair db

If it was working yesterday, acquire a daily dump(from /var/lib/psa/dumps/mysql.daily*) and inspect it in order to restore missing tables contents.
SQL debug log level should help you see the failed queries.
 
Hello good afternoon.

No plesk domain is opening the NodeJS menu, I tried to repair plesk it but it didn't find any error.

I found a similar topic but no public solution.
 
Back
Top