Closed (fixed)
Project:
Drupal core
Version:
4.7.0-beta1
Component:
update system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2005 at 06:03 UTC
Updated:
12 Jan 2006 at 23:07 UTC
Jump to comment: Most recent file
Comments
Comment #1
killes@www.drop.org commentedWe need to know the errors you got.
Comment #2
wellsy commentedoops....sorry errors were not recorded
any idea how proceed now to utilize the existing database with the 4.7.0 beta install?
Comment #3
xand commentedYou can't.
What you should do now, is recreate the 4.6.3 database from a backup, and try to do the update again. If it fails again, record the errors this time.
Comment #4
wellsy commentedso if what you are saying is correct. Then for all those out there with a live 4.6.3 or 4.6.4 site there is no way to import data into a 4.7.0 beta1 to test its functionality and suitability for their needs let alone assist with tracking bugs.
That sucks bigtime. Surely something can be developed to change that?
Comment #5
xand commentedNono. there is a way to do it.
You just have to do what you did initially, and run update.php on the 4.6.3 database.
Comment #6
xand commentedI confirm that this issue is a serious problem.
I was unable to upgrade directly to 4.7.0 beta1 because of an update issue. (http://drupal.org/node/40687)
As an alternative, I was asked to upgrade my 4.5 database first to 4.6 then to 4.7.0 beta1. The upgrade to 4.6 went smoothly. I did not test the site extensively, but all expected functionality was present.
The update from 4.6 to 4.7 beta1 also seemed to run smoothly, but in actual effect it did not work. There were no recorded errors; the update ran from system_update_133, but even though there are multiple database structure additions reflected in updates.inc, there was no display of any database changes made in update.php.
Examination of the mysql table revealed that there were some changes made, however - the number of records increased by 113, and the size of the database increased by 0.1MB.
The end result is a site which displays no information at all: See screenshots, of the front page and admin page.
The behaviour of the site is not entirely consistent over Firefox and Opera. (see screenshots)
Comment #7
wellsy commentedIn reply to #5....so you advise I need to create a new database (no trivial matter for me its a 10mb+ database at present)...then I need to run update.php again?
Presumably I am only going to get the same error again? (Essentially the same database as before...maybe slightly larger now...definitely the same update.php)
That is really not an option for me at this stage....I would have liked to help with bug tracking and see what is new. But if all I can do is mess with the default database forget it.
It seems from the posts I have seen so far in the forums etc. that the update process is by no means solid and it would be my advice to anyone thinking of attempting it on anything but a test site....forget it!
Comment #8
killes@www.drop.org commentedWell, playback the backup you made (you did make one, right?), try again, and report back the errors.
Comment #9
wellsy commentedyep...the test site is based on a backup of my live site....as mentioned it is 10mb+ so dumping that to a new database is not a trivial job or without problems of its own.
So at this stage this goes in the too hard basket and I will keep an eye here for updates as to the improvements to update process are going. Or maybe wait until later beta versions come along.
Pity though I was looking forward to a look at this new version and helping with bug reporting.
Comment #10
bwynants commentedI see similar problems. 4.6.4 to 4.7 cvs or 4.7 beta is the same
update.php?op=selection gives page where System module 130 is selected for update
clicking 'update' gives nothing I just end up on update.php?op=selection again very quickly....
going to the website after that gives "Pagina niet gevonden"
On screen I see no error, the system log gives the following:
I try to upgrade goju-andy on my local system, duplicated the database into testbed...
I find the referal to Users/bwynants/Sites/goju-ryu/includes/bootstrap very weird since that site has nothing to do with the site being updated....
Comment #11
multiplex commentedSame problem updating from a 4.6.3 to 4.7.
The update runs smoothly (a bit too fast perhaps) starting at system_update_133, it finishes almost instantly, which is very odd knowing i have a 300+ MB database, no errors are displayed, it says any errors are logged, but because no page can be displayed those can't be displayed either. after checking it does seem the database has been slightly changed. But I get theme and watchdog errors and none of the pages are displayed.
So i did reverted to the old databse from a backup and did it a second time, this time changing settings to default, and using the bluemarine theme before the update, but still the same problems occur.
Eventually after 3 times of failure. I took a look at update.php, but didn't figure out where the problem could be.
I wrote my own script to do the updates, because I really want to go to 4.7 as soon as possible to prevent me from having to do all the changes I planned for my site again when 4.7 final is released.
I'm sure there's an error in the update.php, and my best guess would be that it's in the progress displaying section.
Still, I haven't been able to figure out what it is exactly.
Comment #12
enxox commentedI had the same problems and errors as multiplex. Can you post you update script please?
It seem that the update script changes something but not all....
Comment #13
wellsy commentedso was the script mentioned in#11 posted anywhere
Comment #14
anj commentedHave you tried running the update script with JavaScript switched off? There were at least some problems associated with this in beta1, but I think they've all been cleared up by now. See http://drupal.org/node/40677.
Cheers,
Andy J.
Comment #15
blr commentedI had similar problems upgrading to 4.6.3 to 4.7-beta.2 (I got a screen saying upgrade is complete, no errors were reported, but the db wasn't updateds and no queries at all seemed to be run). Don't know why, but I got it to work by first upgrading to 4.6.5 and then to 4.7-beta.2
Comment #16
drummLets open up new issues for 4.7.0-beta3 if they exist.