<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Advanced Update Guide</title><link>https://sourceforge.net/p/djeen/wiki/Advanced%2520Update%2520Guide/</link><description>Recent changes to Advanced Update Guide</description><atom:link href="https://sourceforge.net/p/djeen/wiki/Advanced%20Update%20Guide/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 04 Sep 2013 07:15:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/djeen/wiki/Advanced%20Update%20Guide/feed" rel="self" type="application/rss+xml"/><item><title>Advanced Update Guide modified by Ghislain Bidaut</title><link>https://sourceforge.net/p/djeen/wiki/Advanced%2520Update%2520Guide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -2,11 +2,12 @@

 This guide was originally written for a Djeen 1.X to 1.Y version update.
 If you want to follow a simple update guide (1.X.x to 1.X.y), please follow this guide.
-Pre-update
+
+### Pre-update

 Important: this part of the process shall not be neither skipped nor underestimated at all.

-### Database backup
+#### Database backup

 This step is just a safety measure, since database restoration is fully managed by the update system (see below for more details). But it's a database, so caution is never a bad thing.

@@ -19,7 +20,7 @@

 There is an example name for our backup file: djeen_dump.sql. And an example path to create this backup into: tmp/.

-#### Case A: MysQL database
+##### Case A: MysQL database

 Let also define an example port:
 - Port     3306
@@ -30,7 +31,7 @@

 Notice the difference between the uppercase P (for the port option) and the lowercase p (for the password option).

-#### Case B: PostgreSQL database
+##### Case B: PostgreSQL database

 Example port:
 - Port     5432
@@ -41,7 +42,7 @@

 Notice the uppercase U (for the user option).

