1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

modulemng: Package is not Pleskmodule

Discussion in 'Plesk for Linux - 8.x and Older' started by mbrenn, May 16, 2007.

  1. mbrenn

    mbrenn Guest

    0
     
    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
     
Loading...