Frage zum Updateserver

Fragen zum Entwickeln eigener Addons?

Moderator: General Support Moderators

Forum rules
Forumregeln
Locked
alve89
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Sun Jul 01, 2012 10:45 pm

Frage zum Updateserver

Post by alve89 » Fri Jul 22, 2016 7:40 pm

Hallo zusammen!

Ich scheine wohl einen Fehler in meinen XMLs zu haben, da mir Updates zu meinen heute geschriebenen Addons nicht angezeigt werden. Könnte da vielleicht mal jemand drüberschauen?

Hier mal eine zu einer Komponente (Installations-XML):

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2.0" method="upgrade">
 
	<name>Soapbox</name>
	<!-- The following elements are optional and free of formatting constraints -->
	<creationDate>July 2016</creationDate>
	<author>Stefan Herzog</author>
	<authorEmail>[email protected]</authorEmail>
	<authorUrl>http://joomla.apps.stefan-herzog.com</authorUrl>
	<copyright>Copyright Info</copyright>
	<license>License Info</license>
	<!--  The version string is recorded in the components table -->
	<version>0.0.1</version>
	<!-- The description is optional and defaults to the name -->
	<description>Diese Komponente ermöglicht die Verwaltung von Seifenkistenrennen. Es können Teams, Zeiten, etc. eingetragen werden.</description>
 
	<update> <!-- Runs on update; New since J2.5 -->
		<schemas>
			<schemapath type="mysql">sql/updates/mysql</schemapath>
		</schemas>
	</update>
 
	<!-- Site Main File Copy Section -->
	<!-- Note the folder attribute: This attribute describes the folder
		to copy FROM in the package to install therefore files copied
		in this section are copied from /site/ in the package -->
	<files folder="site">
		<filename>index.html</filename>
		<filename>soapbox.php</filename>
	</files>
 
	<administration>
		<!-- Administration Menu Section -->
		<menu link='index.php?option=com_soapbox'>SOAPBOX</menu>
		<!-- Administration Main File Copy Section -->
		<!-- Note the folder attribute: This attribute describes the folder
			to copy FROM in the package to install therefore files copied
			in this section are copied from /admin/ in the package -->
		<files folder="admin">
			<!-- Admin Main File Copy Section -->
			<filename>index.html</filename>
			<filename>soapbox.php</filename>
			<!-- SQL files section -->
			<folder>sql</folder>
		</files>
	</administration>
 	<updateservers>
		<server type="extension" priority="1" name="Soapbox">http://joomla.apps.stefan-herzog.com/update_com_soapbox.xml</server>
	</updateservers>
</extension>
Und hier die Update-XML:

Code: Select all

<updates>
	<update>
	    <name>Soapbox</name>
	    <description>Neue Beschreibung der Komponente</description>
	    <element>com_soapbox</element>
	    <type>components</type>
	    <version>0.0.2</version>
	    <infourl title="Joomla!">http://www.joomla.org/</infourl>
	    <downloads>
	        <downloadurl type="full" format="zip">http://joomla.apps.stefan-herzog.com/com_soapbox_002.zip</downloadurl>
	    </downloads>
	    <tags>
	        <tag>stable</tag>
	    </tags>
	    <maintainer>Stefan Herzog</maintainer>
	    <maintainerurl>http://joomla.apps.stefan-herzog.com</maintainerurl>
	    <targetplatform name="joomla" version="3.6"/>
	    <client>site</client>
	 </update>
</updates>
Letztere wird auch ordnungsgemäß gefunden und in #__updates wird bei meiner Komponente auch die gefundene Version 0.0.2 angezeigt. Aber im Joomla-Update-Bereich bekomme ich keinerlei Updates angezeigt.


Vielen Dank schon mal im Voraus!

Grüße
Stefan

Locked

Return to “Entwicklerforum”