Questions tagged [updating]

Questions regarding updating Craft CMS or its plugins.

Filter by
Sorted by
Tagged with
59
votes
1answer
11k views

How secure is Craft and why is it secure?

What measures have been put in place in regards to securing Craft at the core level. What measures have been put in place in regards to Craft's Plugins which make use of (connect to if you will) Craft'...
17
votes
1answer
2k views

Where can I download previous versions of Craft?

Auto-updating is great and all, but sometimes you need to roll-back to a previous version or build of Craft for whatever reason. Where can you download these?
9
votes
1answer
990 views

Dealing with Upgrades and Git Workflow

Craft updates come fast and frequent which introduces a problem when working with lots of people in a team. Don't get me wrong, this is a good problem to have! How are dev shops handling the update ...
8
votes
1answer
1k views

Manual update without database backup

I’m trying to update Craft Pro 2.0.2543 to the latest build but the site’s database is in excess of 2Gb. When hitting ‘Finish up’ in the CP after a manual update, by the time the database has backed ...
6
votes
1answer
521 views

How to deal with client input your site?

Our client wants a poll on the website. How can I deal with client input and update the entry? I found the Entry-Form example, but this doesn't work. The title field is the question and the admin ...
5
votes
1answer
565 views

Is there a way to prevent Craft from backing up the database before updating?

When Craft tries to apply an update, it tries to back up the database. Although that's great in general, backing up a large database using PHP requires a lot of memory and resources that might not be ...
5
votes
1answer
256 views

How to trigger updateElements when hide modal?

Is it possible to refresh an element's list when closing a modal? I have a modal ready with: onHide : function(){ //but all what I tried doesn't work here //1: This will do the trick, but ...
4
votes
1answer
4k views

Cannot declare class because the name is already in use

I'm trying to port a Craft 2 plugin to Craft 3, and don't seem smart enough to work out the namespaces. I've stripped out everything except what the docs recommend, but keep getting Cannot declare ...
4
votes
1answer
459 views

Issues upgrading Craft 2 to 3 - Keep seeing Install Screen not Update screen

I'm trying to update my development site on MAMP from Craft 2 to 3. I've installed Composer and tried both upgrade methods (keeping the current directory structure & using the new structure). But ...
4
votes
1answer
772 views

Upgrade failed - what needs to be restored?

Unfortunately I tried to (auto)upgrade to v2.5.latest on a live site (after testing on another development (but different site)) and it failed resulting in the site being down. What is the best way to ...
3
votes
2answers
2k views

Best method to update Craft on a live site to avoid losing data

What is the best way to update Craft on a live website? Preferably without losing any data? There are a few ways to do this, and, can often be situational. Essentially the main problem is ...
3
votes
2answers
719 views

After updating, getting “Could not resolve the subpath” error

After updating to 2.6.2973, saving any entry fails, resulting in an Internal Server Error: "Could not resolve the subpath '{slug}'". I've read the similar errors on here which trace back to Matrix ...
3
votes
2answers
62 views

What is the best approach of updating existing Craft installs with new features?

I'm currently developing a blueprint for all my Craft websites. It contains a set of sections, fields, plugins etc. All configured the way I need for my websites. The websites itself are basically a ...
3
votes
1answer
99 views

How to manage a large database when upgrading from 2.0 to 2.1

I am trying to upgrade a site from 2.0.2551 to 2.1.2570. I have ~18k entries and ~28 elements. The upgrade process seems to want to save all the elements again as far as I can tell, is there any way ...
3
votes
3answers
653 views

cannot update Craft CMS - composer errors

I'm upgrading a site to 3.0.41.1 (not ready to go to 3.1) and when I do I get the following error. How do I resolve this? composer update craftcms/cms Loading composer repositories with package ...
3
votes
1answer
863 views

Updating Craft Produced Fatal Error.What now?

Just tried updating craft from version 2.4.2669 to the latest version 2.4.2702 unfortunately it threw a fatal error with the following error message: Status: OK Response: Fatal error: Out of ...
3
votes
1answer
441 views

Attempting Craft 2 -> 3 Upgrade | An Error occurred while handling another error

