Questions tagged [updating]

Use it for questions about updating Drupal core and contributed modules.

Filter by
Sorted by
Tagged with
0
votes
1answer
107 views

Database error when creating entities using hook_update_N

I'm trying to create an entity (using entity->save()) in a hook_update_N function. The errors appear at the mysql insert query in the entity's insert function; the insert strings are wrapped in ...
0
votes
1answer
284 views

Update webform without losing existing webforms

I'm using webform 7.x-3.20 version and I want to to upgrade it to 7.x-4.x, but I've 7 to 8 existing webforms whenever I update this I'm losing my previous webforms cause of changed table structure. If ...
1
vote
1answer
25 views

Core updates and module updates: Does order matter?

I inherited a badly out-of-date Drupal 6 multi-site instance. There is only the production instance. (yeah, that gives me a warm-fuzzy!) Many modules are several versions behind and the core is ...
2
votes
0answers
66 views

Update from 6.35 to 6.37 No errors but still showing as 6.35

I read the other questions on here and I've searched google for an answer but without luck. I don't have SSH access to the server so I'm stuck updating the site manually. I used the process explained ...
2
votes
0answers
97 views

Manual update modules

I'm trying to update the drupal commons contributed modules but i can't run the automatic updates via ftp because i'm working on aws ec2 server and i don't have the ftp access but only sftp+ssh (+ aws ...
1
vote
0answers
227 views

Fatal error: require_once(): Failed opening required

Recently I updated from Drupal 7.38 to 7.39. It broke access to the site; the error message that i get is the following: Fatal error: require_once(): Failed opening required '/home/admin/domains/...
1
vote
1answer
267 views

How to determine which is the latest hook_update_N() function invoked in a Drupal 7 environment

I have written my first deployment_module for a Drupal 7 site and installed it into a virtual host on my development server. I would like to check to see if my hook_update_N() functions have been ...
0
votes
1answer
90 views

Can a disabled module pose a security risk?

Is it possible for a module that is installed but not enabled to pose a security risk? Corollary question: Is it a recommended practice to update disabled modules when security updates become ...
2
votes
1answer
108 views

Mixed content issue while running updates.php in Drupal 6.37

We are facing this issue again for Drupal version 6.37. We do not have jquery update module installed. In our case the progress bar just hangs but the functionality is accomplished.The Drupal core ...
0
votes
0answers
178 views

node and taxonomy module Update #7006 and #7005 problem

I upgrade my Drupal6 to Drupal7. When everything was done. The error messages as below came out. The following updates returned messages node module Update #7006 Failed: ...
1
vote
2answers
424 views

How to prevent “drush up” from destroying my git repo

I just updated Drupal to 7.39 using Drush, in particular the command drush up and all related steps as explained here: https://www.drupal.org/node/2550801. During the update I have noticed this ...
0
votes
1answer
67 views

Under what circumstances should a site be placed into maintenance mode

I was recently ask to deploy a set of changes to a production server. The changes included Drupal core and contrib module updates, as well as, updated custom theme related code. In preparation for ...
1
vote
1answer
111 views

Update Drupal Core from 6.26 to 6.36 using update.php gave no errors, but Drupal still reports that it is on version 6.26

I've followed all of the steps on https://www.drupal.org/upgrade/running-update-php to upgrade my Drupal Core. I put the site into maintenance mode. I disabled all modules except the core required ...
2
votes
1answer
31 views

Are tests built into contrib modules a reliable way of testing the success of a module upgrade?

I have been updating some modules including Views and Feeds. Given these modules are quite complex, I thought a good method of testing whether the update was successful or not was to run the tests ...
0
votes
1answer
233 views

Can't update custom module

I need to add some tables to the database in a new module version. I created a hook_update function: function bundles_update_7000() { ... } But for some reason my module is missing in the ...
16
votes
5answers
6k views

What is the correct composer based core update workflow?

I want to use composer to manage Drupal 8 dependencies, but I'm not sure what is the right core update workflow. At the moment I'm using drush to update core to latest beta release, but I also have ...
8
votes
2answers
1k views

What is the correct way to update existing module's rules programmatically?

I want to provide an update for my custom module, which also has some rules provided via hook_default_rules_configuration. Now, how can I update those existing rules? Can I re-import them? Override ...
1
vote
2answers
61 views

How to monitor several sites for updates from one central site?

I have several Drupal sites and wish to have one site list all of their "status" and available updates. So to start with I am trying to find how to get the available updates. The central site has ...
2
votes
1answer
725 views

How to update a module's view programmatically using hook_update_n?

We're writing some update functions for a custom module. This custom module provides some views: /** * Implements hook_views_default_views(). */ function mymodule_views_default_views() { $...
1
vote
0answers
23 views

Is there a way to install a module through an existing module's update hook? [duplicate]

I am curious whether there is a way to install a module through an existing module's update hook?
1
vote
0answers
34 views

Can NOT Disable/Enable/Add/Edit any component of the site

My drupal site is acting strange. I can NOT add/disable/enable/edit any components of the site. I can't add new content types, content fields, disable/Enable modules. I just removed a module from ...
0
votes
1answer
119 views

drush update - php.ini problem

I am trying to update drupal using drush from Version 7.36 to 7.38 with >drush up drupal the process finishes in 2-3 seconds stating update has successfully finished and a backup has been created. As ...
32
votes
6answers
12k views

How do I update the configuration of a module?

I'm building a custom module in Drupal 8. It includes some YAML config files. As I develop I need to change and add to the config, e.g. to add another field onto my custom entity. At present the ...
1
vote
0answers
88 views

Updating drupal commons issue [duplicate]

Security Update for drupal All other updates are being done smoothly thorugh drush I have a multi site installation if drupal so i worried to remove the sites folder and update that the general way. ...
0
votes
1answer
129 views

Problem while updating modules

I'm running a Drupal website for a while but suddenly and for an unknown reason the website become unable to update modules via the back office. The download of the modules goes good but when I click ...
1
vote
1answer
66 views

RDF core module doesn't seem to work after security upgrade

I updated from Drupal 7.36 to 7.38 for security reasons. Now the nodes don't get displayed in RDF any more. For example: http://bartoc.org/en/node/112, add .rdf and you get the message "The requested ...
1
vote
2answers
72 views

Find out who updated Drupal modules

Someone updated modules in my Drupal install 5 days ago, and I would like to find out who. I looked in Reports > Recent log messages, but this is filled up with so many php warnings that it only goes ...
1
vote
1answer
225 views

After update to Drush 7 still version 6

Running on Debian I have updated Drush to version 7: composer global require drush/drush:7.* composer global update But the command 'drush --version' still tells me: Drush Version : 6.2.0 I have ...
0
votes
2answers
66 views

Is it safe to apply last update when a module has several updates available?

Have an old Drupal 6 site that has a lot of available updates for modules, core and theme. When a module has several updates available from the currently installed one to the latest, I understand it'...
-1
votes
1answer
40 views

update causing pagination to fail on comments in panel page template

I recently was alerted to an issue on a website I'm in charge of in which the correct comments were not being shown. I dug into the issue and noticed that it was actually an issue with pagination of ...
2
votes
1answer
150 views

How to fix the unresolved dependency in the Flag module about Flag Friend?

I am trying to update my modules and I am getting this error line: Fatal error: Class 'RulesEventHandlerEntityBundle' not found in /home1/kctd/public_html/community/sites/all/modules/rules/...
2
votes
0answers
100 views

Update query not working

In a Drupal 7 custom module, I am updating a record in the database using a form, and I am using the following code to update, but for some reason it is not updating. Who can help me out? When I ...
0
votes
0answers
417 views

Update failed - table doesn't exist

I'm running a D7 core update and all but one database updates pass. The one that doesn't pass gives me the following error message: Failed: DatabaseSchemaObjectDoesNotExistException: Cannot add field ...
1
vote
0answers
99 views

EntityMetadataWrapperException when updating Open Atrium

I've taken over management of a site using Open Atrium on the Pantheon hosting platform. The upstream repository was originally set incorrectly to Drupal 7 instead of Open Atrium. What this means is ...
1
vote
2answers
48 views

Views templates deleted when core updated

Yesterday, I posted a proposal for clarifying the procedure for updating core. But now I find that I messed up in doing my update and I'm not sure how to do it right the next time. I have a set of ...
3
votes
1answer
1k views

How to resolve error 'Unresolved dependency System …' encoutered when trying to upgrade Drupal core?

I'm trying to update Drupal core from 7.28 to 7.36. (not using Drush) When running update.php I get: Unresolved dependency System (Version >=7.33 required) Relation requires this module and ...
0
votes
1answer
149 views

Redeclare issue user_has_role following upgrade from Drupal 7.34 to Drupal 7.36

Precise error is "Fatal error: Cannot redeclare user_has_role() (previously declared in /usr/home/adpca/public_html/adpca.org.736/modules/user/user.module:863) in /usr/home/adpca/public_html/adpca.org....
0
votes
1answer
42 views

Module update manually multiple versions at once

Actually my website use module views 7.x-3.5 version. The last version is 7.x-3.11, so i need update. My question is if I can upgrade (replace folders and code) directly to version 7.x-3.11 and run ...
0
votes
1answer
604 views

Update script fails due to Service capacity

I am trying to update the core of my Drupal site. I neglected updates for some time and the update script had 19 updates pending. Apperently the update script tries to do all of this in one go, and ...
2
votes
1answer
82 views

Can't Update Contrib Modules via Admin UI

I'm having a problem with a new Drupal site I'm working on. I installed Drupal 7.36 and am able to install contributed modules via the admin UI and Drush. However, I cannot update any contributed ...
0
votes
2answers
921 views

Message “No pending update” after update.php (update module)

Today I updated the security update for the "views". I always follow the steps for updating a module or core: 1) put site in maintenance mode 2) FTP the files 3) go to link site/update.php But ...
1
vote
1answer
153 views

