<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — database upgrade not complete]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1100&amp;type=atom" />
	<updated>2010-02-17T14:53:05Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=1100</id>
		<entry>
			<title type="html"><![CDATA[Re: database upgrade not complete]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4848#p4848" />
			<content type="html"><![CDATA[<p>Company 0 is special company in only one aspect: administrators of this company are considered as site admins. It means that only admin of company 0 can perform system upgrade, and he is responsible for successful finishing of the process, or restoring databases after failure. This is why all backup files are stored under company/0.</p><p>Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2010-02-17T14:53:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4848#p4848</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: database upgrade not complete]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4845#p4845" />
			<content type="html"><![CDATA[<p>Indeed I see backup files generated by FA, very good! One minor issue (not even an issue for me), it dumps both company backups in the company/0/backup folder. I see both the database_0_20100217_0024.sql and database_1_20100217_0024.sql in company/0/backup&nbsp; and no (new) ones in company/1/backup. I&#039;m using the unstable CVS 2.3 md6 downloaded today 17-Feb-2010.</p>]]></content>
			<author>
				<name><![CDATA[shopimport]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=512</uri>
			</author>
			<updated>2010-02-17T13:04:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4845#p4845</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: database upgrade not complete]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4843#p4843" />
			<content type="html"><![CDATA[<p>I will check and fix the problem with version upgrade.<br />Forced upgrade is in fact last resort as it ignores some more important errors during update. <br />System upgrade should never be done without preliminary backup,<br />but for any case FA makes security backup file anyway before performing db upgrade (see in company/x/backup directory&nbsp; - you should have here backup file made before exact upgrade).</p><p>Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2010-02-17T11:39:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4843#p4843</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: database upgrade not complete]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4840#p4840" />
			<content type="html"><![CDATA[<p>I also noticed that one should not run the FORCE database install 2.2-&gt;2.3 after the normal install. This I did because the company kept blocked. The first time the install runs then the company preferances are moved from table 0_company to 0_sys_prefs and the 0_company is deleted. With a second (forced) run it will first remove 0_sys_prefs and then try to rebuild it from 0_company. However the 0_company is not there and thus the 0_sys_prefs cannot be rebuild. So always make backups before upgrading (yes I did).</p>]]></content>
			<author>
				<name><![CDATA[shopimport]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=512</uri>
			</author>
			<updated>2010-02-17T10:28:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4840#p4840</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: database upgrade not complete]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4834#p4834" />
			<content type="html"><![CDATA[<p>I dig more into the code. I noticed that 0_sys_prefs was properly updated to version_id = 2.3, but not for 1_sys_prefs, still on 2.2</p><p>Then in the upgrade script the function update_company_prefs( $params ) is called. Looks like here you would need the company as second parameter simular to the function get_company_pref($prefs = null, $tbpref = TB_PREF)</p><p>I manually changed version_id to 2.3 for company 1_ and could enter the company menu instead of the blocked message reported earlier.</p>]]></content>
			<author>
				<name><![CDATA[shopimport]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=512</uri>
			</author>
			<updated>2010-02-16T23:38:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4834#p4834</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[database upgrade not complete]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4833#p4833" />
			<content type="html"><![CDATA[<p>I&#039;ve tried to install from 2.2.5 to 2.3CVS.</p><p>I&#039;ve downloaded the unstable version, used the default config.php, entered the superadmin and checked the 2.2 to 2.3 database upgrade. This went all properly.</p><p>Now I try to login on the second company (company 1) then I still get &quot;Access to application has been blocked until database upgrade is completed by system administrator.&quot;</p><p>I did redo the whole thing but with the same message and no clue where to search for. I hope you can give me some hints.<br />Gr. Bob</p>]]></content>
			<author>
				<name><![CDATA[shopimport]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=512</uri>
			</author>
			<updated>2010-02-16T23:06:07Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4833#p4833</id>
		</entry>
</feed>