I'm trying to upgrade Craft 2 -> 3. I can install Craft 3 no problem, but when I try starting over/upgrading I'm hitting this error. The Craft 2 site is running the latest version of Craft. MacOS ...
2
votes
2answers
685 views

Running Craft updates

This is a newbie question regarding running Craft updates. In the past I've been caught out by stupidly running updates on the live server. I'm now trying to get into the habit of running the updates ...
2
votes
1answer
59 views

Why should I update Craft CMS?

Haven't updated since version 2.6.2949 - are there any potential negative consequences of not updating? If so, what are they? Thanks.
2
votes
2answers
261 views

How do I perform a critical update if my Craft site relies on older plugins?

I recently came across a website in this situation and am curious to here how others approach this problem. Here's the scenario: A client had a website built on Craft 2.4 with a lot of integration ...
2
votes
2answers
369 views

How to update from a very old version of Craft?

I'm trying to update an old site that is still running on Craft 2.2 (from September 2014), but unfortunately the update process to the current version (2.6) breaks. Does anyone have any experience of ...
2
votes
1answer
310 views

Config option to disable update capability per environment [duplicate]

In our workflow, we run a shared development server. Each developer develops locally but points to the development database. All Craft software updates need to happen while in the local environment ...
2
votes
2answers
2k views

How do I fix PHP Notice - Undefined index: releaseDate?

I'm getting this error: Undefined index: releaseDate in craft/app/etc/behaviors/AppBehavior.php(500) Line 500: $row['releaseDate'] = DateTime::createFromString($row['releaseDate'], null, false); ...
2
votes
2answers
433 views

Updating Craft 3 from ver. 3.0.28 10/23/2018

I have to update Craft 3 from ver. 3.0.28 10/23/2018, but i got this message: You’ve reached a breakpoint! More updates will become available after you install Craft CMS 3.0.40. How can i fix this ...
2
votes
2answers
1k views

Error when updating 2 to 3: Bad Request Unable to verify your data submission

Followed all steps on Upgrading from Craft 2 I have my .env, db.php, general.php and index.php in place... can't find any reference of this issue. This happens after "To complete the update, some ...
2
votes
2answers
449 views

Unable to update Craft: 'requires yiisoft/yii2-queue 2.1.0'

I've got another update issue with the following error. Can anyone help? craftcms/cms 3.0.27 requires yiisoft/yii2-queue 2.1.0 -> satisfiable by yiisoft/yii2-queue[2.1.0] but these ...
2
votes
1answer
491 views

'Could Not Find Your Craft/ Folder' After Updating

I updated to the latest version of Craft, and I am getting this error: Could not find your craft/ folder. Please ensure that $craftPath is set correctly in /storage/xxxxxxx/www/public_html/index....
2
votes
1answer
600 views

Deprecated Warning

Just received this deprecated warning in the dashboard. However the file it refers to does not contain the deprecated code. Any ideas? I can locate the deprecated function in several core files though....
2
votes
1answer
931 views

How to configure Craft to use a Proxy?

I have a Craft application in an intranet behind a proxy. I'm struggling to find a way of configuring the application so it can access the internet via the proxy, in particular for the auto updating ...
1
vote
1answer
291 views

Can't update past CraftCMS 3 RC15

I am currently developing my first website using Craft 3 and I'm loving it overall. I seem to have a small issue that I can't quite figure out. When I go to the updates section in the admin panel, I ...
1
vote
2answers
541 views

Why is Craft returning a 504 during a system update?

There have been a few updates to the system and some of the plugins I am using. I have installed everything locally and a plugin needed to run new migrations as a result of the update. Everything ...
1
vote
2answers
196 views

Problem with manual upgrade

I tried to upgrade a website that I have to the latest version 2.6.2930 from an older 2.6.2804 and for an unknown reason the upgrade failed. I couldn't log in the administration area but the front end ...
1
vote
1answer
151 views

Dependency Conflict Updating to Craft 3.5

I'm trying to update to Craft 3.5 from 3.4.3 but running into this error message: Composer output: Package "craftcms/vue-asset" listed for update is not installed. Ignoring. Loading composer ...
1
vote
1answer
684 views

Allowed memory size of 1610612736 bytes exhausted when updating via CLI on OS X

