• 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 Cannot install NodeJS via Plesk Update Components

WolFree

New Pleskian
Server operating system version
Ubuntu 20.04
Plesk version and microupdate number
18.0.58/59
Hi guys,

We need to install the NodeJS support on several servers, all of them Ubuntu 20.04LTS with Obsidian 18.0.58/59.

We got the following error right in the Updatetool:
Code:
Installation started in background
Checking whether the package dependencies are resolved.
Installing packages
Installing the package Node.js Toolkit
Launching component and product checkers...
Downloading file report-update: 0%
Downloading file report-update: 100% was finished.
Downloading file pool/PSA_18.0.59_13944/examiners/py_launcher.sh: 0%
Downloading file pool/PSA_18.0.59_13944/examiners/py_launcher.sh: 100% was finished.
Error: Failed to install the extension 'Node.js Toolkit' (package: nodejs):
The extension nodejs is not allowed for installation.

The log says:
Code:
[2024-02-26 08:41:53.407806] Installation started in background
[2024-02-26 08:41:53.407868] 
Getting bootstrapper packages to installation list:
[2024-02-26 08:41:53.407994] skip package 'pp18.0.59-bootstrapper-18.0-v.ubuntu.20.04+p18.0.59.0+t240130.2019.amd64' from component panel - same or newer version of this package is already installed (in system pp18.0.59-bootstrapper-18.0-v.ubuntu.20.04+p18.0.59.0+t240130.2019.amd64)
[2024-02-26 08:41:53.408068] skip package 'sw-engine-cli-5.59-5.59.2-ubuntu.20.04.240130.1409.amd64' from component panel - same or newer version of this package is already installed (in system sw-engine-cli-5.59-5.59.2-ubuntu.20.04.240130.1409.amd64)
[2024-02-26 08:41:53.408124] Following bootstrapper packages will be installed: (empty)
[2024-02-26 08:41:53.408161] ---------------- 
[2024-02-26 08:41:53.408190] Getting packages to installation list:
[2024-02-26 08:41:53.408264] Following packages will be installed: ext-nodejs-no_versioning_data.noarch 
[2024-02-26 08:41:53.408298] ----------------
[2024-02-26 08:41:53.408378] Checking whether the package dependencies are resolved.
[2024-02-26 08:41:53.995582] (regen obsoletes cache) 
[2024-02-26 08:41:53.995711] Check package set before installation
[2024-02-26 08:41:53.995984] The following packages from not selected components will be installed because they are required by other components' packages you selected for installation: 
[2024-02-26 08:41:54.001080] Installing packages
[2024-02-26 08:41:54.003733] Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_18_0_59', sequence='prep', stage='execute', sequence_order='-2', operation='install', exec_cmd='touch /var/lock/plesk-report-update.flag; :'', m_arch='', exit code: 0, output: ~empty
[2024-02-26 08:41:54.007213] Bootstrapper has finished action (exec time: 1 sec.): parent_name='PLESK_18_0_59', sequence='prep', stage='execute', sequence_order='-1', operation='install', exec_cmd='touch /tmp/pp-bootstrapper-mode.flag; touch /var/lock/parallels-panel-maintenance-mode.flag; rm -f /var/lock/parallels-panel-upgrade-failure.flag; :'', m_arch='', exit code: 0, output: ~empty
[2024-02-26 08:41:54.012168] Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_18_0_59', sequence='post', stage='execute', sequence_order='9990', operation='install', exec_cmd='test ! -x /opt/psa/admin/sbin/packagemng || /opt/psa/admin/sbin/packagemng --set-dirty-flag'', m_arch='', exit code: 0, output: ~empty
[2024-02-26 08:41:54.253122] Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_18_0_59', sequence='post', stage='execute', sequence_order='9991', operation='install', exec_cmd='/opt/psa/bootstrapper/pp18.0.59-bootstrapper/bootstrapper.sh perform-deferred-actions'', m_arch='', exit code: 0, output: ~empty
[2024-02-26 08:41:54.371976] Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_18_0_59', sequence='post', stage='execute', sequence_order='9998', operation='install', exec_cmd='/opt/psa/admin/sbin/update_history'', m_arch='', exit code: 0, output: ~empty
[2024-02-26 08:41:54.375869] Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_18_0_59', sequence='post', stage='commit', sequence_order='1', operation='install', exec_cmd='rm -f /tmp/pp-bootstrapper-mode.flag; rm -f /var/lock/parallels-panel-maintenance-mode.flag; :'', m_arch='', exit code: 0, output: ~empty
[2024-02-26 08:41:54.376031] Installing the package Node.js Toolkit
[2024-02-26 08:41:59.530078] Extension package ext-nodejs installation failed with code 1, stdout: ~empty
stderr: The extension nodejs is not allowed for installation.


[2024-02-26 08:41:59.532794] Launching component and product checkers...
[2024-02-26 08:41:59.532818] FileFetcher: get file (~empty)/report-update
[2024-02-26 08:41:59.532903] Downloading file report-update: 0%
[2024-02-26 08:41:59.575442] Downloading file report-update: 100% was finished.
[2024-02-26 08:41:59.575667] FileFetcher: get file (~empty)/pool/PSA_18.0.59_13944/examiners/py_launcher.sh
[2024-02-26 08:41:59.575707] Downloading file pool/PSA_18.0.59_13944/examiners/py_launcher.sh: 0%
[2024-02-26 08:41:59.588541] Downloading file pool/PSA_18.0.59_13944/examiners/py_launcher.sh: 100% was finished.
[2024-02-26 08:42:10.042149] Examination executed ["/root/parallels/pool/PSA_18.0.59_13944/examiners/py_launcher.sh" "/root/parallels/report-update" --op update --rc 1 --start-flag /var/lock/plesk-report-update.flag --to=18.0.59.0 --from=18.0.59] with code 0
 Output:
~empty
 Error:
2024-02-26 08:42:10,025 ERROR Failed to send report: The read operation timed out

[2024-02-26 08:42:10.042424] Execute command /opt/psa/admin/bin/send-error-report install --version 18.0.59
[2024-02-26 08:42:10.045958] Error: Failed to install the extension 'Node.js Toolkit' (package: nodejs):
The extension nodejs is not allowed for installation.


Warning! Not all packages were installed.
Please check if your system services are operable.
Please resolve this issue and try to install the packages again.
Visit https://support.plesk.com/ to search for a solution.

Anyone has a solution?

Thank you!
 
Please check your panel.ini file whether nodejs is blacklisted there. For example, a segment like
Code:
[extensions]
blacklist = laravel,nodejs,sectigo
would block the installation of the extension.
 
Back
Top