Closed (fixed)
Project:
OpenPublic
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2011 at 17:29 UTC
Updated:
19 Mar 2012 at 22:27 UTC
Jump to comment: Most recent
Comments
Comment #1
kd8fre commentedIssue resolved. Apparently when updating the entity module with the built-in updater, it causes this issue. Deleting the entity module folder and uploading a freshly downloaded one solves this issue.
Russ
Comment #2
rowbotony commentedI have encountered this issue also while using
drush up. This appears to be an issue with the Entity API. I have a fresh install of OpenPublic and the command line drush update crashes with the following output:If I then try
drush upagain I get the following errors:As kd8fre mentioned - if I first delete the directory
/var/www/htdocs-openpublic/profiles/openpublic/modules/contrib/entity, then downlaod the latest entity version, all is well with the drush up, all of the other modules update properly.--Tony
Comment #3
Russell Mann commentedYes, removing entity and redownloading/upping works for me too.
Comment #4
mmcintosh commentedI have just run into the same issue on a fresh install on Ubuntu 10.04. I followed the above directions removing the entity module and dowwnloading the newer version 7.x-1.0-beta9. After which I ran a drush up command: (see below) Has anyone else attempted not just updating the modules but core as well ???
Mark
I see that the modules updated correctly but an atttmpt to update core caused error and broke the installation:
Do you really want to continue? (y/n): y
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: require_once(): Failed opening required
'/var/www/openpublic/includes/errors.inc'
(include_path='.:/usr/share/php:/usr/share/pear') in
/data/www/openpublic/includes/bootstrap.inc, line 2094
Update information last refreshed: Tue, 07/05/2011 - 15:36
Update status information on all installed and enabled Drupal projects:
Name Installed Proposed Status
version version
AddThis 7.x-2.1-beta1 7.x-2.1-beta Up to date
1
Drupal 7.0 7.4 SECURITY UPDATE available
core
CAPTCHA 7.x-1.0-alpha 7.x-1.0-alph Update available
2 a3
Colorbo 7.x-1.0-beta2 7.x-1.0-beta Update available
x 4
Comment 7.x-1.0-alpha 7.x-1.0-alph Up to date
Notify 1 a1
Conditi 7.x-2.0 7.x-2.0 Up to date
onal
Stylesh
eets
Context 7.x-3.0-beta1 7.x-3.0-beta Up to date
1
Chaos 7.x-1.0-alpha 7.x-1.0-beta Update available
tool 2 1
suite
Date 7.x-1.0-alpha 7.x-2.0-alph Installed version not supported
2 a3
Default 7.x-1.0-alpha 7.x-1.0-alph Up to date
Content 1 a1
Diff 7.x-2.0-beta2 7.x-2.0-beta Up to date
2
Entity 7.x-1.0-beta9 7.x-1.0-beta Up to date
API 9
Entity 7.x-1.0-beta1 7.x-1.0 Update available
cache
Feature 7.x-1.0-beta1 7.x-1.0-beta Update available
s 3
Field 7.x-1.0-rc1 7.x-1.0 Update available
group
NOTE: A security update for the Drupal core is available.
Drupal core will be updated after all of the non-core modules are updated.
Code updates will be made to the following projects: CAPTCHA [captcha-7.x-1.0-alpha3], Colorbox [colorbox-7.x-1.0-beta4], Chaos tool suite [ctools-7.x-1.0-beta1], Date [date-7.x-2.0-alpha3], Entity cache [entitycache-7.x-1.0], Features [features-7.x-1.0-beta3], Field group [field_group-7.x-1.0]
Note: A backup of your project will be stored to backups directory if it is not managed by a supported version control system.
Note: If you have made any modifications to any file that belongs to one of these projects, you will have to migrate those modifications after updating.
Project captcha was updated successfully. Installed version is now 7.x-1.0-alpha3.
Backups were saved into the directory [ok]
/root/drush-backups/drupal_openpublic/20110705193635/modules/captcha.
Project colorbox was updated successfully. Installed version is now 7.x-1.0-beta4.
Backups were saved into the directory [ok]
/root/drush-backups/drupal_openpublic/20110705193635/modules/colorbox.
Project ctools was updated successfully. Installed version is now 7.x-1.0-beta1.
Backups were saved into the directory [ok]
/root/drush-backups/drupal_openpublic/20110705193635/modules/ctools.
Project date was updated successfully. Installed version is now 7.x-2.0-alpha3.
Backups were saved into the directory [ok]
/root/drush-backups/drupal_openpublic/20110705193635/modules/date.
Project entitycache was updated successfully. Installed version is now 7.x-1.0.
Backups were saved into the directory [ok]
/root/drush-backups/drupal_openpublic/20110705193635/modules/entitycache.
Project features was updated successfully. Installed version is now 7.x-1.0-beta3.
Backups were saved into the directory [ok]
/root/drush-backups/drupal_openpublic/20110705193635/modules/features.
Project field_group was updated successfully. Installed version is now 7.x-1.0.
Backups were saved into the directory [ok]
/root/drush-backups/drupal_openpublic/20110705193635/modules/field_group.
Code updates will be made to drupal core.
WARNING: Updating core will discard any modifications made to Drupal core files, most noteworthy among these are .htaccess and robots.txt. If you have made any modifications to these files, please back them up before updating so that you can re-create your modifications in the updated version of the file.
Note: Updating core can potentially break your site. It is NOT recommended to update production sites without prior testing.
Do you really want to continue? (y/n): y
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: require_once(): Failed opening required
'/var/www/openpublic/includes/errors.inc'
(include_path='.:/usr/share/php:/usr/share/pear') in
/data/www/openpublic/includes/bootstrap.inc, line 2094
Comment #5
mmcintosh commentedJust an update of this issue. I was able to do the updates via drush to some of the modules yet fron the gui after a cron run and a clear of cache it still showed updates needed. (cron only showed a core update) I ran those updates via the gui which brought all module except for phase2 custom modules up to date. Afterwards I attempted a drush up again to move core from the existing 7.0 version to the present 7.4 version. This failed with the same errror as before. I then did a manual upgrade from 7.0 to 7.4 and that worked with no errors. There is however one thing that left me to wonder if I would have problems later as a diff between old and new showed a Patches.txt file containing:
The following patches have been applied to this project:
- http://drupal.org/files/issues/object_conversion_menu_router_build-97253...
This file was automatically generated by Drush Make (http://drupal.org/project/drush_make).
I have not gone to look up this patch yet to see if I will have to reapply it or not.
Regards
Mark
Comment #6
Anonymous (not verified) commented@mmcintosh, do you have any updates since your last post? Are you still encountering the same issue with beta3?
Comment #7
DSheffler commentedComment #9
stewart.adam commentedI'm experiencing this error as well. I worked around the entity bootstrap problem by symlinking the entity module folder in sites/all/modules and then removing it after bootstrap finished (and updated the system table with the new module location I'm guessing).
Updating to the latest entity release before updating the other modules did not help, I am experiencing a white screen after performing security updates to a stock install from openpublic.beta1-build200.tar.gz.
Comment #10
stewart.adam commentedAfter performing the updates one by one, it looks like Views 7.x-3.3 is the culprit.
Comment #11
stewart.adam commentedI've just realized that I inadvertently downloaded beta1 instead of beta8 from openpublic.org... I saw "Mar 9" on the date and figured it was the most recent without checking the versions list, and I've just noticed that it was Mar. 9, 2011!
Reverting issue status. Sorry for the spam mail! I'm going to go get some sleep now ;)