I was testing the upgrade path, and managed to get it working once, and tried to install a second time, only to be met by the following message when visiting update.php for the first time after setting the DB credentials to an existing D6 DB:

Notice: Undefined property: stdClass::$uri in system_update_files_database() (line 2173 of /Users/mdp/git/drupal7/modules/system/system.module).
Notice: Undefined property: stdClass::$name in system_update_files_database() (line 2174 of /Users/mdp/git/drupal7/modules/system/system.module).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'filename' cannot be null: INSERT INTO {system} (filename, name, type, owner, info) VALUES 
[snip]

I could not get past this error, and it baffled me as I had just upgraded an identical copy of the same DB previously. Eventually I found that setting $update_free_access to FALSE, loading update.php and receiving a denied message, then setting $update_free_access back to TRUE solved the problem and I was able to upgrade successfully.

I have no idea what the issues is here, and while this may not be critical, it's definitely a major issue.

Comments

Crell’s picture

Subscribing...

pfrenssen’s picture

Component: update system » ajax system
Status: Active » Closed (cannot reproduce)

I have been looking through the issue queue for similar reports of this error during upgrades, but have not found anything. It was also mentioned in the original post that an identical database had upgraded successfully before, and as there have been no comments here from other people experiencing the same problem over a period of almost 3 years I'm thinking this might have been a one off problem.

I'm going to mark this with "cannot reproduce". If anyone would come across this problem, feel free to reopen.

pfrenssen’s picture

Component: ajax system » database update system