Questions tagged [updating]

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

Filter by
Sorted by
Tagged with
4
votes
2answers
740 views

Pitfalls when updating a site without entering maintenance mode?

Assuming there are no module updates that require doing a database update, if it's just an update to a newer minor release of Drupal core, as well as of contrib and custom modules, what potential ...
0
votes
1answer
19 views

Drupal update frozen with content-length mismatch [closed]

I just attempted to update Drupal core using the same recommended process as the previous update, including putting the site into maintenance mode. However, this time, when running composer outdated &...
0
votes
0answers
19 views

Updated to 8.9.1 getting 'content_moderation_state plugin does not exist' message

Updated a drupal project to 8.9.1, all seemed to go smoothly. After i run drush updb and I got the following message. Anyone know what's this about and how to resolve? All other update were run ...
0
votes
0answers
41 views

Entity Error While Running update.php from 8.6.14 to 8.9.1?

I have been trying to update the core from 8.6.14 to 8.9.1. I am facing the below error while running drush updb comments > [error] Field storage definition for 'revision_id' could not be > ...
0
votes
0answers
34 views

Migrating Drupal 7 to Drupal 8 - Source Plugin Error

I am trying to migrate a Drupal 7 site to Drupal 8, however, I keep getting this error; Resolve all issues below to continue the upgrade. The d6_library_transaction plugin must define the ...
0
votes
2answers
566 views

Drupal database not found after running update.php

after installing a module I run update.php and then click take me to front page or take me to admin pages the page takes a while to load and eventually gives me the following error: PDOException: ...
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 ...
0
votes
1answer
63 views

Error after copying the updated files

I want to update a site from Drupal 8.9 to 9.0. After copying all files and trying to execute update.php, I get the following error: The website encountered an unexpected error. Please try again ...
0
votes
1answer
479 views

How update programmatically node entity with empty field_image?

i need to make an import from one mysql table in my base. I create node with : $value= array( 'type' => strtolower($typeProduit), 'field_1'=>"test", ...
0
votes
0answers
53 views

Getting the 'The website encountered an unexpected error. Please try again later.' error during an update

I recently updated my Drupal 8 installation, and for some crazy reason my site now displays a white screen and this line of text when I go to it: The website encountered an unexpected error. Please ...
14
votes
1answer
13k views

How do I update core to only include security patches?

I have a old Drupal 7 installation and I would like to update my Drupal 7 to the latest release, but I know for a fact that some of my custom module will break on the latest update. All I want ...
16
votes
5answers
6k views

What is the correct 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 ...
5
votes
1answer
3k views

Is possible to update a project that has been installed from the archive file?

I'm very new to composer, I've only used it to install the occasional necessary library for our D8 projects. At each Drupal update I normally run drush up drupal Which (among other things) replaces ...
0
votes
1answer
552 views

Error while accessing admin section

I am facing the following error while trying to access Admin section in Drupal 8 (WAMP Server). I tried to install the Update manager module and from then I am facing this error. I am unable to access ...
0
votes
1answer
977 views

Deprecated configuration for the temporary files path

After updating to 8.8.1 I get this warning: You are using deprecated configuration for the temporary files path. Remove the configuration and add the following to settings.php. $settings["...
0
votes
0answers
40 views

Error after updating core from 8.6.2 to 8.7.14

After I have updated my Drupal core version from 8.6.2 to 8.7.14, I have got below error at the time of cache clear and db update. Below error occurs while running update.php An AJAX HTTP error has ...
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 (...
4
votes
3answers
2k views

How to install a specific version of Drupal using Composer

Composer always installs the latest version of Drupal core, I want 8.6 not 8.7. How can I achieve this?
0
votes
1answer
610 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 ...
4
votes
2answers
1k views

Error when viewing list of taxonomy terms

I'm getting an "unexpected error" when I try to view a list of taxonomy terms. I recently updated to 8.7, though I have a feeling the problem has been around since before the update. Here's the error ...
0
votes
1answer
1k views

Composer update : Package “drupal/module_name” listed for update is not installed. Ignoring

After hours of struggling to update Drupal with Composer (see my solution here), I have now some difficulties to update some modules. I was able to update with composer update drupal/bootstrap:3.11 --...
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 ...
0
votes
1answer
165 views

How to fix warning message related to Pantheon module?

When I am running update.php, I am getting warning message. I am sure this is showing because the module was deleted without uninstalling. I am unable to find the Pantheon module or the module for ...
0
votes
2answers
576 views

How can I fix this update issue?

I have updated a Drupal site from 8.5.3 to 8.6.3 and got the following error related to the webform module. Can anyone help me fix this? webform module Update #8108 Failed: Drupal\Core\Database\...
1
vote
1answer
61 views

Major module update with Composer

I have some modules in 8.8.5 that need an major update. What is the best practice without loosing data or settings? For example: drupal/admin_toolbar 1.27.0 2.2.0 Do I need to ...
33
votes
7answers
14k 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 only ...
0
votes
1answer
44 views

Is there a way to tell composer about manually updated modules?

I am working on a drupal 8 site and tend to update some modules: I run the composer outdated 'drupal/*' command and it shows me the list of modules need update. Running composer update drupal/...
1
vote
1answer
44 views

How do I update configuration/database after a core update?

This may seem like a dumb question to some of you, I'm sure. After having worked with Drupal from version 6, I'm now for the first time using Drupal 8 and -- after some initial difficulties -- have ...
0
votes
1answer
20 views

Database updates failing

I sort of inherited a Drupal 8 site which has lately generated a problem causing 500 error when e.g. trying to modify menus. I haven't myself updated the Drupal (just got it, it is currently on ...
0
votes
1answer
71 views

Updating from core 8.7.9 to 8.8.0

I'm running into an issue when updating to Drupal core 8.8.0. I've removed both the vendor folder and the composer.lock file, as per instructions on this link https://www.drupal.org/node/2700999#s-...
0
votes
1answer
67 views

Updating custom field with module upgrade gives a “Page not found”

I have been working for quite some time on a custom module. So far I have always been able to reinstall everything from scratch, but now I need an update to a custom field. Following the indications ...
7
votes
4answers
3k views

Cannot update: “No available releases found”

I cannot update some of the modules and the Drupal core itself from "Available Updates" menu. The error is "No available releases found". However, I can list the updates with drush ups. Why?
0
votes
1answer
30 views

Running updatedb fails with UnknownExtensionException error

I am attempting to update my site's database after updating three modules: Configuration Update Base, Search API, and Simple XML Sitemap. Running drush updatedb produces the following error: Drupal\...
1
vote
2answers
189 views

Upgraded to 8.8.3 and now all of my modules say “No available releases found”

I just recently updated to 8.8.3 and for some reason, all of my modules now say "No available releases found". Also the one module I had that did report "No available releases found" (Video Embed for ...
0
votes
1answer
16 views

Update failed on Metadata module, any easy fix?

I am very sorry to bring a rather nebulous question here but need any and all help I can get: for the first time, I've had a "White Screen of Death" issue when trying to update a module. I believe ...
2
votes
1answer
38 views

What is best coding practices for providing an upgrade path to a new module version?

I'm getting ready to build a new version of a module of mine. The new version can have an upgrade path from the current version to the new version that will be released, but as you know, new major ...
4
votes
1answer
77 views

Do I need hook_update_N if there are no database changes?

I wrote a little module that provides a form and does some special processing of the submission. There are no database tables involved. If I change the form or processing, how do I code the update? ...
3
votes
3answers
5k views

Updating core to a newer version

I can update Drupal 7 websites core with following instruction from "How to update Drupal core". Make a backup of your Drupal instance (database). (For ex: with MySQL) Download the latest release of ...
1
vote
1answer
341 views

Checking Available Update data - AJAX error

I'm having problems with a local site that I imported to Acquia Dev desktop from one of my live sites. Everytime I try to Check for Available Update data, I get an Ajax error Error Checking Update ...
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 ...
3
votes
1answer
1k views

Putting new configuration files in module hook_update_N upgrade?

If I release a new version of a module, and want to include new configuration in the new version (particularly new fields, and updates to views to rely on those fields) by either making Drupal update ...
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 ...
0
votes
1answer
392 views

How do I use Hook_update_N to update an FieldConfigStorage?

function some_config_update_8101(){ if ( !FieldConfig::load('image_byline') ){ $config_path = drupal_get_path('module', 'some_config') . '/config/install/field.field.node.main_image....
0
votes
0answers
44 views

Why is my site status continuing to indicate mismatched field definitions after updating?

When I visit /admin/reports/status, I am told that a few entities have fields that need to be updated or reinstalled. I created an update hook: /** * Remove the result field from the analysis ...
0
votes
0answers
18 views

commerce_kickstart-7.x-2.64-core.tar.gz does not contain any .info files

Unable to update to commerce kickstart 7.x-2.64 using drupal update. I get the following error message: "commerce_kickstart-7.x-2.64-core.tar.gz does not contain any .info files" I have updated ...
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\...
1
vote
1answer
31 views

Adding a base field definition in an update hook - it's not appearing

I want to add another base field to a Drupal entity. It used to be possible to just change the code for the entity definition and then update it via the Drupal console. But now it has to be done in an ...
0
votes
1answer
19 views

Update UI lists modules/themes that are already updated

I have a D7 (7.69) site. On both dev and production, I can update a module (using the web UI - /admin/modules/update), apparently successfully, yet afterwards, that module stays listed as requiring an ...
0
votes
1answer
149 views

Error when running database update: “DatabaseSchemaObjectExistsException: Cannot add field redirect.status: field already exists.”

I'm getting the following error when attempting to run a database update: Update #7101 Failed: DatabaseSchemaObjectExistsException: Cannot add field redirect.status: field already exists. in ...
1
vote
5answers
2k views

composer won't update 8.7.10 to 8.8.2 - “Nothing to install or update”

When I try to use composer to update Drupal, it fails to follow through, and gives me several abandoned items. Not sure where to go from here, but maybe someone can give pointers on what might be ...

1
2 3 4 5
14