Questions tagged [updating]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
445 views

When is a module shown as 'Unsupported' in the list of available updates?

In the available updates, there are few modules with the note unsupported. What does that note actually mean?
madan kumar's user avatar
2 votes
1 answer
238 views

Database updates after pulling in code updates for modules

I've updated a bunch of modules in my local development environment and then committed the code changes using git. On my test site, I've pulled the code and ran drush updb but it's showing that ...
Christia's user avatar
  • 1,637
1 vote
2 answers
89 views

Running 'composer update' replaces module folders

I'm going through the nightmare of trying to update a site to 8.4.4 from 8.3.2. It seems like the best way forward is to delete vendors and composer.lock and let composer replace everything. However, ...
Mrweiner's user avatar
  • 1,921
0 votes
1 answer
205 views

Core Updates after install with composer create-project drupal/drupal

So I installed Drupal with composer create-project drupal/drupal <...> It works fine, but now I'm trying to update core from 8.4.1 to 8.4.4 What's the right way to do that? composer update ...
Stephan Steege's user avatar
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
0 votes
0 answers
3k views

Composer Update failed to execute git diff : error: bad index file sha1 signature

When trying to update drupal 8.4.0 to 8.4.4 I get an error with composer : composer update --with-dependencies Loading composer repositories with package information Updating dependencies (including ...
Aporie's user avatar
  • 355
0 votes
0 answers
25 views

How to create a view via hook_update?

I want to create a view via hook_update, looks strange but this is the requirement to bypass allocated memory exhaust error by importing a view. So if view is created by exporting from local instance ...
Suraj's user avatar
  • 884
0 votes
1 answer
119 views

Error after updating Webform from 8.x-5.0-beta15 to 8.x-5.0-rc1

A Drupal 8 site hosted on Pantheon gives this error message after updating Webform from 8.x-5.0-beta15 to 8.x-5.0-rc1: The website encountered an unexpected error. Please try again later. TypeError: ...
mechtast's user avatar
1 vote
1 answer
2k views

How do I manually update without using Drush nor Composer?

Is it possible to upgrade Drupal from 8.3.7 to 8.4 without Drush or Composer? Even though I have used composer I am not comfortable with using terminal/console command lines operations. So far used ...
Progonat's user avatar
  • 619
0 votes
1 answer
26 views

How to save each array values in next line?

I am having a requirement that, automating the contributed module configurations via hook_update. I have a text area, where i need to mention different URLs with one URL/line. For reference look into ...
Suraj's user avatar
  • 884
0 votes
2 answers
897 views

Entity updates fails after migration D8

So we have taken over a site and I migrated yamlforms to webforms with yamlform_to_webform module using drush. Now when I do a drush updb I get an error that says: The SQL storage cannot change the ...
Jorgeuos's user avatar
  • 101
1 vote
1 answer
472 views

Core update error

I'm trying to run a composer update from my webroot directory. When I use composer update drupal/core --with-dependencies, it returns: Package "drupal/core" listed for update is not installed. ...
Kellen's user avatar
  • 457
0 votes
1 answer
2k views

How do I update a module schema?

I have already created a module (test_auth), which I installed on a Drupal site. I added test_auth_schema() & test_auth_update_8101() to test_auth.install. When I run drupal cache:rebuild, it ...
Mike's user avatar
  • 741
-4 votes
1 answer
59 views

Will renaming the update.php file affect the Drupal update process?

Will renaming the update.php file affect the Drupal update process? What's the correct way of renaming this file/path? If we want to use /update as alias for a node, there seem to be SEO ...
Thimuth's user avatar
2 votes
2 answers
772 views

Problem updating from Drupal Core 8.3.7 to 8.4.0 with composer

I am having trouble updating from Drupal 8.3.7. When running composer why-not drupal/core 8.4.0 I get the following results: drupal/core 8.4.0 requires symfony/class-loader (~3.2.8) andeersg/bouvet-...
user79831's user avatar
0 votes
2 answers
1k views

Conflict between package requirements when updating to Drupal 8.4

When running composer update, I get the following error: Your requirements could not be resolved to an installable set of packages. Problem 1 - Can only install one of: symfony/yaml[3.2.x-dev, ...
Kellen's user avatar
  • 457
0 votes
1 answer
182 views

After updating I got these error messages

After updating my Drupal 8 test site from 8.3.7 to 8.4.0, I got these error messages: Mismatched entity and/or field definitions The following changes were detected in the entity type and field ...
user79682's user avatar
2 votes
2 answers
2k views

Rules fatal error during update: Call to undefined method stdClass::events()

What I have tried: Clear Cache. Disabled module and enabled it. Try with registry_rebuild, module_missing_message_fixer, variablecheck modules. Still getting the below error when I try to run update....
DRUPWAY's user avatar
  • 7,323
1 vote
1 answer
5k views

Composer shows "nothing to update" but there is a new version of the module

I am managing a Drupal 8 site in Composer. Commerce 2.0 was just released; I currently have 2.0-rc2 installed on my site. This is my composer.json "drupal/commerce": "^2.0@RC", &...
Patrick Kenny's user avatar
1 vote
1 answer
416 views

No Available release found

On the module update area, my install of 7.56, can seem to find matches to core and a few modules. How do I begin to fix this? What I've tried so far: Based on translating an answer in Cannot ...
Rick's user avatar
  • 2,954
0 votes
1 answer
1k views

Complicated module update error HTTP error 0 [duplicate]

I'm recently getting the error below: HTTP error 0 occurred when trying to fetch https://ftp.drupal.org/files/projects/captcha-7.x-1.5.tar.gz. Downloading updates failed: Failed to download ...
Koy's user avatar
  • 11
0 votes
1 answer
900 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", ...
Kevin's user avatar
  • 2,558
4 votes
1 answer
2k views

How can I upgrade ONLY Drupal core with composer?

I knew that Drush make files were being phased out, but I kept using them, because in my opinion Composer isn't the best package manager in the known universe. It updates too much or too little, has ...
RaisinBranCrunch's user avatar
1 vote
1 answer
644 views

Adding a new dependency to a module

As a module maintainer, I want to add a dependency to one of my existing modules, so that my entity can use a field type plugin declared by the dependency. What steps do I need to take to make sure ...
aaronbauman's user avatar
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
2 votes
4 answers
7k views

How do I update core to 8.4?

I checked the other questions related to this topic, but half of them didn't get any useful answer and the other half didn't help me out. I face with several issues building up a site using Drupal 8: ...
Zoltán Süle's user avatar
0 votes
1 answer
40 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 ...
Butterfingers's user avatar
-1 votes
1 answer
65 views

Finding out version, and updating to latest stable core version

I have inherited a site that uses Drupal, but I've not had any experience with it before. I'm trying to move it over to a server that has PHP 7 on, but I get all kinds of errors: warning: ...
Andrew Newby's user avatar
0 votes
1 answer
49 views

Did the updated module actually update?

Just performed an update to Drupal 7.56. In the process I updated all modules, including Google Analytics. The weird thing is that on my machine, where I performed the update, Google Analytics updated ...
Cy Jobes's user avatar
1 vote
1 answer
704 views

How long will the previous core version supported? [closed]

I want to start a new project at the beginning of 2018 but I don't know if it is better to start this project with Drupal 7 or Drupal 8. Actually, I am not familiar with Drupal 8 coding and template ...
Mehrdad201's user avatar
  • 1,302
14 votes
7 answers
5k views

How to rerun hook_post_update_NAME()

Drupal 8 introduced hook_post_update_NAME() which has some benefits over hook_update_n, for updating modules. Each hook_post_update_NAME() should only run once, but sometimes I want to rerun it, like ...
bryanbraun's user avatar
0 votes
2 answers
585 views

Core listed as outdated, but composer is not updating it

I'm facing a strange issue with drupal-composer. It has been installed via the usual command line: $ composer create-project drupal-composer/drupal-project:8.x-dev ./ --stability dev --no-interaction ...
zessx's user avatar
  • 244
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
0 votes
1 answer
61 views

Do I have to update to 8.3.0 first before I can update to latest stable release?

I pritty messed up my site by updating my 8.2.6 site as followed. Step 1: I edit my composer.json file. I replaced the replace to require "replace": { "drupal/core": "~8.3" to "require": { ...
Joehoe's user avatar
  • 336
0 votes
1 answer
15 views

Disable email updates alert on expired domain

As per question, my domain already expired for over months now and im not planning on using it anymore but i keep getting the modules updates email alert coming from the domain. How can i disable it ...
kadsyy's user avatar
  • 25
1 vote
1 answer
540 views

Getting configurePhpcs is not callable after update drupal to 8.3.2

I updated drupal with composer composer update Drupal is updated to 8.3.2 but when I install modules I get anytime this message Method Drupal\Core\Composer\Composer::configurePhpcs is not callable, ...
Joehoe's user avatar
  • 336
0 votes
0 answers
53 views

How do I get core to detect when a module adds a new service?

I created a module that we are using internally for at least two projects. I pull it in via Composer and it ends up in modules/contrib. The first install went great, but now I have added a few ...
Patrick's user avatar
  • 1,310
1 vote
2 answers
670 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 ...
Teknotica's user avatar
  • 399
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
0 votes
3 answers
3k 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 ...
therobyouknow's user avatar
0 votes
0 answers
36 views

Drupal fails to run update.php when new services have been introduced and depend in inactive module

In production environment I have an active module that in a new deployment has changes to the mymodule.services.yml file. This new services file points to services located in an inactive module. I ...
Gorka Lauzirika's user avatar
3 votes
2 answers
4k views

How to apply database updates once the module is installed and after a new entity has been created?

I have installed custom module. Then created entity: content type with drupal generate:entity:content Now, I'm trying to update the module, so that the entity is installed, but no clue. Since code ...
Adarsh Khatri's user avatar
1 vote
1 answer
349 views

Drupal 7: Is hook_update_N() called when a module is updated between minor versions?

Say I'm trying to update a module from version 7.03 to 7.04, and version 7.04 has a function called mymodule_update_7704() which updates the module's schema. If I go to the modules page and update ...
Joseph Hovik's user avatar
1 vote
1 answer
41 views

Really confusing composer error output relating to working composer.json/.lock files

Warning: this may come across a little ranty! Up until version 8.3.0, I thought I had solved all my drupal + composer related issues. With the following in composer.json: "require": { "drupal/...
RominRonin's user avatar
5 votes
2 answers
2k views

Updating core with Composer doesn't work

I am on D 8.3.0-rc2 and want to update to D 8.3.0 stable. Composer is my only option (requirement of address module). Composer core update doesn't bring me beyond 8.3-0-rc2, not even forcing it. ...
Peter Janes's user avatar
9 votes
4 answers
5k views

Updating core from 8.2 to 8.3 via composer

I am trying to update Drupal core to 8.3 but am running into difficulties. At the bottom of the page is the composer.json file I am starting with. If i change "drupal/core": "~8.2" => "drupal/core"...
Rob Holmes's user avatar
0 votes
1 answer
201 views

Module can't update after updating core

I updated my Drupal 8 website from 8.2 to 8.3. I have a module that has a block and includes a configuration form which has various data form fields. The block of the module appears to work fine. ...
Krypton's user avatar
  • 47
-2 votes
1 answer
298 views

Error after updating?

I am updating a development environment; after updating to Drupal 8.3.0, I can't access /user/login. These are the errors from my log. [Mon Apr 10 15:57:50.142266 2017] [:error] [pid 22325] [...
Brynn MW's user avatar
0 votes
1 answer
309 views

Is there an automatic way to convert old versioning conventions?

Background I'm applying updates (including security updates) to a Drupal 8 site. Problem When I run composer update, I'm getting the following error multiple times: The requested xxxxx package ...
therobyouknow's user avatar

1
3 4
5
6 7
15