Last modified: 2010-05-15 15:56:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T7462, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5462 - Upgrade 1.5.5->1.6.0, maintenance/update.php exited with warning
Upgrade 1.5.5->1.6.0, maintenance/update.php exited with warning
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.6.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://image.diku.dk/mediawiki/index....
:
: 5470 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-05 12:45 UTC by Jon Sporring
Modified: 2010-05-15 15:56 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jon Sporring 2006-04-05 12:45:29 UTC
Hi Mediwikers.

Thanks for a nice tool, we use it with great pleasure.

I just upgraded from 1.5.5 to 1.6.0 by copying new files onto the old.  However
running maintenance/update.php caused a warning:

...
Warning: fopen(maintenance/archives/patch-watchlist-null.sql): failed to open
stream: No such file or directory in
/var/www/localhost/htdocs/mediawiki/includes/Database.php on line 1671
Could not open "".

The site is up and running again,
http://image.diku.dk/mediawiki/index.php/Special:Version  However I assume that
the above warning is serious.

Any help is much appreciated.

Jon

-------------

I enclose the full output from update.php:

image maintenance # php update.php
Going to run database updates for wikidb
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds...0
...hitcounter table already exists.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
...logging table already exists.
...validate table already exists.
...user_newtalk table already exists.
...transcache table already exists.
...trackbacks table already exists.
Creating externallinks table...ok
Creating job table...ok
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...have rc_type field in recentchanges table.
...have rc_ip field in recentchanges table.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...have user_real_name field in user table.
...have user_token field in user table.
...have user_email_token field in user table.
Adding user_registration field to table user...ok
...have log_params field in logging table.
...have ar_rev_id field in archive table.
...have ar_text_id field in archive table.
...have page_len field in page table.
...have rev_deleted field in revision table.
...have img_width field in image table.
...have img_metadata field in image table.
...have img_media_type field in image table.
...have val_ip field in validate table.
...have ss_total_pages field in site_stats table.
...have iw_trans field in interwiki table.
Adding ipb_range_start field to table ipblocks...ok
Adding ss_images field to table site_stats...ok
...already have interwiki table
...indexes seem up to 20031107 standards
Already have pagelinks; skipping old links table updates.
...image primary key already set.
The watchlist table is already set up for email notification.
...watchlist talk page rows already present
...user table does not contain old email authentication field.
Logging table has correct title encoding.
...page table already exists.
revision timestamp indexes already up to 2005-03-13
...rev_text_id already in place.
...page_namespace is already a full int (int(11)).
...ar_namespace is already a full int (int(11)).
...rc_namespace is already a full int (int(11)).
...wl_namespace is already a full int (int(11)).
...qc_namespace is already a full int (int(11)).
...log_namespace is already a full int (int(11)).
...already have pagelinks table.
Creating templatelinks table...
Populating...
Done. Please run maintenance/refreshLinks.php for a more thorough templatelinks
update.
No img_type field in image table; Good.
Already have unique user_name index.
...user_groups table already exists.
...user_groups is in current format.
Making wl_notificationtimestamp nullable...
Warning: fopen(maintenance/archives/patch-watchlist-null.sql): failed to open
stream: No such file or directory in
/var/www/localhost/htdocs/mediawiki/includes/Database.php on line 1671
Could not open "".
Comment 1 Rob Church 2006-04-05 15:18:48 UTC
(In reply to comment #0)
> Warning: fopen(maintenance/archives/patch-watchlist-null.sql): failed to open
> stream: No such file or directory in
> /var/www/localhost/htdocs/mediawiki/includes/Database.php on line 1671

Well, did the referenced file exist? Were you running the maintenance script
from within the maintenance directory, or outside of it?
Comment 2 Rob Church 2006-04-05 18:12:45 UTC
I retract the earlier comment, having fixed the bug which causes this in SVN
HEAD, and backported to REL1_6. This isn't going to help those who downloaded
the tarball, but as a workaround, run the update script from the wiki root:

php maintenance/update.php
Comment 3 Rob Church 2006-04-05 22:21:17 UTC
*** Bug 5470 has been marked as a duplicate of this bug. ***
Comment 4 ekim 2006-04-05 22:39:53 UTC
#2 doesn't work for me; same error.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links