Questions tagged [updating]
Use it for questions about updating Drupal core and contributed modules.
709
questions
0
votes
0
answers
53
views
Getting error of "entity_share_client.commands"
While trying to update Drupal core I was facing issue with error
- drupal/entity_share 1.x-dev requires drupal/jsonapi >=1.0.0 <2.0.0
But updating version of drupal/entity_share to latest ...
2
votes
2
answers
4k
views
Composer update - Your requirements could not be resolved to an installable set of packages
when I run a composer update --with-dependencies, I get the following error message:
Problem 1
- don't install drupal/core 8.6.0|remove drupal/drupal dev-master
- don't install drupal/core 8....
0
votes
0
answers
427
views
Contact message entitytype missing "id" parameter after 8.7.6 update
I am updating site from 8.7.1 to 8.7.6, and I'm getting strange error:
Error: Call to a member function getType() on null in
Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema->...
8
votes
3
answers
7k
views
How can I install a specific core version?
Composer always installs the latest version of Drupal core, but I want Drupal 8.6, not Drupal 8.7.
How can I install a specific core version?
0
votes
2
answers
335
views
Additional old_XXXXXXtaxonomy_term__field_XXX Tables after upgrading
After Upgrading from Drupal 8.6 to 8.7 I have tons of new (garbage?) tables in the database. The naming schema for the tables is old_XXXXXXtaxonomy_term__field_XXX
Is there a drush command to remove ...
0
votes
0
answers
86
views
Is it possible to make a site aware of entity schema changes that are managed externally using SQL-based storage?
Consider the following situation:
A Drupal 8 site using native SQL-storage (MySQL)
custom_table is added to the same MySQL host as Drupal, either as a table in the Drupal system DB or as a table in a ...
0
votes
1
answer
65
views
Drupal update to specific version (not dev) with git
I have a Drupal folder made with command:
git clone --branch 7.x https://git.drupalcode.org/project/drupal.git
Now I want to update it to the actual version (7.67). When I run
git pull origin 7.x
...
5
votes
3
answers
10k
views
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "<whatever>" plugin does not exist [closed]
After updading a Drupal site from 8.6.16 to 8.7.1 (PostgreSQL 9.6.13 , Nginx) I get this error in almost every operation (creating a view , installing a module, creating a content type, creating a ...
0
votes
2
answers
968
views
Fatal error: Class 'DrupalDefaultEntityController' not found in comment.module
I'm trying to update the Drupal Core of a website, specifically from 7.65 to 7.67.
I've followed the instructions from here. After the process, I've try to access the website without luck, because I'm ...
0
votes
1
answer
58
views
How to generate my own patches to update core for security when fuerstnet.de's "Drupal upgrade the easy way" page is out of date?
For Drupal 7, under the current host I'm using (which doesn't provide things like drush), I've found that patching is the easiest approach to updating core. However, the commonly-referenced page which ...
-1
votes
1
answer
56
views
Drupal maintenance over several environments [closed]
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
1
answer
633
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
2
answers
284
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, ...
1
vote
1
answer
97
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 ...
5
votes
2
answers
2k
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
1
answer
112
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 ...
2
votes
1
answer
739
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
0
answers
58
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
1
answer
136
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
0
answers
57
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
1
answer
715
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
2
answers
578
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",
...
1
vote
2
answers
1k
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
1
answer
389
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
1
answer
106
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 ...
1
vote
0
answers
682
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
1
answer
73
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
0
answers
1k
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
1
answer
3k
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
0
answers
77
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
2
answers
1k
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
2
answers
97
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
0
answers
614
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
1
answer
1k
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
1
answer
211
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 ...
2
votes
1
answer
729
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
1
answer
509
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
1
answer
60
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
votes
1
answer
1k
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\Database\...
3
votes
2
answers
3k
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
1
answer
231
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
1
answer
57
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
2
answers
200
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
6
votes
2
answers
9k
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
1
answer
91
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 ...
3
votes
1
answer
3k
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
1
answer
74
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
0
answers
977
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()....
4
votes
1
answer
1k
views
Is it normal that a site changes to maintenance mode during a module update?
I have created a custom module with a .install file, which includes some hook_update_N() hooks, used to update existing nodes.
Whenever I run drush updb, the site automatically enters maintenance mode ...
1
vote
1
answer
281
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 ...