<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to UpgradingFrom235To240</title><link>https://sourceforge.net/p/jforum2/wiki2/UpgradingFrom235To240/</link><description>Recent changes to UpgradingFrom235To240</description><atom:link href="https://sourceforge.net/p/jforum2/wiki2/UpgradingFrom235To240/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 16 Apr 2020 08:14:25 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jforum2/wiki2/UpgradingFrom235To240/feed" rel="self" type="application/rss+xml"/><item><title>UpgradingFrom235To240 modified by Ulf Dittmer</title><link>https://sourceforge.net/p/jforum2/wiki2/UpgradingFrom235To240/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ulf Dittmer</dc:creator><pubDate>Thu, 16 Apr 2020 08:14:25 -0000</pubDate><guid>https://sourceforge.net1cf3978f947452a642b94beec7d17334a5a9d4b9</guid></item><item><title>UpgradingFrom235To240 modified by Anonymous</title><link>https://sourceforge.net/p/jforum2/wiki2/UpgradingFrom235To240/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="upgrading-from-version-235-to-240"&gt;Upgrading from version 2.3.5 to 2.4.0&lt;/h1&gt;
&lt;hr /&gt;
&lt;p&gt;Upgrading from JForum version 2.3.5 to version 2.4.0 is easy. All you have to do is to carefully follow the steps here described. &lt;/p&gt;
&lt;p&gt;The suggested approach is to unpack JForum 2.4.0 into some temporary directory, make the steps here shown, and then, when all is finished and tested, copy it over the directory where the previous version is located. This is a suggestion, and you're free to proceed the way you prefer. &lt;/p&gt;
&lt;h2 id="whats-new"&gt;What's new&lt;/h2&gt;
&lt;hr /&gt;
&lt;p&gt;JForum 2.4.0 requires Java 6 as the minimum runtime environment for loading some dependent Java 6 libraries. For a list of changes made in JForum 2.4.0, please check &lt;a class="" href="/p/jforum2/wiki2/NewFeatures240"&gt;New and Changed Features in JForum 2.4.0&lt;/a&gt;. &lt;/p&gt;
&lt;h2 id="backup-your-data"&gt;Backup your data&lt;/h2&gt;
&lt;hr /&gt;
&lt;p&gt;First, make a backup of the database and the current directory where JForum is installed. JForum's directories are: &lt;em&gt;templates&lt;/em&gt;, &lt;em&gt;images&lt;/em&gt;, &lt;em&gt;upload&lt;/em&gt; and &lt;em&gt;WEB-INF/config&lt;/em&gt;. Each database has a different backup &lt;a class="" href="http://www.aquafold.com" rel="nofollow"&gt;tool&lt;/a&gt;, so please check its documentation or with your system administrator. For HSQLDB backup, the database files are in the directory &lt;em&gt;WEB-INF/config/database/hsqldb&lt;/em&gt;, and all you have to do is to copy it. &lt;/p&gt;
&lt;h2 id="backup-configuration-files"&gt;Backup configuration files&lt;/h2&gt;
&lt;hr /&gt;
&lt;p&gt;You'd like to take special care for &lt;em&gt;SystemGlobals.properties&lt;/em&gt; and &lt;em&gt;jforum-custom.conf&lt;/em&gt;, as these are the main configuration files. Backup them and then compare and merge your current version with the new version that comes with JForum 2.4.0. The same is valid for database-specific configurations, that are stored in the directory &lt;em&gt;WEB-INF/config/database&lt;/em&gt;. &lt;/p&gt;
&lt;h2 id="upgrading-the-database-schema"&gt;Upgrading the database schema&lt;/h2&gt;
&lt;hr /&gt;
&lt;p&gt;There are some changes to the database schema - a new column here, a removed column there... In order to get the new database right, go to the directory &lt;strong&gt;&lt;em&gt;upgrade/2.4.0&lt;/em&gt;&lt;/strong&gt;, where you'll find the upgrade script for all supported databases - Oracle, MySQL, PostgreSQL, SQL Server and HSLQDB. Using your database management console / tool, import the appropriate script. Below is a list of commands for each database - another possible approach is to simple use the management console and paste the script there. It is up to you. &lt;/p&gt;
&lt;h3 id="mysql"&gt;MySQL&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;mysql -u USERNAME -p DBNAME &amp;lt; mysql_2.3.5_to_2.4.0.sql&lt;/code&gt;&lt;/p&gt;
&lt;h3 id="postgresql"&gt;PostgreSQL&lt;/h3&gt;
&lt;p&gt;Log in to postgres and type &lt;/p&gt;
&lt;p&gt;&lt;code&gt;\i /path/to/postgresql_2.3.5_to_2.4.0.sql&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Or, directly from the command line, use the &lt;code&gt;psql&lt;/code&gt; tool, as in &lt;/p&gt;
&lt;p&gt;&lt;code&gt;psql DBNAME USERNAME -f /path/to/postgresql_2.3.5_to_2.4.0.sql&lt;/code&gt;&lt;/p&gt;
&lt;h3 id="oracle"&gt;Oracle&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;sqlplus @oracle_2.3.5_to_2.4.0.sql&lt;/code&gt;&lt;/p&gt;
&lt;h3 id="sql-server"&gt;SQL Server&lt;/h3&gt;
&lt;p&gt;You can use SQL Server Management Studio and simply paste the contents of file &lt;em&gt;sqlserver_2.3.5_to_2.4.0.sql&lt;/em&gt; into the text area at the right, and click "Execute"&lt;/p&gt;
&lt;h3 id="hsqldb"&gt;HSQLDB&lt;/h3&gt;
&lt;p&gt;The process for HSQLDB is trickier. First, from the command line, go to the directory &lt;em&gt;WEB-INF/config/database/hsqldb&lt;/em&gt;, which is where the database is located. Then, run the following command (you must have Java installed): &lt;/p&gt;
&lt;p&gt;&lt;code&gt;java -Djava.ext.dirs=../../../lib org.hsqldb.util.DatabaseManagerSwing&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This will open a dialog window asking you for connection settings. In "Type" choose "HSQL Database Engine Standalone", and, for "URL", put the value &lt;em&gt;jdbc:hsqldb:jforum&lt;/em&gt;. Leave "User" and "Password" with the default values, and click "OK". A new window will show up, listing all tables in the left column. &lt;/p&gt;
&lt;p&gt;Now simply paste the contents of file &lt;em&gt;hsqldb_2.3.5_to_2.4.0.sql&lt;/em&gt; into the text area at the right, and click "Execute"&lt;/p&gt;
&lt;h2 id="check-the-configuration-files"&gt;Check the configuration files&lt;/h2&gt;
&lt;hr /&gt;
&lt;h3 id="systemglobalsproperties-jforum-customconf"&gt;SystemGlobals.properties / jforum-custom.conf&lt;/h3&gt;
&lt;p&gt;Open the file &lt;em&gt;WEB-INF/config/SystemGlobals.properties&lt;/em&gt; and check every property, setting it up according to your needs. Please note that JForum stores customized configurations (those saved from the Admin Panel -&amp;gt; Configurations page) into a file named &lt;em&gt;jforum-custom.conf&lt;/em&gt;, which your current installation of JForum may or may not have. If you have it, please make sure to update any necessary value there as well. &lt;/p&gt;
&lt;h3 id="modulesmappingproperties"&gt;modulesMapping.properties&lt;/h3&gt;
&lt;p&gt;Open the file &lt;em&gt;WEB-INF/config/modulesMapping.properties&lt;/em&gt; and remove the following line, if it exists: &lt;/p&gt;
&lt;p&gt;&lt;code&gt;install = net.jforum.view.install.InstallAction&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="testing"&gt;Testing&lt;/h2&gt;
&lt;hr /&gt;
&lt;p&gt;Now, test JForum 2.4.0 before adding it to the production environment. The easier way is to put it under some another Context. If it starts and runs without any problems, then you can proceed to the final step, which is just a matter of replacing the old version with this new one. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 13 Jul 2015 12:52:48 -0000</pubDate><guid>https://sourceforge.net4039a80ca0ccd8d5ff3f1cac30723299641ba6be</guid></item></channel></rss>