Questions tagged [updating]

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

183 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
2k views

What is the best practice for handling abandoned packages required by the drupal core?

When I run composer update on a Drupal 9 website, I get this warning: Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead. A similar question has ...
Free Radical's user avatar
  • 15.1k
3 votes
1 answer
215 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 ...
keb805's user avatar
  • 99
3 votes
0 answers
2k 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 ...
Liz's user avatar
  • 63
3 votes
0 answers
93 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 ...
Patrick Kenny's user avatar
2 votes
0 answers
119 views

How can I update an entity with a .yml file?

I see that EntityDefinitionUpdateManager::applyUpdates() has been removed. Every time I add a new field to a .yml file or I add a new node.type.yml to the configuration directory in a module I am ...
ersincebi's user avatar
2 votes
0 answers
256 views

Updating modules creates An AJAX HTTP request terminated abnormally error

Drupal 7.77. I have three modules that need to be updated. Trying to update any one of them results in this error: An AJAX HTTP request terminated abnormally. Debugging information follows. Path: ...
Techie Tom's user avatar
2 votes
1 answer
112 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 ...
awm's user avatar
  • 2,429
2 votes
0 answers
269 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\...
Spudley's user avatar
  • 351
2 votes
2 answers
97 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 ...
Tony Stecca's user avatar
2 votes
1 answer
892 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 (...
Sensimple's user avatar
  • 106
2 votes
0 answers
70 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 ...
nthChild's user avatar
  • 133
2 votes
0 answers
103 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 ...
Emanuele's user avatar
  • 189
2 votes
1 answer
153 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 ...
Preetam's user avatar
  • 31
2 votes
0 answers
115 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 ...
Noname's user avatar
  • 51
2 votes
3 answers
275 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 ...
Captain Pants's user avatar
2 votes
2 answers
132 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 ...
grossmann-mcs's user avatar
2 votes
0 answers
147 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 ...
Dudepal's user avatar
  • 274
2 votes
0 answers
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 ...
Katie's user avatar
  • 51
2 votes
2 answers
109 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 ...
Malfist's user avatar
  • 205
2 votes
0 answers
56 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 ...
Moshe Eshel's user avatar
1 vote
0 answers
102 views

RewriteBase and Administer software updates permission not working

User 1 is unable to run /update.php, with the error: In order to run update.php you need to either have "Administer software updates" permission or have set $settings['update_free_access'] ...
ice70's user avatar
  • 121
1 vote
0 answers
188 views

Update.php gets "The page isn’t redirecting properly" error page

I recently moved our site to a new hosting company. After uploading all the files and importing the database I get this notice when I try to Run Updates and/or accessing the update.php page. The ...
Todd Wellman's user avatar
1 vote
0 answers
1k views

Issues updating core to 9.1.2 with Composer

On my local site, I had updates for 2 modules and Drupal core. To update, I typed in composer update, which had worked for me previously just fine. Composer indicated everything updated, although on ...
Fawn's user avatar
  • 11
1 vote
2 answers
215 views

update drupal core from a version to a new version with composer

i want to update the core from 8.7.6 to 8.9.2 and when I try this command "composer require drupal/core:^8.9.2 --update-with-dependencies" i have got an error like below , can anyone help me ...
alex espandora's user avatar
1 vote
0 answers
95 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 = @...
Pan Chrono's user avatar
  • 1,943
1 vote
1 answer
97 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 ...
user90652's user avatar
1 vote
1 answer
280 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 ...
user avatar
1 vote
1 answer
195 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 ...
Rusletov's user avatar
  • 249
1 vote
0 answers
89 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 ...
Patel. D's user avatar
1 vote
0 answers
192 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 ...
Jake's user avatar
  • 111
1 vote
2 answers
179 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 ...
Suba's user avatar
  • 11
1 vote
0 answers
67 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 ...
Martin's user avatar
  • 131
1 vote
0 answers
332 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 ...
saramm1's user avatar
  • 727
1 vote
0 answers
326 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\...
injetkilo's user avatar
  • 325
1 vote
0 answers
35 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 ...
Sam's user avatar
  • 367
1 vote
1 answer
160 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....
Luca Colombo's user avatar
1 vote
0 answers
819 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 ...
icicleking's user avatar
1 vote
0 answers
53 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 ...
tecmoc's user avatar
  • 81
1 vote
0 answers
37 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. ...
Jamie's user avatar
  • 65
1 vote
0 answers
33 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( '...
118218's user avatar
  • 682
1 vote
0 answers
102 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'...
Elijah Lynn's user avatar
1 vote
0 answers
34 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: ...
Technewsguy's user avatar
1 vote
0 answers
62 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. ...
Rick's user avatar
  • 2,954
1 vote
0 answers
101 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 ...
Theo Cornelis's user avatar
1 vote
0 answers
56 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?
gladiatorhl2's user avatar
1 vote
0 answers
62 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 ...
Tran's user avatar
  • 51
1 vote
1 answer
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 ...
Alvaro Arjona's user avatar
1 vote
0 answers
580 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 ...
cprids's user avatar
  • 11
1 vote
0 answers
296 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/...
RCampello's user avatar
1 vote
0 answers
36 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 ...
studioland77's user avatar