Stack Exchange Network

Stack Exchange network consists of 175 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.

-2
votes
0answers
27 views

Site doesn't load after update to 8.6.13, seems to be stuck redirecting [on hold]

So, I've just recently tried to update to 8.6.13 and it seems to have caused some problems on my development machine. I updated with composer running composer outdated "drupal/*" followed by composer ...
0
votes
0answers
32 views

Pitfalls of relying on Git to update [on hold]

Background: So I just finished manually updating ~75 Drupal sites (7 & 8) last Friday, when there was another core update. Also, our current development setup is pretty dire. We are just beginning ...
0
votes
0answers
73 views

composer won't update 8.6.13

I can't update Drupal 8 from 8.6.10 to 8.6.13 -- please help! composer.json -- partial "require": { "composer/installers": "^1.0.24", "wikimedia/composer-merge-plugin": "^1.4", ...
0
votes
2answers
77 views

Core doesn't update with Composer

We use commands: composer outdated drupal/* drupal/core 8.6.10 8.6.13 Drupal is an open source content management platform powering millions of websites and applications. It does show 8.6.13. We ...
0
votes
1answer
53 views

Why does updating break my site?

I have a site running Drupal 8.6.10. I installed it with Composer: composer create-project drupal-composer/drupal-project:8.x-dev JdP8M7b --stability dev --no-interaction I tried to update it to 8.6....
0
votes
0answers
17 views

updates page shows an error for a mystery module 'standard 8.6.12'

on the updates page /admin/reports/updates under Modules there is a module called standard 8.6.12 as and it is highlighted with a warning No available releases found (Warning) this module does not ...
0
votes
0answers
11 views

Update programmatically (js) the images of a image field in edit form

I have an entity type which has an image field. I use the default form widget for this, and I can upload or delete the image. On the node edit form, I have also a pop-up widget with a javascript app ...
0
votes
0answers
21 views

Drupal Url Injection [duplicate]

My two websites have been hacked. I received from Google Search Console an email saying that my websites have been hacked. In search engine there are invalid urls. I had drupal 7.59. In the website ...
1
vote
0answers
129 views

Composer update drupal core problem [duplicate]

I've inherited a site that I'm attempting to update - and when I attempt to update to the newest security patch - composer tells me that: composer require drupal/core:8.6.10 ...
0
votes
1answer
33 views

backing out of a module update after uploading it and before the database update (new update is incompatible with my version of PHP)

I got a situation here and I don't know what to do. Drupal 7. There's an update for reCAPTCHA so I click the button and checkboxes and whatever to update it, it uploads the files to the server and ...
0
votes
0answers
64 views

Unable to determine class for field type during upgrade

I'm getting the following error when I am updating my site's core and contrib modules. I'm at a loss as to how I would go about finding the issue. I've gone to views.views.inc line 181 and looked ...
0
votes
0answers
46 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
713 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
39 views

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

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 ...
1
vote
2answers
252 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 ...
2
votes
1answer
49 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
67 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/...
4
votes
1answer
215 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
32 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
31 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
206 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
53 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
2answers
140 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
316 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
56 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
28 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
50 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
1answer
435 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
33 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
207 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
39 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
147 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
188 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
57 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
584 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
59 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
785 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
209 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
29 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
251 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
201 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
54 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
24 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
30 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
56 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
130 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
56 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(...
4
votes
2answers
850 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
27 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
547 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 ...