Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
1answer
21 views

Updating core from 8.4.4 to 8.6.1

I want to update Drupal from 8.4.4 to 8.6.1. I've tried to follow the steps from this page, but without success. When I run this command: composer update drupal/core --with-dependencies I get: ...
0
votes
0answers
18 views

Getting 404 page after update

I'm running a multi-site configuration on Windows 10 with IIS 10, MySQL and PHP. I was having issues getting from D8.5.3 to D8.6.1. I've never had any issues updating the core before, so this is ...
0
votes
0answers
21 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 ...
0
votes
2answers
62 views

How to update core and all modules and themes from CLI?

On a LAMP environment I have a Drupal 8.5.6 website which is nearly all-core with the Bartik theme and a few stable contrib modules. Nothing is customized and I have daily backups so I don't "fear" of ...
0
votes
0answers
22 views

Drupal removes ` (accent grave) around column “ `update`” in \Drupal::database()->update('table')->fields (PhpMyAdmin)

I use the following code to update my PhpMyAdmin database in Drupal 7. $qry = \Drupal::database()->update('table') ->fields([ ... ...
2
votes
1answer
92 views

Core update installs 8.6.0-beta1 instead of 8.5.6

Using composer I tried to update Drupal 8 to 8.5.6. The update wasn't working, so I changed the dependencies to explicitly require 8.5.6. The update began, but it installed Drupal 8.6.0-beta1. The ...
0
votes
1answer
27 views

After Update to 8.5.6, “Add” Links Missing From Page but still are in router

I recently manually updated Drupal to the 8.5.6 version. I did this by moveing over the files (using command line) according to Drupal.org instructions and running update.php. I have two issues that ...
0
votes
1answer
64 views

How do I use an older jQuery version?

Drupal 8.5 requires jQuery 3, which has some site breaking features. I would rather like to use version 2.2.4. I have tried the libraries-override approach suggested in How do I use a jQuery version ...
1
vote
2answers
67 views

8.5.6 Update not being recognized

I converted a Drupal 7.xx site to Drupal 8.x manually. Updated it to 8.4.5 and tried to use composer to update it to 8.5.6 (Latest stable release). I have the original site as the public_html/drupal ...
-1
votes
1answer
31 views

How to update one content after saving existing content? [closed]

I'm trying to update one content type after saving existing content of another content type. How to achieve that?
0
votes
0answers
17 views

How to use drush locally with Acquia Dev Desktop2 and upgrade core

I just a new project in Drupal 8 and it's hosted on Acquias cloud using Dev Desktop 2 (DD later on). Now the project is working fine, but i can't use drush at all, as the settings.php is generated by ...
3
votes
1answer
21 views

What argument to pass hook_update_n()?

We have a custom module, mymodule, that we are using to create a custom block programmatically. We tried to do the following and it does enable the module successfully, but i get the following warning....
0
votes
0answers
24 views

Can't access the Status Report page

I've updated my LOCAL site with composer, updated the database but can't access the Status Report page (site encountered an unexpected error). I looked at the recent log messages and saw this error: ...
-1
votes
1answer
40 views

Updating manually with CPanel

I've updated my local site with composer. Now I'm trying to update the production one: Go to Cpanel. On my local computer, take the local web folder and delete in it all 1-level files that are non-...
3
votes
1answer
72 views

Composer package is updated, but core still asks to update

I am using Drupal 8.5.5. On admin/modules/update I red the following message. Bootstrap (Theme) Bootstrap (Theme) 8.x-3.11 update to 8.x-3.12 (Release notes) The composer.json contains the following ...
1
vote
1answer
26 views

The missing phpmailer module

I updated a site with "Composer update --with-dependencies" and encountered the following problem: User warning: The following module is missing from the file system: phpmailer in drupal_get_filename(...
1
vote
1answer
414 views

Site not working after the database update

I cloned a repo of a site to my local computer, imported the database and ran "Composer install --with-dependencies" after the installation had been done I entered the local site and it worked, then I ...
0
votes
0answers
22 views

How can I keep my custom modules updated using git?

I maintain a number of Drupal 7 sites, and I write custom modules that get installed on many of these sites. Currently I keep them all up-to-date by scp'ing the latest files to each site. But there ...
0
votes
1answer
244 views

How to update from Drupal core 8.5.0 to 8.5.5?

In the past (Drupal 7), security-only update via drush was simple as: drush up --security-only now, Drush 9.3 returns: Command "up" is ambiguous. Did you mean one of these? ... composer does ...
0
votes
0answers
33 views

Site doesn't see available updates

I checked for available module updates on my non-production site and the site returned: "All of your projects are up to date." But I know for sure that some of the modules are outdated, hence the site ...
1
vote
1answer
38 views

Drupal incorrectly reporting that permissions need to be set on settings.php

I've updated a site to v8.5.3. Checking the status report I have various messages. One says: Not protected Protection disabled - The file sites/default/settings.php is not protected from ...
-1
votes
1answer
45 views

How to always run hook_update_N automatically, regardless of the 'N' value?

I need to run a specific command after each update of a certain module. Is there any way to use hook_update_N without having to update the N for each version? A hook_update_always solution? The use ...
0
votes
0answers
19 views

Error: Call to a member function pre_render() on null en view->render()

After updating the core of Drupal 7.44 to 7.58 and some modules, including views-7.x-3.13 to views-7.x-3.20 Only the home page is loaded and no other, nor / user / login to be able to log in. These ...
0
votes
0answers
57 views

Drupal 8.5 Update - Module Search not working

I encountered a problem after updating a Drupal 8 website recently. When using the search base field, I have this exception : Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException : The "...
0
votes
1answer
37 views

install.php displayed instead of update.php

This looks similar to Drupal 7 keeps returning to install.php and reports no settings.php but it's all there but I only just registered so can't comment. This is a single site (still drupal 7....
2
votes
2answers
63 views

Composer does not install Calendar Module

Hi I am having trouble migrating my local site to development (two seperate servers). I believe the reason being is because I can not install an unstable Calendar Module, which I have on my local but ...
2
votes
1answer
245 views

Installing an alpha dev version with composer

Block class module has a 8.x-1.x-dev version. Installing using the recommended command from the specific release page composer require 'drupal/block_class:1.x-dev' installs a versionless ...
-1
votes
1answer
57 views

Best Practices for Acquia: Reconciling Production Database back to Dev before update; what is the workflow?

In about a week, I have to update several production sites hosted in AcquiaCloud environments to 8.5.3. All of these sites receive frequent real-time DB writes from user-submitted content. I can ...
0
votes
0answers
21 views

How to update (bulk-update) field value of multiple content (node), with values stored in excel?

Working on Drupal7. Currently I'm Having multiple content/node (100+ content) of 'Circulars' content-type, in that content type I'm having a date field, now I want to update that field's value, the ...
1
vote
2answers
127 views

status report asks me to run update.php but getting 'no pending updates'

I'm on core version 7.58. My status report says "Some modules have database schema updates to install. You should run the database update script immediately." But when I run update.php (or drush ...
0
votes
0answers
55 views

Error after updating to latest core version [duplicate]

After Drupalcon last week I felt comfortable using composer, and I was ready to update our site from 8.4.6 to 8.5.1. I have done just that (luckily in a dev environment) and now the front page of the ...
0
votes
0answers
14 views

Updating a list of nodes from a unique field

I have built a function in a module so that when cron runs it will create nodes from an api . There is a field in those nodes called field_player_id that holds a unique value. Then in a separate ...
1
vote
0answers
41 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
1answer
144 views

Why doesn't core get updated to 8.5?

I am trying to update via Composer following what reported in Update core via Composer, but when I do composer update drupal/core --with-dependencies, I get the following output. Loading composer ...
0
votes
0answers
62 views

Updated to 8.5.1, but front end says 8.5.0 is installed

I did the update from 8.4.5 to 8.5.x with Composer. I had some issues, but finally got it to work. Now, if I do drush status It says Drupal version : 8.5.1 If I look at the version listed in ...
0
votes
1answer
346 views

drush updb fails with “the 'media_delete_action' plugin does not exist” after 8.4.6 > 8.5.1 update

We have recently updated a Drupal 8.4.6 installation via composer to Drupal 8.5.1. After the composer update I ran drush updb as usual. However, the command fails at one point with the following ...
0
votes
0answers
86 views

Drush silently fails to update core drupal 7 installation - why?

For some reason, drush is reporting successful upgrade of a core Drupal installation from version 7.56 to 7.58, however it is only partially doing the job! See below. Only updates a few files, should ...
1
vote
0answers
104 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 ...
0
votes
1answer
89 views

How do I fix this update error?

I get the following error after a database update. It looks like it completes the update by displaying Completed 8 of 8 but it doesn't run the updates. Any help is appreciated. Failed: Drupal\...
2
votes
1answer
293 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
1answer
689 views

How do I update core to 8.5?

After I realized that the thing I mostly enjoyed using Drupal for the last 10 years, Drush, is being axed, I started to set up all new Drupal sites with Composer. Unfortunately I can't update core as ...
1
vote
1answer
51 views

What is the best way to update Drupal periodically using a cron job? [closed]

Previously I periodically updated Drupal sites by using a cron-job with a "drush up -y" script running every Wednesday 15,16,17,18,19,20,21,22 hours UTC. which is when "Security releases happen" ...
0
votes
1answer
23 views

Custom Module Remote Fails Checksum with Drush

Background I have several proprietary Drupal modules that my company uses. We want to update these across all our sites. To that end, I've built an endpoint that produces code according to the (ill-...
0
votes
0answers
54 views

drupal 8.5 version user/login, user/register, user/password not are working (Page Not Found) [duplicate]

I update drupal version from 8.4 to 8.5. All content are available and all pages are working except user/login, user/register, user/password. It simply says 'Page Not Found'. I can't figure out what's ...
0
votes
1answer
305 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 (...
1
vote
3answers
1k views

How do I update from 8.4.5 to 8.5.0?

I am trying to update Drupal core using Composer, but I am not able of doing it. I have followed a few blog posts, but nothing worked for me. This is the output of composer update drupal/core --with-...
0
votes
1answer
29 views

aborted prematurely while running update #7204 [closed]

I get this message but nothing is logged (that I can see) The update process was aborted prematurely while running update #7204 in wysiwyg.module. All errors have been logged. You may need to check ...
0
votes
0answers
82 views

"The website encountered an unexpected error. (WSOD) Service 'twig_extensions.twig.array' for consumer 'twig'

I have an Acquia Cloud hosted site built on Drupal 8.4.3. Using Acquia Dev Desktop and Drush, I updated a local development environment to Drupal 8.4.5. Immediately after Drush updated the site, I ...
0
votes
1answer
40 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
1answer
126 views

Unable to run database updates via Drush - Call to undefined function batch_get()

Having some difficulty running database updates via drush after updating modules in the codebase. This is the error that is being reported: Error: Call to undefined function batch_get() in /root/....