This one has been bugging me for months. My development environment is running on MAMP on OS X. It's worked absolutely find for ages but for no reason that I can identify all my Craft sites now ...
1
vote
2answers
467 views

Craft 3 wont update in Laravel Valet development enviornment

I'm using Laravel Valet with Craft 3 (Craft 3.0.0-RC13) and Sequel Pro. I can't seem to get Craft to update. I just get a warning sign and a message saying that it couldn't back up the database. ...
1
vote
1answer
184 views

Unable to load the “Craft\xyz” runtime after Craft update

After updating from Craft CMS 2.6.2973 to Craft CMS 2.6.2981 I get the following error message: "Unable to load the "Craft\xyz" runtime after Craft update" "Craft\xyz" is a Twig extension Fails in [...
1
vote
1answer
119 views

My site is down and I can't access the admin panel after attempting an automatic update [closed]

I attempted to update my website by pressing the update button in the control panel. It failed and now site is down. How do I fix this? I don't have a backup to restore.
1
vote
1answer
323 views

How can I display dateUpdated for the most recent updated entry in a category?

I would like to display the date that the site was last updated. This date is the same as the last entry added to a specific category. Thanks in advance.
1
vote
1answer
581 views

Craft files and DB out of sync

A client's site is currently showing this message: Craft does not support backtracking to this version. Please upload Craft 2773 or later. I understand how to fix it, but I don't understand how ...
1
vote
1answer
67 views

How does the allowAutoUpdates setting differentiate?

I'm not quite sure from the documentation what the difference is between 'minor' and 'build' updates. How would the allowAutoUpdates general config setting have treated the update from 2.4.2726 to 2....
1
vote
1answer
82 views

Error Updating Freeform Pro

I recently renewed many licenses on a previously-neglected site and have been attempting to update both the CMS and the plugins. Despite having a Freeform Pro license, the plugin appears as Freeform ...
1
vote
1answer
35 views

Craft updater still spinning after at least half an hour--no error message

I hadn't updated site in a while now. Checked Craft's control panel and something like 12 updates were available and i clicked update. "Updating Composer dependencies (this may take a minute)…" has ...
1
vote
1answer
45 views

Update issues on local laravel valet

When I update any plugins ( and I mean any not specific) the vendor package vlucas (Php DotEnv) is removed and the site subsequently breaks complaining it cannot find the DOT env file. Manual update ...
1
vote
1answer
45 views

3.2 upgrade, drafts table error

When I try to upgrade to 3.2 on my site I get an error saying the drafts table already exists. Does anyone know of any plugins that use such a table? I'm trying to sort out what's going on.
1
vote
1answer
34 views

Internal Server Error - getDateFormatter() on null

When doing a manual update from 2.6.3012 to 2.7.8, I get the following error: Internal Server Error Call to a member function getDateFormatter() on null I get the following error when enabling ...
1
vote
1answer
72 views

Latest update to Craft 3.1.27 crashed server

I updated the site locally to 3.1.27 (it is working fine) and moved the vendor files, composer.lock and composer.json to the server. After the update, I went to the admin and clicked on the "...
1
vote
1answer
74 views

Craft update process affecting Element API cache

I have a site A using the Element API plugin to feed content to site B via JSON and handlebars templates. The process is both sites are up to date with content 'x' and it works fine. When I run the ...
1
vote
1answer
59 views

Interne Serverfout after one click update

Hello and good evening, After the one click update the message 'Interne Serverfout' appears on the screen. One can no longer connect to either the fron or backend of the installation ? What is the ...
1
vote
1answer
226 views

Error: Call to undefined function Craft\mb_convertOcase() after updating to 2.6.3017 [closed]

Just updated Craft 2.6.3002 to 2.6.3017 and am getting the following error in the CP & front-end: Call to undefined function Craft\mb_convertOcase() /craft/app/helpers/StringHelper.php(558). On ...
1
vote
1answer
1k views

Updating Craft 3 from RC3 to RC4 through Composer

I have a problem when updating with Composer. My installation command line was this one: php composer.phar create-project -s RC craftcms/craft $HOME/craft As such, I tried to update, as per Ryan ...