Questions tagged [updating]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
55 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
19 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
24 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
593 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
47 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
258 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 ...
2
votes
1answer
2k 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
61 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
799 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
2answers
65 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
248 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
366 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
69 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
128 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
427 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
56 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, ...
0
votes
2answers
485 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\...
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 ...
0
votes
1answer
107 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
39 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
64 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
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 ...
2
votes
1answer
41 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
473 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
51 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
327 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
514 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. ...
1
vote
1answer
90 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
746 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
103 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 ...
2
votes
2answers
3k 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
284 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
31 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
684 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
391 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
88 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
26 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
67 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
80 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
177 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
135 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(...
5
votes
3answers
2k 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
1answer
797 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
99 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
248 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
76 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
1answer
44 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
192 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
1k 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
101 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 ...