9
votes
Running Craft updates
composer.json and composer.lock aren't technically the only files that change; for example some of the files in the vendor folder change each time you update. If you're using Project Config, ...
8
votes
Accepted
Cannot declare class because the name is already in use
At this point, after much playing around it seems to be working (at least on to the next bit of debugging).
To sum up, it was mostly changes to composer.json, followed by
composer remove kr37/...
6
votes
Accepted
After updating, getting "Could not resolve the subpath" error
If you're setting an dynamic upload folder location for an Assets field inside of a Matrix field, you need to preface things like {slug} with {owner.slug}.
See the note about dynamic subfolders on an ...
5
votes
What is the best approach of updating existing Craft installs with new features?
This approach assumes that the individual websites won't diverge from the original blueprint by, for example, modifying sections and fields to suit their specific requirements.
That seems pretty ...
5
votes
Accepted
Why should I update Craft CMS?
No software is perfect. Like any other well-managed software project, Craft CMS is regularly updated with new features, improvements and bug fixes.
Occasionally, the changes will relate to a specific ...
4
votes
Accepted
Is there a way to prevent Craft from backing up the database before updating?
Yes you can use the backupDbOnUpdate config setting:
https://craftcms.com/docs/config-settings#backupDbOnUpdate
4
votes
Issues upgrading Craft 2 to 3 - Keep seeing Install Screen not Update screen
If you've seeing any install screen instead of an update screen, that means that Craft can connect to the database server specified in craft/config/db.php file, but it either can't find the database ...
4
votes
Accepted
Trigger Webhook when Updates are Available
As far as I can tell by looking at the source code and searching the Events reference, Craft doesn't dispatch any relevant events that could be used to make the Webhooks plugin trigger a POST request ...
3
votes
Accepted
Can't update past CraftCMS 3 RC15
As a silly mistake, I had set the allowUpdates config setting to false...hope this helps anyone making the same silly mistake.
3
votes
Can I simply update from 2.6.2779 -> 2.6.2958, shared hosting
Just make a backup of files and database first then click update (or upload a new /craft/app folder if you've got automatic updates turned off) - there are no breaking changes in Craft 2.6
3
votes
How do I fix PHP Notice - Undefined index: releaseDate?
I've run into this issue myself with Craft version: 2.6.2962.
The line in question is expecting a column from the database called "releaseDate".
In my case, that column no longer exists. It might ...
2
votes
Can't update from v2.6.2789 via manual update
Are you 100% sure you are updating the right website/folder and not looking at the wrong one? Are you sure you are using the newest version of craft to install and not your old download?
If this is ...
2
votes
Why is Craft returning a 504 during a system update?
I've had this issue before.
It's usually to do with one of two things for me - either the PHP script timeout value or the FPM proxy timeout value.
Another method of fixing this is to change the ...
2
votes
No more Ajax in the control panel after update to Craft 2.7.0
Prob solved; I auto updated to Craft 2.7.0 manually, and - stupid me for waiting that long to do that... - I updated it again manually. Problem solved. Case closed
2
votes
Accepted
Updating Craft 3 from ver. 3.0.28 10/23/2018
You need to manually update to the latest version of Craft 3.0.x, then update to Craft 3.1.x:
In your composer.json, change your Craft package to "craftcms/cms": "3.0.40",
Run composer update
Then in ...
2
votes
Accepted
cannot update Craft CMS - composer errors
composer update vendor/package by design does not update the dependencies of vendor/package. Instead, use
composer require --update-with-dependencies craftcms/cms:3.0.41.1
Per the docs, --update-...
2
votes
Accepted
Allowed memory size of 1610612736 bytes exhausted when updating via CLI on OS X
This ended up being a bug in Craft that was fixed in https://github.com/craftcms/cms/commit/df40f585cef3d7e47f811f73b08d9d71bbc9c9b2 and will be included in the next (3.3.14) release.
2
votes
Accepted
Dependency Conflict Updating to Craft 3.5
Not a true fix, but on the off chance this helps someone, here are the steps I took:
Create a local clone of the live Craft install with a dummy database, but the same composer.json and project.yaml ...
2
votes
Craft 3.6 Upgrade errors - can only install one of yiisoft/yii2 (and other errors)
I found the fix here
composer install --ignore-platform-reqs
2
votes
Getting a mega error in updating from 3.1
Looks like you're running into a similar issue to this one.
The problem is likely caused by incompatibilities between Composer 1 and 2 (as in, the project's dependencies were initially installed using ...
2
votes
Accepted
How to update from Craft version 2 to 4?
Before you can upgrade the Craft 2.6 site to Craft 4, you'll need to upgrade the site to the latest Craft 2 release (2.9.2) first.
The next step is getting that Craft 2 install upgraded to the latest ...
2
votes
Updated plugins keep showing in the control panel and command line
You likely have pinned versions set for those four plugins. Check your composer.json file; do those plugins have a ^ before the versions or not? If not, they're pinned to those versions and will not ...
1
vote
cannot update Craft CMS - composer errors
so this was weird.
I had the issue when I ran this composer command
composer update craftcms/cms
however when I ran
composer update
without the specific package all went well.
1
vote
Updating Craft 3 from ver. 3.0.28 10/23/2018
Not 100% sure what it means to be in the breakpoint status, but could you manually change the Craft version in your composer.json and then composer install?
1
vote
Craft update process affecting Element API cache
Got to the bottom of it. It was a CORS thing - permission with the domain htaccess and elementAPI. A shift from non-www, to www redirection seemed to be the cause so now solved
1
vote
Interne Serverfout after one click update
Interne Serverfout (Internal Server Error) is a fatal error that has happened and your web server killed the request.
Usually, fatal errors like this are either because PHP times out, or runs out of ...
1
vote
Unable to update Craft: 'requires yiisoft/yii2-queue 2.1.0'
How about changing the yii2-queue version number in composer.json and then running a composer update?
1
vote
Accepted
Attempting Craft 2 -> 3 Upgrade | An Error occurred while handling another error
For anyone who runs into the same error, my Craft 2 site had 3 environment settings:
Dev, Staging and Production.
This page covers how to carry those settings into Craft 3
https://docs.craftcms.com/...
1
vote
Accepted
Error: Call to undefined function Craft\mb_convertOcase() after updating to 2.6.3017
I performed a manual upgrade as documented at https://docs.craftcms.com/v2/updating.html#manually-updating and the error automagically disappeared. Therefore, it looks like there was a glitch in the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
updating × 75craft3 × 11
updates × 11
auto-updates × 11
database × 8
manual-updates × 8
composer × 5
error-message × 4
plugins × 3
config × 3
upgrades × 3
templating × 2
entries × 2
matrix × 2
php × 2
plugin-development × 1
assets × 1
cache × 1
plugin-elementapi × 1
error × 1
admin × 1
plugin-freeform × 1
plugin-feedme × 1
migration × 1
javascript × 1