I get notification for TB Sirate Starter update despite that I use new fresh drupal installation

I get notification for TB Sirate Starter update despite that I use new fresh drupal installation, never setup TB Sirate Starter. This repeated many times and on many of my new drupal project. I only ...
1
vote
2answers
233 views

xmlrpc() error: (-1001) unable to parse URL during Drush command

I have an odd error coming from Drush when I perform module updates and other commands (it's most consistently comes from module updates). Near the end of the command execution this message pops up: ...
1
vote
0answers
538 views

Forbidden 403 when trying to update modules

I just updated drupal core to 7.36. Next I needed to update some of my modules. I get through the auto download process, but when I proceed to the update I get a 403 error when trying to access ...
2
votes
1answer
818 views

Delete old columns from table using hook update

I need to delete some old columns of existing table. How to do it using hook_update or Is there some other way to delete old columns in .install file . Thanks
6
votes
3answers
2k views

Get list of available updates

I need to be able to easily get a list of available updates for a site. I've come across the update_get_update_list() function, but that only returns an array of " information about database updates ...
2
votes
1answer
87 views

Creating menu items for views during installation of a custom install profile fails

I have created a custom installation profile in which I enable some default features and modules. In the profile I added an extra task at the end in witch I enable a custom deployment module. That ...
1
vote
0answers
108 views

Can not run “database update script”

I get an error at Reports menu as and then when I click on "database update script", I see I then click on "Apply Pending Updates", but i get the following error: How can I fix it? What should I ...
-1
votes
1answer
77 views

Upgrade Drupal Core from 7.9 to 7.35?

I've just moved my Drupal site from one host to another, as a complete backup and restore. I've got a few issues left (images not showing, search not working), but the main thing is, on my status ...
2
votes
1answer
130 views

Changing from a Profile to Standard profile after the installation

Its possible from moving from a custom profile or a Distro and move to a the Standards profile ? The reason, I'm asking this is because I build a website with the Recruiter distro. At first everybody ...

1 5 6 7 8 9 13