Comments

SocialNicheGuru created an issue. See original summary.

socialnicheguru’s picture

Status: Active » Needs review
StatusFileSize
new788 bytes
socialnicheguru’s picture

Are the updates even needed?

socialnicheguru’s picture

Status: Needs review » Needs work

I get this error when I apply when I am using Drupal 8.4.5

Failed: Can not clear shorten_generate_token key in immutable configuration [error]
shorten.settings. Use \Drupal\Core\Config\ConfigFactoryInterface::getEditable() to
retrieve a mutable configuration object

socialnicheguru’s picture

Title: Aegir can't migrate because update_7xxx » Can't update shorten because of reference to Drupal 7.x updates in .install

drush updatedb
PHP max upload size should be set appropriately so you are able to upload H5Ps and other media. [warning]
(Currently using PHP EXIF extension Enabled) [warning]
The following updates are pending:

shorten module :
8001 - Implements hook_update_N(). Removes the shorten_generate_token variable since the token module now loads tokens only when needed.
8002 - Implements hook_update_N(). Removes variables for deprecated services.

Do you wish to run all pending updates? (y/n): y
Can not clear shorten_generate_token key in immutable configuration shorten.settings. Use [error]
\Drupal\Core\Config\ConfigFactoryInterface::getEditable() to retrieve a mutable configuration object
Performing shorten_update_8001 [ok]
Failed: Can not clear shorten_generate_token key in immutable configuration shorten.settings. Use [error]
\Drupal\Core\Config\ConfigFactoryInterface::getEditable() to retrieve a mutable configuration object
Cache rebuild complete.

chishah92’s picture

Assigned: Unassigned » chishah92

I will update with a patch

chishah92’s picture

Status: Needs work » Needs review
StatusFileSize
new1.01 KB

This patch will fix the issue.

socialnicheguru’s picture

Status: Needs review » Reviewed & tested by the community

yes the last patch does

icecreamyou’s picture

Status: Reviewed & tested by the community » Fixed

Merged, thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.