-### Component backup
+#### Component backup

 Connect into your Joomla! website administration part with an admin account.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ghislain Bidaut</dc:creator><pubDate>Wed, 04 Sep 2013 07:15:58 -0000</pubDate><guid>https://sourceforge.net1377784330c3e24af646941bae3ed95806c1682f</guid></item><item><title>Advanced Update Guide modified by Ghislain Bidaut</title><link>https://sourceforge.net/p/djeen/wiki/Advanced%2520Update%2520Guide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -60,8 +60,6 @@

 ![Djeen Component Updated](http://djeen.sourceforge.net/images/wiki/update_success.png)

-- Failure and subsequent restoration
-
 Otherwise, you should see an error message.

 Normally, when an update fails, the system automatically restores your database in its pre-update state.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ghislain Bidaut</dc:creator><pubDate>Wed, 04 Sep 2013 07:13:53 -0000</pubDate><guid>https://sourceforge.netef4a92eb599ff14983622ce8bcc5e0acd2a2b2ac</guid></item><item><title>Advanced Update Guide modified by Ghislain Bidaut</title><link>https://sourceforge.net/p/djeen/wiki/Advanced%2520Update%2520Guide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -58,7 +58,7 @@

 If all goes as planned, you should see the following message:

-
+![Djeen Component Updated](http://djeen.sourceforge.net/images/wiki/update_success.png)

 - Failure and subsequent restoration

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ghislain Bidaut</dc:creator><pubDate>Wed, 04 Sep 2013 07:13:27 -0000</pubDate><guid>https://sourceforge.netbb7594579a15fcf1a2691121235a961450f5938d</guid></item><item><title>Advanced Update Guide modified by Ghislain Bidaut</title><link>https://sourceforge.net/p/djeen/wiki/Advanced%2520Update%2520Guide/</link><description>&lt;div class="markdown_content"&gt;&lt;h3 id="version"&gt;Version&lt;/h3&gt;
&lt;p&gt;This guide was originally written for a Djeen 1.X to 1.Y version update.&lt;br /&gt;
If you want to follow a simple update guide (1.X.x to 1.X.y), please follow this guide.&lt;br /&gt;
Pre-update&lt;/p&gt;
&lt;p&gt;Important: this part of the process shall not be neither skipped nor underestimated at all.&lt;/p&gt;
&lt;h3 id="database-backup"&gt;Database backup&lt;/h3&gt;
&lt;p&gt;This step is just a safety measure, since database restoration is fully managed by the update system (see below for more details). But it's a database, so caution is never a bad thing.&lt;/p&gt;
&lt;p&gt;For the sake of an example, say our Djeen database has the following associated characteristics:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Host  localhost&lt;/li&gt;
&lt;li&gt;Name  djeen_db&lt;/li&gt;
&lt;li&gt;User connecting to the database   test&lt;/li&gt;
&lt;li&gt;Password of said user     qwerty&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There is an example name for our backup file: djeen_dump.sql. And an example path to create this backup into: tmp/.&lt;/p&gt;
&lt;h4 id="case-a-mysql-database"&gt;Case A: MysQL database&lt;/h4&gt;
&lt;p&gt;Let also define an example port:&lt;br /&gt;
- Port  3306&lt;/p&gt;
&lt;p&gt;Under the prompt, type the following command:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="err"&gt;$&lt;/span&gt; &lt;span class="n"&gt;mysqldump&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="n"&gt;localhost&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;P&lt;/span&gt; &lt;span class="mi"&gt;3306&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;u&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="n"&gt;qwerty&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;djeen_dump&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sql&lt;/span&gt; &lt;span class="n"&gt;djeen_db&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Notice the difference between the uppercase P (for the port option) and the lowercase p (for the password option).&lt;/p&gt;
&lt;h4 id="case-b-postgresql-database"&gt;Case B: PostgreSQL database&lt;/h4&gt;
&lt;p&gt;Example port:&lt;br /&gt;
- Port  5432&lt;/p&gt;
&lt;p&gt;Under the prompt, type the following command:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="err"&gt;$&lt;/span&gt; &lt;span class="n"&gt;pg_dump&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="n"&gt;localhost&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="mi"&gt;5432&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;U&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt; &lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;djeen_dump&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sql&lt;/span&gt; &lt;span class="n"&gt;djeen_db&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Notice the uppercase U (for the user option).&lt;/p&gt;
&lt;h3 id="component-backup"&gt;Component backup&lt;/h3&gt;
&lt;p&gt;Connect into your Joomla! website administration part with an admin account.&lt;/p&gt;
&lt;p&gt;Then, go into the 'System information' section of Djeen component. You should see a 'Tools' title frame on the right, with a 'Component backup' line.&lt;/p&gt;
&lt;p&gt;Click on the 'Create and download' button; this should trigger the download of the backup:&lt;/p&gt;
&lt;p&gt;Save it.&lt;/p&gt;
&lt;h3 id="component-update"&gt;Component Update&lt;/h3&gt;
&lt;p&gt;Stay into Joomla! administration, and go into the 'Extension manager' section. Upload the Djeen archive of the new version you want to install.&lt;br /&gt;
- Success&lt;/p&gt;
&lt;p&gt;If all goes as planned, you should see the following message:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Failure and subsequent restoration&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Otherwise, you should see an error message.&lt;/p&gt;
&lt;p&gt;Normally, when an update fails, the system automatically restores your database in its pre-update state.&lt;/p&gt;
&lt;p&gt;If not, it should be indicated in the error message, and it's a more serious problem; in this last case, there is nothing to do except waiting for the development team to intervene.&lt;/p&gt;
&lt;h3 id="for-information"&gt;For information:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;In PostgreSQL, restoration is made via the use of transactions and rollback.&lt;/li&gt;
&lt;li&gt;In MySQL, it's done via a pre-update dump injection.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If the database was successfully restored, just go into the 'Extension manager' section again, and upload the Djeen archive of the component backup you created earlier. If you forgot to perform such a backup (big mistake) but you have an internet connection, you still can go at &lt;a href="http://djeen.sourceforge.net"&gt;http://djeen.sourceforge.net&lt;/a&gt; to get the proper archive (don't forget to choose the archive corresponding to the pre-update version).&lt;/p&gt;
&lt;p&gt;Once the archive uploaded, Djeen should be fully restored in its pre-update version, and should at least be usable this way.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ghislain Bidaut</dc:creator><pubDate>Wed, 04 Sep 2013 07:12:40 -0000</pubDate><guid>https://sourceforge.net79913147fb45ef76925f01de267e57d4069d9931</guid></item></channel></rss>