Questions tagged [updating]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
119 views

Failure in "file module Update #8700"

file module Update #8700 •Failed: Drupal\Core\Field\FieldException: Field storage definition for 'type' could not be found. in Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema->getEntitySchema(...
lms_forever's user avatar
1 vote
1 answer
1k views

Missing updates for Media

After much package dependency finagling via composer, updating PHP, updating MariaDb, etc.. (not as bad as D7 => D8 but still harder than I'd hoped) I managed to update from 8.9 => 9.0.7. I was ...
user92354's user avatar
0 votes
1 answer
456 views

Updating core to 8.9.6 fails

I'v installed Drupal 8 by composer. Everything worked fine, but when I tried to update core from 8.9.1 to 8.9.5 in ended up in 8.9.4. Today I tried to update from 8.9.4. to 8.9.6 by changing composer....
paul77's user avatar
  • 23
0 votes
1 answer
506 views

Failed to update and now causes module errors

I recently attempted to update a Drupal 8 site from 8.7.7 to 8.9.3 and had a failure due to server not being on the right version of php7 to run the new 8.9 version. As a result I am now getting ...
Brightstorm's user avatar
0 votes
0 answers
940 views

Update error and Basic Auth / Symfony errors

I'm running 2 servers: TEST and PROD. I've been using Composer to install updates. They are running on Windows Server 2016 using IIS. I copied composer.json and composer.lock from TEST over to PROD. ...
mindmischief's user avatar
0 votes
0 answers
89 views

Drupal selectors changed after upgrading from 8.8.5 to 8.9.3

I just upgraded from 8.8.5 to 8.9.3 and I am noticing some of my CSS was broken. After inspecting, I am noticing the selectors on my view have changed. Before my filter submit button was selected via ...
Ronnie's user avatar
  • 477
2 votes
1 answer
316 views

How the handle an override of the schema of a field type

To add other data to a state field, I overrode 2 functions of the StateItem class (from the state_item module) public static function schema(FieldStorageDefinitionInterface $field_definition) { ...
Baud's user avatar
  • 570
1 vote
2 answers
590 views

The commerce_product.field_produit_labels field needs to be updated

almost every time I delete a field in my product types I get this message popping up in my dashboard : ENTITY/FIELD DEFINITIONS Mismatched entity and/or field definitions The following changes were ...
sdfff's user avatar
  • 61
1 vote
1 answer
302 views

Admin UI doesn't see the correct PHP version [closed]

I have a local development site on Ubuntu and currently my system has PHP 7.4 installed and I can see Drupal site using the correct version in terminal using drush st but if I browse to Admin UI and ...
miststudent2011's user avatar
0 votes
1 answer
528 views

Search is broken after updating search_api_solr from 8.x-2.7 to 4.1.4

My Drupal site has a search form, which connects to a Solr index. All of this was working smoothly. But then I updated drupal/search_api_solr from 8.x-2.7 to 4.1.4 (which also required me to update ...
Travis Miller's user avatar
1 vote
1 answer
528 views

Manually removing an orphaned entity type

I have been handed an older Drupal 8 site and asked to update it to run with composer. I didn't do it in the cleanest possible way but it is working. I have run into trouble updating it. I am most of ...
tanbog's user avatar
  • 1,243
1 vote
2 answers
218 views

update drupal core from a version to a new version with composer

i want to update the core from 8.7.6 to 8.9.2 and when I try this command "composer require drupal/core:^8.9.2 --update-with-dependencies" i have got an error like below , can anyone help me ...
alex espandora's user avatar
4 votes
1 answer
104 views

Why is the output from getDefinition($type) different from getStorage($type)->getEntityType()?

In a Controller, when calling: $this->entityTypeManager()->getStorage($type)->getEntityType(), I do not have the exact same return value as: $this->entityTypeManager()->getDefinition($...
Dakwamine's user avatar
  • 171
2 votes
1 answer
1k views

Drupal downloads the module update but need FTP

As the above screen shots, from Drupal 7 shows, the updates are downloaded! However, it still says Updating modules and themes requires FTP access to your server. I have tried the ownership of sites ...
SaidbakR's user avatar
  • 430
0 votes
0 answers
1k views

Getting the 'The website encountered an unexpected error. Please try again later.' error during an update

I recently updated my Drupal 8 installation, and for some crazy reason my site now displays a white screen and this line of text when I go to it: The website encountered an unexpected error. Please ...
Brittany's user avatar
  • 241
2 votes
1 answer
112 views

How to ensure successful update after system failure during updb causing the site to remain in maintenance mode?

Running drush updb to upgrade drupal core or other modules, puts the site in maintenance mode. I recently faced an issue (probably an edge case) where the site was stuck in maintenance mode after ...
awm's user avatar
  • 2,429
0 votes
0 answers
79 views

Error after updating core from 8.6.2 to 8.7.14

After I have updated my Drupal core version from 8.6.2 to 8.7.14, I have got below error at the time of cache clear and db update. Below error occurs while running update.php An AJAX HTTP error has ...
Kalidasan's user avatar
  • 766
2 votes
1 answer
402 views

Major module update with Composer

I have some modules in 8.8.5 that need an major update. What is the best practice without loosing data or settings? For example: drupal/admin_toolbar 1.27.0 2.2.0 Do I need to ...
Lance's user avatar
  • 163
0 votes
1 answer
130 views

Is there a way to tell composer about manually updated modules?

I am working on a drupal 8 site and tend to update some modules: I run the composer outdated 'drupal/*' command and it shows me the list of modules need update. Running composer update drupal/...
Naser Nikzad's user avatar
0 votes
1 answer
65 views

Database updates failing

I sort of inherited a Drupal 8 site which has lately generated a problem causing 500 error when e.g. trying to modify menus. I haven't myself updated the Drupal (just got it, it is currently on ...
hank's user avatar
  • 37
2 votes
1 answer
816 views

How do I update configuration/database after a core update?

This may seem like a dumb question to some of you, I'm sure. After having worked with Drupal from version 6, I'm now for the first time using Drupal 8 and -- after some initial difficulties -- have ...
Marcus C.'s user avatar
  • 289
2 votes
2 answers
574 views

Updating from core 8.7.9 to 8.8.0

I'm running into an issue when updating to Drupal core 8.8.0. I've removed both the vendor folder and the composer.lock file, as per instructions on this link https://www.drupal.org/node/2700999#s-...
kcsting's user avatar
  • 73
-1 votes
1 answer
75 views

Updating custom field with module upgrade gives a "Page not found"

I have been working for quite some time on a custom module. So far I have always been able to reinstall everything from scratch, but now I need an update to a custom field. Following the indications ...
Francesco Marchetti-Stasi's user avatar
0 votes
1 answer
136 views

Running updatedb fails with UnknownExtensionException error

I am attempting to update my site's database after updating three modules: Configuration Update Base, Search API, and Simple XML Sitemap. Running drush updatedb produces the following error: Drupal\...
JOakland's user avatar
  • 432
0 votes
1 answer
24 views

Update failed on Metadata module, any easy fix?

I am very sorry to bring a rather nebulous question here but need any and all help I can get: for the first time, I've had a "White Screen of Death" issue when trying to update a module. I believe ...
user1149499's user avatar
0 votes
0 answers
54 views

Why is my site status continuing to indicate mismatched field definitions after updating?

When I visit /admin/reports/status, I am told that a few entities have fields that need to be updated or reinstalled. I created an update hook: /** * Remove the result field from the analysis ...
Kevin Nowaczyk's user avatar
1 vote
2 answers
387 views

Upgraded to 8.8.3 and now all of my modules say "No available releases found"

I just recently updated to 8.8.3 and for some reason, all of my modules now say "No available releases found". Also the one module I had that did report "No available releases found" (Video Embed for ...
Matt Howe's user avatar
2 votes
0 answers
269 views

Broken live site after upgrade although upgrading locally and stage was no problem

I have just upgraded a site from Drupal 8.7 to 8.8, and I now have a broken site. Pages on the site (mainly admin pages) are now giving the following error: Drupal\Component\Plugin\Exception\...
Spudley's user avatar
  • 361
2 votes
1 answer
1k views

Adding a base field definition in an update hook - it's not appearing

I want to add another base field to a Drupal entity. It used to be possible to just change the code for the entity definition and then update it via the Drupal console. But now it has to be done in an ...
naomi's user avatar
  • 1,165
0 votes
1 answer
29 views

Update UI lists modules/themes that are already updated

I have a D7 (7.69) site. On both dev and production, I can update a module (using the web UI - /admin/modules/update), apparently successfully, yet afterwards, that module stays listed as requiring an ...
William Turrell's user avatar
2 votes
5 answers
3k views

composer won't update 8.7.10 to 8.8.2 - "Nothing to install or update"

When I try to use composer to update Drupal, it fails to follow through, and gives me several abandoned items. Not sure where to go from here, but maybe someone can give pointers on what might be ...
turpentyne's user avatar
0 votes
1 answer
56 views

Cannot disable module "monitoring" after failed upgrade

I just updated to Drupal 8.8.1 (composer update drupal/* --with-dependencies now says I'm up to date, even though I know that 8.8.2 is actually the most recent). After doing this, I can use most of ...
SomeoneElse's user avatar
1 vote
0 answers
95 views

Update field properties defined by hook_schema()

I'm probably a bit confused by documentation. Got a custom field with some properties defines in hook_schema() : /** * Some field type. * * @FieldType( * id = "field_selector", * label = @...
Pan Chrono's user avatar
  • 1,943
2 votes
1 answer
333 views

Site broken after upgrading with Pathauto < 8.x-1.6

I recently upgraded to Drupal 8.8. Unfortunately I missed the memo on needing to upgrade Pathauto first and now my site is broken. Most pages give the message "The website encountered an unexpected ...
SSilk's user avatar
  • 183
0 votes
1 answer
358 views

Impossible to update some modules via Composer

I've updated a D8 website from 8.7 to 8.8.1 with SSH and composer. For some modules (in SSH 3rd column is marked in yellow) it is not possible to update them. I understand that when they are marked in ...
Lance's user avatar
  • 163
0 votes
1 answer
76 views

I cannot update because of Ubercart and Google Analytics module error

I tried updating my Google Analytics module today, but when I went to the update.php page I got this error: Unresolved dependency. Google Analytics (Version !=7.x-2.4 required) Google Analytics for ...
joe's user avatar
  • 13
0 votes
1 answer
210 views

Error guzzlehttp/guzzle ^6.3 -> no matching package found when update from 8.7.9 to 8.8.1

When i tried to update my project using composer from 8.7.9 to 8.8.1 i get the following error: Command: composer update drupal/core --with-dependencies [Composer\DependencyResolver\...
berramou's user avatar
  • 7,085
2 votes
1 answer
3k views

Deprecated configuration for the temporary files path

After updating to 8.8.1 I get this warning: You are using deprecated configuration for the temporary files path. Remove the configuration and add the following to settings.php. $settings["...
Ximo Nadal's user avatar
0 votes
1 answer
307 views

Drush does not run command, but prints the php script

We have a special server that runs php5.x and relies on drush 5.x. PHP 7.0 is installed, but the sites on the server all run PHP5, because PHP7 breaks them. We have previously had drush 5 on it, but ...
OH MY DEAR PUFFINS's user avatar
0 votes
1 answer
909 views

Error while updating

Updated Drupal from 8.7.8 to 8.8.0 with: composer update --with-dependencies That part went well, but when I run: drush updb I get following error: In ProcessBase.php line 188: Unable to ...
MilanG's user avatar
  • 499
1 vote
3 answers
136 views

I extended some functionality in the slick module, but I am looking to do it in a way that doesn't get erased each time I update slick

I extended some functionality in the slick module, but I am looking to do it in a way that doesn't get erased each time I update slick. I added a css file and edited the slick skin php file to use ...
Guybrush Threepwood's user avatar
0 votes
2 answers
56 views

Updating core modules independently of core?

We have a vendor that is asking us to assist them in updating a core module independently of core. Is there such a thing? For example, could you update Views without updating core? My understanding ...
user7355700's user avatar
0 votes
1 answer
824 views

Steps to update vendor files after pulling changed composer.lock file

Let's say I work in a group and somebody else did composer update and pushed changed composer.lock file. I pulled it and now I have to do update too, to match the files from changed lock file. In ...
MilanG's user avatar
  • 499
0 votes
2 answers
166 views

Updating Drupal project using Composer fails

I have site (which is originally installed also with composer) with drupal core version 8.7.2. I'm trying to update it to latest 8.7.8. When I do: composer outdated "drupal/*" I get the list of all ...
MilanG's user avatar
  • 499
0 votes
0 answers
163 views

How do I fix this version error?

I have a Drupal 8 site that has been installed with Composer. Last week, I updated Search API 1.14 and Search API Solr 3.7. The module are in the good version, but when I run drush updatedb, the ...
Mathieu's user avatar
0 votes
1 answer
39 views

Should the Update Manager module be uninstalled when installing with Composer?

Drupal 8 is installed with Composer and I use it to update. So I uninstalled the Update Manager module provided by the core. Now when I go to /admin/reports/status, I have the following warning. ...
Mathieu's user avatar
1 vote
1 answer
2k views

Drush cannot connect to the database when updating

I am trying to update Drupal from version 8.7.5 to 8.7.7. I installed Drupal using composer and had a really old version of Drush that I had installed from apt-get. I uninstalled the old version and ...
SomeoneElse's user avatar
0 votes
1 answer
84 views

Strange views issue on upgrade

I'm upgrading a site from 8.4.8 to 8.7.7 via Composer. After a few rounds, things seem pretty good, but I'm stuck on a tricky bit: on drush updatedb the process throws an error on Views post-update. ...
Scott Hepler's user avatar
1 vote
1 answer
50 views

How to update custom paragaph which is added to User Profile?

I have a requirement to create/update a paragraph which is added as a custom field in USER profile. After surfing here, i got how to update a paragraph which is connected to node. But I am not able ...
Suraj's user avatar
  • 884
0 votes
0 answers
81 views

Manual Update from Drupal 8.7.6 to 8.7.7 Acts Like New Install

I have been manually updating Drupal 8 core successfully until now. When I try to update from 8.7.6 to 8.7.7 it goes to a new install. Here is what I did Back up database, and back up entire site ...
MaryV's user avatar
  • 1

1
2
3 4 5
15