Problem upgrading 0.7.1

Upgrading an existing installation to the latest version

Problem upgrading 0.7.1

Postby miky on Thu Jun 04, 2009 11:56 pm

I'm having trouble while trying to upgrade Jaws 0.7.1, I have tryed to upgrade to 0.7.2, 0.8.0, 0.8.1.... until 0.8.9, the error message says:

MDB2 Error: not found : _doQuery: [Error message: Could not execute statement] [Last executed query: ALTER TABLE `mm_registry` ADD UNIQUE `mm_reg_key_name_idx` (`key_name`)] [Native code: 1072] [Native message: Key column 'key_name' doesn't exist in table]

Thanks for in advance for any clue that could help me upgrade.
miky
 
Posts: 3
Joined: Thu Jun 04, 2009 11:34 pm

Re: Problem upgrading 0.7.1

Postby Gusse500 on Sat Jun 06, 2009 8:51 am

It seems to be a DNS problem. Try to use 127.0.0.1 instead of localhost for the hostname.
Site for Norwegian Jaws users: http://www.gusse.no
Gusse500
 
Posts: 24
Joined: Fri May 08, 2009 12:46 pm
Location: Norway

Re: Problem upgrading 0.7.1

Postby miky on Sat Jun 06, 2009 4:23 pm

It isn't a DNS problem; it seems that I have different field names. Any ideas?

mysql> describe mm_registry;
+------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+--------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| name | varchar(128) | YES | | NULL | |
| value | text | YES | | NULL | |
| updatetime | datetime | YES | | NULL | |
+------------+--------------+------+-----+---------+----------------+
miky
 
Posts: 3
Joined: Thu Jun 04, 2009 11:34 pm

Re: Problem upgrading 0.7.1

Postby Gusse500 on Sun Jun 07, 2009 9:07 am

I'm not sure witch metod you used to upgrade. I installed Jaws 0.7.0beta1 on my testserver. I upgrade to Jaws 0.8.9 with the following metod without problem.

1. Made a folder named oldinstall and moved every file in 0.7.0beta1 to this folder. The only file I left was config/JawsConfig.php.
2. Uploaded Jaws 0.8.9 complete.
3. In browser pointed to my_domain/upgrade.
4. Followed instructions.
5. In ControlPanel upgraded every old gadget.
6. In ControlPanel installed every new gadget.
7. Deleted oldinstall
8. Finished

Everything worked fine exept Banner. I had to change registry value gadgets -> Banner -> enabled to false and gadgets -> Banner -> version to 0.8.9 and back in ControlPanel install Banner.

If you have tried the upgrade with another procedure I suggest you try this one.

ATTENTION! IF YOU HAVE PICTURES OR FILES UPLOADED GET THEM BACK FROM OLDINSTALL BEFORE YOU DELETE.
Site for Norwegian Jaws users: http://www.gusse.no
Gusse500
 
Posts: 24
Joined: Fri May 08, 2009 12:46 pm
Location: Norway

Re: Problem upgrading 0.7.1

Postby miky on Sun Jun 07, 2009 3:40 pm

I was calling mydomain/upgrade.php as the UPGRADING file said without success, now I have tried as you told me (mydomain/upgrade) and it worked.

Thank you very much.
miky
 
Posts: 3
Joined: Thu Jun 04, 2009 11:34 pm

Re: Problem upgrading 0.7.1

Postby Gusse500 on Sun Jun 07, 2009 6:33 pm

Happy that it worked!. :D
Site for Norwegian Jaws users: http://www.gusse.no
Gusse500
 
Posts: 24
Joined: Fri May 08, 2009 12:46 pm
Location: Norway


Return to Upgrading

Who is online

Users browsing this forum: No registered users and 1 guest

cron