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.

-1
votes
1answer
22 views

Drupal maintenance over several environments

I have a production environment for a Drupal 7 site. This environment is replicated to a staging environment, which we use for testing updates to modules and drupal core (same major version). We ...
0
votes
1answer
67 views

Why can't I update core from 8.6.16 to 8.7.1?

I need to update my Drupal 8 site from 8.6.16 to 8.7.1, but when I run composer update drupal/core --with-dependencies it says "Nothing to install or update". I have been banging my head on the wall ...
1
vote
2answers
40 views

Can I remove the experimental module warning from /admin/reports/status?

My drupal 8 site is showing a experimental modules enabled warning under /admin/reports/status. I vaguely remember to have them enabled at a certain time, but I forgot where. I don't use any of them, ...
0
votes
0answers
36 views

Just upgraded to 8.7.1 and site crashed [closed]

Just upgraded to Drupal 8.7.1 from 8.7.0. Used Composer and drush, following a checklist I have used several times. Did not see any errors or problems during the process, but after it completed and ...
0
votes
0answers
37 views

How to handle config changes on core update?

I have an 8.6.15 site managed by composer and drush. The db and config exports are in sync. Roling our new features using drush cim on production works fine. I now update core to 8.7 by running ...
3
votes
3answers
158 views

Error when viewing list of taxonomy terms

I'm getting an "unexpected error" when I try to view a list of taxonomy terms. I recently updated to 8.7, though I have a feeling the problem has been around since before the update. Here's the error ...
0
votes
1answer
23 views

How do I apply or run an update?

For recent changes to 8.5.x, my paragraph entities broke and throws the following error. SQLSTATE[42S22]: Column not found: 1054 Unknown column 'revision_uid' in field list I uninstalled and ...
0
votes
1answer
46 views

Drupal 8: Node “options” does not exist for Node “Drupal\Core\Template\TwigNodeTrans” error after update

after updating Drupal 8 from 8.6.14 to 8.6.15 (twig v1.40.1) I suddenly get this kind of fatal errors: Uncaught PHP Exception Twig\Error\SyntaxError: "An exception has been thrown during the ...
0
votes
0answers
22 views

Modules inside a profile are not listed in the “Extend” page

After updating Drupal core from 8.5.15 to 8.6.15, the modules inside a profile are not listed in the Extend page. When I run drush updb I get error messages about missing modules.
0
votes
1answer
20 views

Composer.json deletes dir even with preserve path

I am running composer on Drupal 7 and I am just trying to update my site; however when I run composer update, the composer deletes all the preserve paths I had specified. My structure is as follows: ...
0
votes
0answers
27 views

Update Symfony before Drupal core?

Right now there are some security updates for Symfony: curl -sS https://get.symfony.com/cli/installer | bash echo y | ~/.symfony/bin/symfony self:update ~/.symfony/bin/symfony security:check Symfony ...
0
votes
0answers
21 views

Devel “devel.toolbar.settings_form” does not exist even though the route exists

After updating my core with 8.6.15 and devel with 8.2 version, I am facing the following error: Route "devel.toolbar.settings_form" does not exist. The website encountered an unexpected error. ...
0
votes
1answer
61 views

Wrong status after updating from 7.64 to 7.66

I recently manually updated my localhost drupal site from 7.64 to 7.66. I ran update.php without errors. When the process finished, I cleared all cache and checked the status. It still reported 7....
0
votes
0answers
38 views

Problem updating drupal core

I'm trying to upgrade an older version 8.5 of drupal core to 8.6.14. I get the following message when I refresh or try to do the update.php on my site: Warning: Class Drupal\Core\Extension\...
0
votes
0answers
46 views

Updating a module results in a Mismatched entity and/or field definitions with live server only

Installing updates produces Mismatched entity and/or field definitions, yet only within the live server instance. Local environment works as expected. It first happened with the update 8001 in both ...
0
votes
0answers
49 views

Should I not update from 8.4.2 straight to 8.6.13?

Due to someone leaving the company I work for I was handed the "webmaster" duties of a website hosted off-site running on Drupal 8.4.2. When I first logged in to the admin panel I discovered a host of ...
0
votes
1answer
72 views

Change target type of entity reference field in update hook

In an update function, I'm trying to change the target_type of an entity reference field, following the approach outlined on https://www.drupal.org/node/2535476). The previously used target entity ...
1
vote
2answers
220 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
333 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
87 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
1answer
33 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
13 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
22 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
357 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
37 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
105 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
47 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
1k 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
44 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
396 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
54 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
91 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
252 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
38 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
45 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
347 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
54 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
191 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\...
1
vote
1answer
491 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
67 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
1k 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
34 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
279 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
42 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
193 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
292 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
688 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: ...