Questions tagged [updating]
Use it for questions about updating Drupal core and contributed modules.
709
questions
0
votes
1
answer
771
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
1
answer
195
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
...
3
votes
2
answers
7k
views
How can I update Drupal core and all modules / themes in one go from the command line?
On a LAMP environment, I have a Drupal site which uses the default theme and a few stable contributed modules. Nothing is customized, and I have daily backups so I don't "fear" of updating.
...
2
votes
1
answer
294
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
1
answer
40
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 ...
1
vote
1
answer
2k
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
2
answers
501
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
1
answer
117
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
1
answer
31
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
0
answers
179
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
1
answer
108
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
1
answer
223
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
1
answer
439
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
3
answers
3k
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
1
answer
1k
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
0
answers
132
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 ...
2
votes
1
answer
1k
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
1
answer
177
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
1
answer
69
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
2
answers
359
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 ...
3
votes
1
answer
3k
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 ...
0
votes
1
answer
178
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 ...
1
vote
2
answers
1k
views
status report asks me to run update.php but getting 'no pending updates'
I'm on core version 7.58.
My status report says "Some modules have database schema updates to install. You should run the database update script immediately."
But when I run update.php (or drush ...
0
votes
0
answers
231
views
Error after updating to latest core version [duplicate]
After Drupalcon last week I felt comfortable using composer, and I was ready to update our site from 8.4.6 to 8.5.1. I have done just that (luckily in a dev environment) and now the front page of the ...
1
vote
0
answers
89
views
How to fix getlabel() error?
So I had to update a size of a field and I used an update hook. However, in my update hook I deleted the field and the index and added the field again with the updated size. Now when I go to the ...
2
votes
1
answer
257
views
Why doesn't core get updated to 8.5?
I am trying to update via Composer following what reported in Update core via Composer, but when I do composer update drupal/core --with-dependencies, I get the following output.
Loading composer ...
0
votes
1
answer
297
views
How to fix warning message related to Pantheon module?
When I am running update.php, I am getting warning message. I am sure this is showing because the module was deleted without uninstalling. I am unable to find the Pantheon module or the module for ...
0
votes
0
answers
71
views
Updated to 8.5.1, but front end says 8.5.0 is installed
I did the update from 8.4.5 to 8.5.x with Composer. I had some issues, but finally got it to work. Now, if I do
drush status
It says
Drupal version : 8.5.1
If I look at the version listed in ...
0
votes
1
answer
2k
views
drush updb fails with "the 'media_delete_action' plugin does not exist" after 8.4.6 > 8.5.1 update
We have recently updated a Drupal 8.4.6 installation via composer to Drupal 8.5.1. After the composer update I ran
drush updb
as usual. However, the command fails at one point with the following ...
0
votes
0
answers
312
views
Drush silently fails to update core drupal 7 installation - why?
For some reason, drush is reporting successful upgrade of a core Drupal installation from version 7.56 to 7.58, however it is only partially doing the job! See below. Only updates a few files, should ...
1
vote
0
answers
193
views
Updated to 8.5.1 but front end still says 8.4.4 installed
I have been going through and updating my drupal sites after the announcement of CVE-2018-7600.
All have gone smoothly except for one site that was running Drupal 8.4.4
I updated the site following ...
0
votes
1
answer
417
views
'"media_edit_action" plugin does not exist' error when performing update
I get the following error after a database update. It looks like it completes the update by displaying Completed 8 of 8 but it doesn't run the updates. Any help is appreciated.
Failed: Drupal\...
2
votes
1
answer
893
views
Unable to Update to latest core
Update from 8.5.0 to 8.5.1 is failing on one of my drupal instance.
>composer update drupal/core --with-dependencies
Loading composer repositories with package information
Updating dependencies (...
0
votes
1
answer
1k
views
How do I update core to 8.5?
After I realized that the thing I mostly enjoyed using Drupal for the last 10 years, Drush, is being axed, I started to set up all new Drupal sites with Composer. Unfortunately I can't update core as ...
1
vote
1
answer
299
views
What is the best way to update Drupal periodically using a cron job? [closed]
Previously I periodically updated Drupal sites by using a cron-job with a "drush up -y" script running every Wednesday 15,16,17,18,19,20,21,22 hours UTC. which is when "Security releases happen" ...
0
votes
1
answer
35
views
Custom Module Remote Fails Checksum with Drush
Background
I have several proprietary Drupal modules that my company uses. We want to update these across all our sites. To that end, I've built an endpoint that produces code according to the (ill-...
1
vote
2
answers
3k
views
The directory tmp does not exist and could not be created
I keep getting this error since updating to Drupal 7.5.8 and cannot get rid of it regardless of trying all I know. Even adding it / copying-pasting the previous tmp dir or changing the tmp file name (...
-1
votes
3
answers
2k
views
How do I update from 8.4.5 to 8.5.0?
I am trying to update Drupal core using Composer, but I am not able of doing it. I have followed a few blog posts, but nothing worked for me. This is the output of composer update drupal/core --with-...
0
votes
1
answer
311
views
aborted prematurely while running update #7204 [closed]
I get this message but nothing is logged (that I can see)
The update process was aborted prematurely while running update #7204 in wysiwyg.module. All errors have been logged. You may need to check ...
0
votes
0
answers
363
views
"The website encountered an unexpected error. (WSOD) Service 'twig_extensions.twig.array' for consumer 'twig'
I have an Acquia Cloud hosted site built on Drupal 8.4.3. Using Acquia Dev Desktop and Drush, I updated a local development environment to Drupal 8.4.5.
Immediately after Drush updated the site, I ...
0
votes
1
answer
369
views
Error when running database update: "DatabaseSchemaObjectExistsException: Cannot add field redirect.status: field already exists."
I'm getting the following error when attempting to run a database update:
Update #7101
Failed: DatabaseSchemaObjectExistsException: Cannot add field redirect.status:
field already exists. in ...
1
vote
1
answer
2k
views
Unable to run database updates via Drush - Call to undefined function batch_get()
Having some difficulty running database updates via drush after updating modules in the codebase. This is the error that is being reported:
Error: Call to undefined function batch_get() in /root/....
1
vote
2
answers
181
views
Is it possible to individually update each module using update.php?
I am trying to update the reCAPTCHA module (which is installed on sites/all/modules) in Drupal 7. I could see other 3 modules which have pending updates. Is it possible to individually update each ...
0
votes
0
answers
772
views
Enable SFTP for upgrades
After installing D8 on my server, I wanted to add some modules, so I went to Extend / Install new module and was told I needed FTP access to the server. I've got my server configured to only use SFTP,...
0
votes
1
answer
203
views
Update problems when updating to Varbase
I updated a Drupal 8 site to Varbase release 16. After running update.php I get the following error.
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "content_lock_timeout....
0
votes
1
answer
2k
views
Composer update : Package "drupal/module_name" listed for update is not installed. Ignoring
After hours of struggling to update Drupal with Composer (see my solution here), I have now some difficulties to update some modules. I was able to update with composer update drupal/bootstrap:3.11 --...
5
votes
2
answers
8k
views
composer update drupal/drupal does not work : Nothing to install or update
I’ve installed several Drupal 8 site with composer as it is strongly recommended.
I can update modules like this :
composer require drupal/pathauto:1.1
But I can't update core with
composer ...
-2
votes
3
answers
526
views
How do I update to latest version? [closed]
I used drupal-composer/drupal-project to install Drupal 8. Drupal 8.4.7 was installed, and the website was functioning as expected.
Today, I got the message that Drupal 8.5 was ready for prime time, ...
0
votes
1
answer
696
views
Drupal 8 update via drush removes files from vendor folder
I recently made a core update with drush for D8.
After the update I saw that it removed a folder from the 'vendor' folder on the server? Why did that happen?
The module has been installed via ...
4
votes
1
answer
5k
views
How to repair "Mismatched entity and/or field definition" when "drush entity-updates" fails?
I'm developing a site in Drupal 8 in Acquia Dev Desktop 2 on Windows 10. After updating to 8.5.0-beta1 I noticed this error on my status page (although it may have been there earlier in 8.4.4):
...