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

Questions tagged [updating]

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

0
votes
0answers
29 views

Why drupal 7.63 update disabled my custom module?

I have a strange problem: I created custom module, named Media Track, that creates a field type. It worked fine since drupal 7.56 version. Now, I updated to drupal 7.63, all other modules I created ...
2
votes
1answer
168 views

Why am i getting this Drush error after updating a site? [closed]

I use Drush 8.1.17 to update my Drupal 7 sites, and as I have been updating my sites today after the latest security update I have noticed that after I update a site if I try to run any update related ...
1
vote
0answers
26 views

Distribution Commerce Kickstart 1.x - is possbile run Drupal Core 7.61 / PHP 7.2 ? And how

I have small and very simple Drupal 7 site based on Commerce Kickstart 1.x distribution (originally instalation profile, now "distribution"). The version of distribution is 7.x-1.53. It is last ...
0
votes
2answers
87 views

Error updating modules with composer

I'm trying to update a module with composer. This is the command (but it the same if I try to update another module): composer update --with-dependencies drupal/geofield_map This is the output of ...
-1
votes
0answers
23 views

Can't select the layout in manage display configuration

Since some days I can't select a layout for the content types. The layouts are template files
2
votes
1answer
38 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 ...
0
votes
0answers
24 views

What to do when Drupal can't check for updates? [duplicate]

I am trying to check for updates using the core update module but I keep getting this error: There was a problem getting update information. Try again later. I am checking from /admin/reports/...
-1
votes
0answers
10 views

Extend Updater class to specify install directory

I'm trying to port 'module_install' module from drupal 7 to 8, which installs a module in a specific directory. To specific the install directory, the module creates a class which extends from ...
4
votes
1answer
181 views

Custom blocks not rendering for anonymous users

I recently deployed an update to Drupal 8.6.3 from 8.6.2 on our Drupal-specific managed web host (Pantheon). Unfortunately, I noticed after the update that our site's footer was missing, but only ...
0
votes
1answer
25 views

Is it necessary to clear site caches after putting site into maintenance mode?

I enabled maintenance mode on a Drupal 7 site; however, when I checked the homepage as an anonymous user, I noticed that the original homepage was still being displayed rather than the maintenance ...
1
vote
1answer
27 views

How to update a node after loadByProperties? [closed]

I search for a node with field value client id and I need to update values. How do I do that in drupal 8? I search with the following code $profileNode = \Drupal::entityTypeManager() ->...
2
votes
1answer
96 views

Updating core from 8.5.4 to 8.6.3, can I skip the releases in between?

I have a website that is running on Drupal 8.5.4. I want to update it to Drupal 8.6.3 through the manual update option (link). Can I directly update it to 8.6.3 skipping the releases in between? ...
0
votes
1answer
51 views

Disable third-party modules before core update

I have a D8 (8.5.6) installation which I have been trying to upgrade to 8.6 since it came out. It is on a shared hosting account which does not allow drush, so FTP it is. During the database update, ...
1
vote
1answer
84 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\...
0
votes
1answer
108 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 ...
0
votes
1answer
40 views

Refresh default migrations

I done a migration of a website, but new content were created during I done that. So how can I refresh default migrations created by the drush command : drush @alias migrate-upgrade --legacy-db-url=...
0
votes
1answer
27 views

How to add a column to DB with weight by using hook_update_N?

I want to add a column to a database by using hook_update_N(), but it should be 3rd column instead of last column. How I can achieve that please help in this regard. I tried to add weight but not ...
-1
votes
2answers
46 views

I am trying to update my site to 8.6.3 and I receive the following message

When I try to update Drupal to 8.6.3 i receive the message CONFIGURATION DIRECTORY: SYNC The directory drupal-8/sites/default/config_acq does not exist. I don't know what to do. Please help me
2
votes
0answers
140 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 ...
2
votes
1answer
32 views

“Experimental modules found: Place blocks” but I am using core 8.6

I am using Drupal 8.6.2. When I open the status report I see the following warning: Experimental modules found: Place Blocks. Experimental modules are provided for testing purposes only. Use at ...
1
vote
1answer
112 views

How to update the database schema without losing existing data

I have a custom module with my_module.install file defining my two data tables in mysql. Module is already installed and I am able to save data from forms into them. Now my requirements changed and I ...
0
votes
1answer
32 views

Composer update

I had an existing Drupal 7 website already running. I downloaded a template composer.json file https://github.com/drupal-composer/drupal-project/blob/7.x/composer.json , to be able to run composer ...
0
votes
0answers
36 views

Site update takes a long time. How to check progress?

I am upgrading Drupal on a large multimedia site using drush pm-update. Creating a backup and then restoring the site from the backup takes a long time. The size of the backup is in several gigabytes. ...
0
votes
0answers
93 views

How can I tell Drupal to skip a failed DB update instruction?

when updating from 8.5.x to 8.6.1, an error happened when running one of the database update instructions. More precisely, the error occurs when Drupal is trying to run function taxonomy_update_8502()....
3
votes
1answer
127 views

Is it normal that Drupal enters maintenance mode during a module update?

I have created a custom module with an .install file, which includes some hook_update_N() and hook_update_N(&$sandbox) update hooks. These are used to update a collection of existing nodes. ...
0
votes
0answers
38 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 ...
0
votes
1answer
397 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: ...
1
vote
1answer
53 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 ...
-1
votes
2answers
285 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 ...
2
votes
1answer
199 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
28 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
155 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
123 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 ...
0
votes
1answer
37 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
23 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
28 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
49 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
96 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
37 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(...
2
votes
2answers
678 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
26 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
426 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
47 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
69 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
54 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
37 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
66 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
118 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
500 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 ...