Questions tagged [updating]

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

164 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
196 views

How do I update Drupal Distribution (Commerce Kickstart) on shared hosting environments?

We currently run a Drupal Commerce site from GoDaddy C-Panel shared hosting environment. I created the site with Commerce Kickstart and am now several distribution updates behind. If that's the ...
3
votes
0answers
1k views

How to update a library through drush or git url? what about update chosen library?

I am new with Drush and git... previously I use to work with Ftp so at the moment I would like to know How I can update a common library by using drush or by using git (library url). I know that in ...
3
votes
1answer
86 views

When using a dev version of a module, how can I easily get a notification of the next stable release?

From time to time I need to install a dev release of a frequently updated module (Views, etc.) Usually, this is because I need a patch that has been applied to the dev branch that has not yet made it ...
2
votes
1answer
33 views

How to ensure successful update after system failure during updb causing the site to remain in maintenance mode?

Running drush updb to upgrade drupal core or other modules, puts the site in maintenance mode. I recently faced an issue (probably an edge case) where the site was stuck in maintenance mode after ...
2
votes
0answers
81 views

Broken live site after upgrade although upgrading locally and stage was no problem

I have just upgraded a site from Drupal 8.7 to 8.8, and I now have a broken site. Pages on the site (mainly admin pages) are now giving the following error: Drupal\Component\Plugin\Exception\...
2
votes
2answers
71 views

How do I resolve an unnamed requirements problem during an update?

I am attempting to update my Drupal 8.2 instance to Drupal 8.6.4. I have faithfully followed the manual installations steps found here https://www.drupal.org/docs/8/update/update-core-manually. I ...
2
votes
1answer
4k views

Updating core to a specific version with Composer

My site hasn't been updated for two months, a few new updates has been released. My site's core version is 8.5.6. Before running composer update -with-dependencies I read the release notes to the ...
2
votes
1answer
781 views

Unable to Update to latest core

