Hi,
I'm trying to upgrade a 0.19.4 installation to 1.0.0rc5. I have imported my database tables into the test installation and then run the upgrade script. After filling out the database parameters I press Install/Upgrade button, but instead of upgrading the installation the installer tries to create the tables. Of course this fails but I cannot continue with the upgrade.
Did I miss something? Any pointers would be very welcome.
Cheers,
Bart
Upgrade from 0.19.4 to 1.0.0rc5 fails?
Moderators: Developer, Contributor
I've also tried to upgrade (but from 0.19.1) to 1.0.0 and upgrade.php also redirected me to install.php that tried to create all the tables instead of altering them, i.e.:rata wrote:Bart
You need to go into the Admin directory and run Upgrade your installation. This will make the necessary database changes - not create a new database like Install does.
I hope this info isn't too late for you.
BAD
CREATE TABLE mantis_bug_file_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, bug_id INTEGER UNSIGNED NOT NULL DEFAULT 0, title VARCHAR(250) NOT NULL DEFAULT '', description VARCHAR(250) NOT NULL DEFAULT '', diskfile VARCHAR(250) NOT NULL DEFAULT '', filename VARCHAR(250) NOT NULL DEFAULT '', folder VARCHAR(250) NOT NULL DEFAULT '', filesize INTEGER NOT NULL DEFAULT 0, file_type VARCHAR(250) NOT NULL DEFAULT '', date_added DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', content LONGBLOB NOT NULL, PRIMARY KEY (id) )TYPE=MyISAM
Table 'mantis_bug_file_table' already exists
Of course it already exists because I want to upgrade!
BTW, 1.0.0rc5 upgraded 0.19.1 well (with some errors but anyway, it upgraded).
hi,
it gives me the same error when i want to upgrade:
BAD
CREATE TABLE mantis_bug_file_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, bug_id INTEGER UNSIGNED NOT NULL DEFAULT 0, title VARCHAR(250) NOT NULL DEFAULT '', description VARCHAR(250) NOT NULL DEFAULT '', diskfile VARCHAR(250) NOT NULL DEFAULT '', filename VARCHAR(250) NOT NULL DEFAULT '', folder VARCHAR(250) NOT NULL DEFAULT '', filesize INTEGER NOT NULL DEFAULT 0, file_type VARCHAR(250) NOT NULL DEFAULT '', date_added DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', content LONGBLOB NOT NULL, PRIMARY KEY (id) )TYPE=MyISAM
Table 'mantis_bug_file_table' already exists
it gives me the same error when i want to upgrade:
BAD
CREATE TABLE mantis_bug_file_table ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, bug_id INTEGER UNSIGNED NOT NULL DEFAULT 0, title VARCHAR(250) NOT NULL DEFAULT '', description VARCHAR(250) NOT NULL DEFAULT '', diskfile VARCHAR(250) NOT NULL DEFAULT '', filename VARCHAR(250) NOT NULL DEFAULT '', folder VARCHAR(250) NOT NULL DEFAULT '', filesize INTEGER NOT NULL DEFAULT 0, file_type VARCHAR(250) NOT NULL DEFAULT '', date_added DATETIME NOT NULL DEFAULT '1970-01-01 00:00:01', content LONGBLOB NOT NULL, PRIMARY KEY (id) )TYPE=MyISAM
Table 'mantis_bug_file_table' already exists
Had the same Problem.
I used the "old upgrade page":
http://YOURSever/mantis-1.0.0/admin/
Thats only possible if you don't run into the trouble of the posting above.
When you ran into that trouble, the fix for me was to drop the table 'mantis_config_table'. And start the upgrade again.
I used the "old upgrade page":
http://YOURSever/mantis-1.0.0/admin/
Thats only possible if you don't run into the trouble of the posting above.
When you ran into that trouble, the fix for me was to drop the table 'mantis_config_table'. And start the upgrade again.
-
- Posts: 5
- Joined: 22 Mar 2006, 21:27
- Location: Wakefield, Ma
- Contact: