Questions tagged [updating]

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

Filter by
Sorted by
Tagged with
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 --...
0
votes
2answers
489 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\...
1
vote
0answers
22 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 = @...
6
votes
3answers
543 views

Can the 'update' module be made less aggressive?

Running an update check on all the installed modules on my site takes quite some time, and sometimes even exceeds PHP's runtime limits. Leaving the module enabled makes using the web based ...
2
votes
1answer
40 views

Site broken after upgrading with Pathauto < 8.x-1.6

I recently upgraded to Drupal 8.8. Unfortunately I missed the memo on needing to upgrade Pathauto first and now my site is broken. Most pages give the message "The website encountered an unexpected ...
0
votes
1answer
32 views

Impossible to update some modules via Composer

I've updated a D8 website from 8.7 to 8.8.1 with SSH and composer. For some modules (in SSH 3rd column is marked in yellow) it is not possible to update them. I understand that when they are marked in ...
0
votes
1answer
30 views

I cannot update because of Ubercart and Google Analytics module error

I tried updating my Google Analytics module today, but when I went to the update.php page I got this error: Unresolved dependency. Google Analytics (Version !=7.x-2.4 required) Google Analytics for ...
0
votes
2answers
472 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: ...
0
votes
1answer
202 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
1answer
32 views

Error guzzlehttp/guzzle ^6.3 -> no matching package found when update from 8.7.9 to 8.8.1

When i tried to update my project using composer from 8.7.9 to 8.8.1 i get the following error: Command: composer update drupal/core --with-dependencies [Composer\DependencyResolver\...
3
votes
2answers
509 views

How do I get the last available hook_update_N() for a module?

I'm having trouble getting a custom module to install and update successfully. I'd like to examine the database for the modules update_N numbers. Is that possible? If it is, where do I look for it?
3
votes
2answers
1k views

Running “composer update” leads to errors with coder

... > Drupal\Core\Composer\Composer::vendorTestCodeCleanup - Updating drupal/coder (8.2.12 => 8.3.1) The package has modified files: D coder_sniffer/Drupal/Test/Array/ArrayUnitTest.inc ...
3
votes
2answers
1k views

Which table stores info about hook_update_N?

I want to re run same hook_update again. For example hook_update_8005. I am not sure where Drupal put info to track.
0
votes
1answer
31 views

Drush does not run command, but prints the php script

We have a special server that runs php5.x and relies on drush 5.x. PHP 7.0 is installed, but the sites on the server all run PHP5, because PHP7 breaks them. We have previously had drush 5 on it, but ...
1
vote
3answers
39 views

I extended some functionality in the slick module, but I am looking to do it in a way that doesn't get erased each time I update slick

I extended some functionality in the slick module, but I am looking to do it in a way that doesn't get erased each time I update slick. I added a css file and edited the slick skin php file to use ...
0
votes
1answer
121 views

Error while updating

Updated Drupal from 8.7.8 to 8.8.0 with: composer update --with-dependencies That part went well, but when I run: drush updb I get following error: In ProcessBase.php line 188: Unable to ...
6
votes
3answers
2k 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?
1
vote
1answer
338 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 ...
0
votes
3answers
2k views

Update fails with undefined function system_rebuild_module_data in update.inc but the function is defined in system.module

When I run drush updb on my Drupal 8.3.1 site, I get: PHP Fatal error: Call to undefined function system_rebuild_module_data() in /var/www/mysite/web/core/includes/update.inc on line 46 ...
2
votes
1answer
3k 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 ...
1
vote
1answer
246 views

Drupal\Component\Plugin\Exception\PluginNotFoundException: The “<whatever>” plugin does not exist

After updading a Drupal site from 8.6.16 to 8.7.1 (PostgreSQL 9.6.13 , Nginx) I get this error in almost every operation (creating a view , installing a module, creating a content type, creating a ...
0
votes
1answer
376 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....
3
votes
1answer
2k views

How to repair “Mismatched entity and/or field definition” when “drush entity-updates” fails?

I'm developing a site in Drupal 8 in Acquia Dev Desktop 2 on Windows 10. After updating to 8.5.0-beta1 I noticed this error on my status page (although it may have been there earlier in 8.4.4): ...
1
vote
2answers
2k views

The directory tmp does not exist and could not be created

I keep getting this error since updating to Drupal 7.5.8 and cannot get rid of it regardless of trying all I know. Even adding it / copying-pasting the previous tmp dir or changing the tmp file name (...
0
votes
2answers
50 views

Updating core modules independently of core?

We have a vendor that is asking us to assist them in updating a core module independently of core. Is there such a thing? For example, could you update Views without updating core? My understanding ...
0
votes
1answer
417 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
1answer
120 views

Steps to update vendor files after pulling changed composer.lock file

Let's say I work in a group and somebody else did composer update and pushed changed composer.lock file. I pulled it and now I have to do update too, to match the files from changed lock file. In ...
0
votes
2answers
106 views

Updating Drupal project using Composer fails

I have site (which is originally installed also with composer) with drupal core version 8.7.2. I'm trying to update it to latest 8.7.8. When I do: composer outdated "drupal/*" I get the list of all ...
0
votes
1answer
514 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 ...
7
votes
5answers
4k views

Why is hook_update_N not running?

I am porting a module to Drupal 7. The module has hook_update_N() functions called from hook_install(). There are some insert queries made inside one of the hook_update_N() functions. But my ...
2
votes
1answer
757 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 (...
0
votes
0answers
51 views

How do I fix this version error?

I have a Drupal 8 site that has been installed with Composer. Last week, I updated Search API 1.14 and Search API Solr 3.7. The module are in the good version, but when I run drush updatedb, the ...
0
votes
1answer
37 views

Should the Update Manager module be uninstalled when installing with Composer?

Drupal 8 is installed with Composer and I use it to update. So I uninstalled the Update Manager module provided by the core. Now when I go to /admin/reports/status, I have the following warning. ...
0
votes
1answer
603 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 ...
0
votes
0answers
54 views

Drupal Commerce Post Update Error using Drush updb

Just update drupal and am trying to run drush updb but getting commerce post update errors. Module Update ID Type Description commerce_order 10 post-update ...
1
vote
0answers
109 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 ...
0
votes
1answer
27 views

Strange views issue on upgrade

I'm upgrading a site from 8.4.8 to 8.7.7 via Composer. After a few rounds, things seem pretty good, but I'm stuck on a tricky bit: on drush updatedb the process throws an error on Views post-update. ...
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
1answer
39 views

How to update custom paragaph which is added to User Profile?

I have a requirement to create/update a paragraph which is added as a custom field in USER profile. After surfing here, i got how to update a paragraph which is connected to node. But I am not able ...
0
votes
1answer
35 views

How can I rebuild my installation after attempting to manually update D8 core using D7 instructions?

After following the manual update instructions linked from the download page for Drupal 8.3.4, I got a "The website encountered an unexpected error. Please try again later." This is when I noticed ...
0
votes
0answers
66 views

Manual Update from Drupal 8.7.6 to 8.7.7 Acts Like New Install

I have been manually updating Drupal 8 core successfully until now. When I try to update from 8.7.6 to 8.7.7 it goes to a new install. Here is what I did Back up database, and back up entire site ...
0
votes
0answers
46 views

Contact message entitytype missing “id” parameter after 8.7.6 update

I am updating site from 8.7.1 to 8.7.6, and I'm getting strange error: Error: Call to a member function getType() on null in Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema->...
0
votes
2answers
217 views

Fatal error: Class 'DrupalDefaultEntityController' not found in comment.module

I'm trying to update the Drupal Core of a website, specifically from 7.65 to 7.67. I've followed the instructions from here. After the process, I've try to access the website without luck, because I'm ...
0
votes
0answers
23 views

Error 500 after disabling update manager by mistake

I have disabled by mistake the update manager module while I was trying to enable the install module button (that has disappeared). After this wrong operation, the website returns me a 500 error and I ...
1
vote
3answers
1k views

“drush up” fails with “pm-updatestatus failed.”

When I execute drush up, it returns the following error message. The command could not be executed successfully (returned: The filename, directory name, or volume label syntax is incorrect, code:...
0
votes
0answers
16 views

Getting error of “entity_share_client.commands”

While trying to update Drupal core I was facing issue with error - drupal/entity_share 1.x-dev requires drupal/jsonapi >=1.0.0 <2.0.0 But updating version of drupal/entity_share to latest ...
2
votes
3answers
380 views

How to get the installed version of a module?

We have a "MyModule" module, which has a mymodule.install. Inside the file, there is mymodule_update_8001, 8002 ... etc. How can I tell programmatically that on which version the module has at the ...
1
vote
2answers
168 views

Composer update - Your requirements could not be resolved to an installable set of packages

when I run a composer update --with-dependencies, I get the following error message: Problem 1 - don't install drupal/core 8.6.0|remove drupal/drupal dev-master - don't install drupal/core 8....
2
votes
2answers
4k views

composer update drupal/drupal does not work : Nothing to install or update

I’ve installed several Drupal 8 site with composer as it is strongly recommended. I can update modules like this : composer require drupal/pathauto:1.1 But I can't update core with composer ...
4
votes
2answers
577 views

Custom redirects and Drush/updates

I usually update Core with Drush, because it's so easy and wonderful, but I have a custom htaccess and it always overwrites it, forcing me to rely on a checklist where I have to go and put my custom ...