<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Install &amp; Update script in Siena</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Tue, 28 Apr 2026 15:18:28 -0000</pubDate>

		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Installer/updater script is included in Siena (trunk), so manual SQL script appliance is deprecated since now.<br />
<br />
There is <a href="http://www.cotonti.com/forums.php?m=posts&amp;id=22585">a note for developers</a> how to organize their patches.<br />
<br />
This topic exists to announce installer features and discuss possible problems.<br />
<br />
<strong>The Installer</strong> is ran automatically when you first enter your site after unpacking into a new directory. The actual script path is <a href="http://yourhost.tld/install.php." rel="nofollow">http://yourhost.tld/install.php.</a> The Installer features:<br />
<ul>
<li>Checks if your host matches Cotonti requirements</li>
<li>Creates configuration file (if possible)</li>
<li>Chmods required directories</li>
<li>Installs SQL using existing MySQL user/database</li>
<li>Creates the first administrator's account</li>
</ul>
After installation is complete you can log in with the account it has created.<br />
<br />
You won't be able to perform install on existing site until you remove <em>datas/config.php</em> (or set $cfg['new_install'] = true in it) and drop all the tables. Which you normally don't need to do.<br />
<br />
<strong>The Updater</strong> should be run by you after you update to a new version. Developers should also run it after performing SVN Update if there are new files in <em>setup</em> folder. To perform an update, replace your files with the latest files from Siena branch and run <a href="http://yourhost.tld/install.php?m=update." rel="nofollow">http://yourhost.tld/install.php?m=update.</a> The Updater is capable of:<br />
<ul>
<li>Upgrading existing Genoa (0.6.3-0.6.7) installation to current Siena version</li>
<li>Updating from one Siena revision to a later SVN revision</li>
<li>Updating <em>datas/config.php</em> and adding new $cfg options</li>
<li>Applying all necessary SQL and PHP patches</li>
</ul>
<br />
It is not recommended to apply SQL patches manually. If an installer/updater breaks with an error, you should ask for help quoting the error output. If you are experience in applying patches manually, then don't forget to use this query for synchronizing the updater with your current revision:<br />
<div class="highlight"><pre class="mysql">UPDATER `sed_updates` SET upd_value = '$Rev: 1234 $' WHERE upd_param = 'revision';</pre></div>
Here <em>1234</em> stands for revision number you have manually updated to.]]></description>
			<pubDate>Sun, 07 Feb 2010 01:22:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=5264&d=0#post22764]]></link>
		</item>
	</channel>
</rss>