• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

modulemng: Package is not Pleskmodule

M

mbrenn

Guest
Hi,

I have a problem with creating an application vault for Plesk.

When I upload the application vault, I get the following message:

Modulpaket kann nicht installiert werden (Module package can't be installed) modulemng failed. modulemng: error: Module is not a Plesk package.

Here is my info.xml:

Code:
<?xml version="1.0" ?>
<!-- $ID: info.xml, v 1.4 2004/01/15 06:46:06 serge Exp $ -->
<!DOCTYPE WEBAPP SYSTEM "WEBAPP 1.0">
<WEBAPP name="PHPINFO" version="1.0.0" release="1000" type="advanced_cgi">
	<VERSIONHISTORY>
		<VER value="1.0.0" />
	</VERSIONHISTORY>
	<ATTRIBUTES>
		<DESCRIPTION>PHPInfo-Test für Application-Packages</DESCRIPTION>
		<LICENSE>commercial</LICENSE>
		<ATTRIBUTE name="disc_space" value="1024" />
	</ATTRIBUTES>
	<CAPABILITIES>
	</CAPABILITIES>
	<REQUIREMENTS>
		<APACHE_VHOST name="PHP" value="on" />
	</REQUIREMENTS>
	<PROPERTIES>
	</PROPERTIES>
</WEBAPP>

Here my SPEC-File for creating the
Code:
rpm-package:
Summary: PHPINFO-Testapplikation
Name: PHPINFO
Version: 1.0.0.0
Release: 1000
License: commercial
Group: Applications/WWW
BuildRoot: /home/mbrenn/mobile_more/
Prefix: %product_root_d/var/cgitory
Requires: php
Provides: Plesk-application-vault
%description
Beschreibung
%files
%defattr(-,root,root)
/usr/local/psa/var/cgitory/%{name}-%{version}-%{release}/*

The command for creating the package is:
sudo rpmbuild --bb --target=noarch PHPINFO-1.0.0.0-1000.SPEC

The complete package can be downloaded under:

http://depon.net/downloads/phpinfo.rpm.tar.gz
http://depon.net/downloads/plesk-vault.tar.gz

It is only a small phpinfo.php file, which I try to include. The directory structure looks like this:

/home/mbrenn/PHPINFO-1.0.0.0-1000.SPEC
/home/mbrenn/mobile_more/usr/local/psa/var/cgitory/PHPINFO-1.0.0.0-1000/*
/home/mbrenn/mobile_more/usr/local/psa/var/cgitory/PHPINFO-1.0.0.0-1000/info/info.xml

Do you have any advise how to solve this problem?

Thanks and greetings,
Martin Brenn
 
Back
Top