Update from 8.5.0 to 8.5.1 is failing on one of my drupal instance. >composer update drupal/core --with-dependencies Loading composer repositories with package information Updating dependencies (...
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 ...
2
votes
1answer
110 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 ...
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 ...
2
votes
3answers
229 views

Modifying an Existing Entity Column in hook_update_N

This is a tricky problem but here is the jist of it. I have an entity that has a property called revision_id. Through hook_update_N I want to do 2 things. Change the db column name to node_id Convert ...
2
votes
2answers
130 views

Using drush up with --gitinfofile

I tried to manage drupal modules with the --package_handler=git_drupalorg which needed me to add the --gitinfofile option. Using drush dl this works but if I try to update my modules with drush up the ...
2
votes
0answers
141 views

Checksum error while updating module

I ran pm-update with drush which is giving me this error File mediabox-7.x-1.x-dev.tar.gz_date=1393593819 is corrupt (wrong [error] md5 checksum). Updating project mediabox failed. Attempting to ...
2
votes
0answers
1k views

Add new field using hook_update Drupal 7

I'm new to Drupal and I'm looking for a way to add a new field to an already installed content-type in Drupal 7. Please note that some content is already present in the database. Also, I need to do ...
2
votes
2answers
105 views

How to keep multiple drupal websites up to date

I do a lot of web consulting and drupal is my preferred tool of choice. But as I grow, it seems like drupal gets more and more needy. At least once a week, if not more, my inbox gets messages that ...
2
votes
0answers
55 views

Drupal forums ready for action?

I have an active site running drupal 5 with phpbb2 for the forums. QUESTIONS Is Drupal 7 capable of supporting this forum functionality (or most of it)? What would be a recommended upgrade path to ...
1
vote
0answers
27 views

Update field properties defined by hook_schema()

I'm probably a bit confused by documentation. Got a custom field with some properties defines in hook_schema() : /** * Some field type. * * @FieldType( * id = "field_selector", * label = @...
1
vote
0answers
289 views

Drush cannot connect to the database when updating

I am trying to update Drupal from version 8.7.5 to 8.7.7. I installed Drupal using composer and had a really old version of Drush that I had installed from apt-get. I uninstalled the old version and ...
1
vote
1answer
56 views

How to handle config changes on core update?

I have an 8.6.15 site managed by composer and drush. The db and config exports are in sync. Roling our new features using drush cim on production works fine. I now update core to 8.7 by running ...
1
vote
1answer
119 views

Update migrations to import new content

I'm using migrate upgrade drush command to generate migrations from a live DB of website. So content is created during my migrations. How can I do an update of these migrations to import new content ...
1
vote
1answer
112 views

The pdf_thumbnail plugin does not exist

After I tried to update the database I got the following error: Failed: Drupal\Component\Plugin\Exception\PluginNotFoundException: [error] The "pdf_thumbnail" plugin does not exist. in ...
1
vote
0answers
58 views

How to fix getlabel() error?

So I had to update a size of a field and I used an update hook. However, in my update hook I deleted the field and the index and added the field again with the updated size. Now when I go to the ...
1
vote
0answers
174 views

Updated to 8.5.1 but front end still says 8.4.4 installed

I have been going through and updating my drupal sites after the announcement of CVE-2018-7600. All have gone smoothly except for one site that was running Drupal 8.4.4 I updated the site following ...
1
vote
2answers
87 views

Is it possible to individually update each module using update.php?

I am trying to update the reCAPTCHA module (which is installed on sites/all/modules) in Drupal 7. I could see other 3 modules which have pending updates. Is it possible to individually update each ...
1
vote
0answers
61 views

content_translation_update_8400 causes syntax error

I just tried updating a Drupal v8.3.7 site to v8.4.4 and when running drush updb I get this error SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check ...
1
vote
0answers
236 views

ApcClassLoader.php completely breaks site on module update

I am working on a site that has installs on 3 different environments: a local development copy on a Windows machine, a staging copy on a Linux machine, and a production copy on a Linux machine. All of ...
1
vote
0answers
297 views

Cannot run an update: entity_test module is missing

I've got this error after trying to update to the last Drupal 8 (8.3.2): Drupal\Component\Plugin\Exception\PluginNotFoundException: The "entity_test" entity type does not exist. dans Drupal\Core\...
1
vote
0answers
34 views

How do I merge composer manager composer.json with core 8.3 composer.json?

I was using Drupal 8.0.5 site with composer manager. Now I want to upgrade core to 8.3.2 which comes with composer. Composer Manager asked me to uninstall this module, as it is no longer supported ...
1
vote
2answers
365 views

Updates for custom module not showing in update.php list

I've created a custom module for my Drupal 7 website, under sites/all/modules/custom/tm_general which has the following updates in the tm_general.install (please see image attached). The site is ...
1
vote
1answer
154 views

Strange symptoms after Drupal 8 core update

I'm new to Drupal 8. After updating D8 Core to 8.3.2 when I try to access Block Configuration Page, I get this error: Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.block....
1
vote
0answers
548 views

How to update a field on a Custom Block Type?

I want to update a field on a Custom Block Type in an update hook. I've seen examples updating fields on nodes, but it appears this doesn't work on block fields, which is surprising. function ...
1
vote
0answers
51 views

error on update

I just updated from Drupal 8.1.x to 8.2.5 manually, I delete core and vendor folders first, and all the roots files from my instalaion, but When I try to acces the update.php I get this error, Fatal ...
1
vote
0answers
32 views

How to update node fields via twilio sms reply from node author?

I have been working on this for a while now, but I am still struggling to wrap my head around it. I am using Drupal 7.x with Views, Rules, Views Rules, Twilio and Services to try and achieve this. ...
1
vote
0answers
29 views

How can I perform node fields updates without processing all the node_save() stuff?

I am trying to update node fields directly with db_update(): foreach ($_POST as $key => $_POST_value) { $num_updated = db_update('field_data_krown_weight') ->fields(array( '...
1
vote
0answers
93 views

How to boostrap Drush from within an update hook?

I have a drush command I am using to convert field_collection to multifield. /** * Convert Field Collection to Multifield. */ function mvpd_update_7018() { module_load_include('inc', 'multifield'...
1
vote
0answers
30 views

My available updates has errors

I'm getting these errors on my available updates page: Notice: Undefined index: reason in theme_update_report() (line 86 of D:\Sites\technology2\modules\update\update.report.inc). Notice: ...
1
vote
0answers
58 views

Does running `drush rf` detect needed updates by look at the version of files on disk or by an entry in the database?

Does running drush rf detected needed updates by looking at the version of files on disk or by an entry in the database? We run in a load balancer, fail over situations on a some production server. ...
1
vote
0answers
93 views

Themes and module installation and update scripts give a server 500 error

In order to upgrade a drupal 6 website without shutting it down during the upgrade process, my provider prepared a new web space without a domain name. (The plan was to transfer the domain name as ...
1
vote
0answers
53 views

After updating existing content How to get a token node:comment for actions?

It was tried to change a term on a comment after updating existing content but there is no way to find the available token node:comment. Is there a possibility to have it?
1
vote
0answers
44 views

Cron stuck because update module

My cron is stuck because "Drupal core update status : No update data available", when disable update module, cron run good again. Just try manual update but it run more than 3 minutes then nothing ...
1
vote
1answer
36 views

Problem updating node module from drupal 6 to drupal 7

I am trying to update my drupal version from 6 to 7. I have a problem, I use the next link http://localhost/drupal6/update.php and when the process said "Updating node module" it never finish. I use ...
1
vote
0answers
395 views

How to fix Fatal error: Call to undefined function, after updating Drupal core?

I was updating my site to the new 7.41 release. I did the following as usual: Made a backup of files & database Put site in maintenance mode Deleted all files except the Sites folder Uploaded all ...
1
vote
0answers
236 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
0answers
35 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 ...
1
vote
0answers
102 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
0answers
563 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 ...
1
vote
0answers
114 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
vote
0answers
30 views

How do you handle maintaining core updates with clients?

When you develop a site using Drupal, do you include as part of it updates to core as they come out, or do you offer maintenance charges to keep it updated?