Questions tagged [updates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
991 views

Bulk resave entries to trigger onSaveEntry event

I have a site with a hundred+ or so entries. I've added a new field to my entry template, but it won't take effect until it's been activated by a onSaveEntry event. I've gone through maybe 15 ...
5
votes
1answer
187 views

DB Update Trigger

When there are updates to Craft, I perform them locally against a local database. The files are then committed to a repository. I then use Capistrano to deploy the updated installation to various ...
4
votes
7answers
756 views

Invalid plugin: No plugin exists with the handle - Craft 3

I had an issue with my site running Craft 3.1.15 where I wasn't able to update the site to the most recent 3.1.16, and also wasn't able to install any plugins. Every plugin I tried would throw this ...
4
votes
1answer
2k views

Composer was unable to install the updates

Using Craft 3 and recently installed the https://github.com/supercool/tablemaker plugin. When I try to update Craft via the Control panel now I am getting the following error. Error: An error ...
4
votes
2answers
1k views

Can't update to 3.1.x

I'm in a multi config env, local, staging & production. I sync my databases down to local then usually update locally, then push to staging and check again before going live. The recent 3.1 ...
3
votes
1answer
476 views

Where is Auto Update?

I am attempting to update my craft instance from Craft CMS 2.6.2781 to the latest. (Critical Update). Unlike before where there was a button that would do everything for me nicely and automatically, ...
3
votes
2answers
1k 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
3answers
209 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
93 views

How to determine source of Elements save event

We need to send notification emails when entries of a particular type are created, updated, or enabled/disabled. The entrypoint for this happens in a module's init() method: Event::on(Elements::class,...
3
votes
1answer
800 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 ...
2
votes
2answers
147 views

Is it safe to make the 'app' folder writeable by the web server?

To allow one-click updates on my site, I need to make the Craft 'app' folder writeable by the web server. Doesn't this present a security concern...to allow the actual php files of the application to ...
2
votes
1answer
1k views

Craft 3: Update database after CMS upgrade via console command

Is there any craft command command (shell) which can be used to perform the database updates necessary after a CMS update? (e.g. Craft3 beta-28 to beta29 or multi version updates) Background: We are ...
2
votes
3answers
255 views

Manual update to 2.6.2931

After uploading the app-new folder to my server, renaming it and logging in to the admin area. The website responds with a 'System not available message' (in Dutch) for both front and admin end. ...
2
votes
1answer
1k views

“Craft isn't installed yet” error after updating to Craft 3.1

I just updated to Craft 3.1 and logged into the admin to make the required updates to the database and this all worked fine. However, when I use the new ./craft update CLI feature, it responds with "...
2
votes
1answer
331 views

Can't update or install plugins locally, macOS

I'm unable to update or install plugins in Craft 3. Running in macOS via MAMP, PHP 7.0.8. Error: The "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8" file ...
2
votes
2answers
76 views

my vendor/craftcms/cms folder delete automatically after every update or install

I was on version 3.1.22. As usual, I wanted to install the update on Craft CMS 3.1.23. So I clicked Install and got this error: Status: Error But that was not all ... My complete vendor/craftcms/...
2
votes
1answer
364 views

craft/app: gitignore, or no?

Just looking for pros and cons here, I guess. My gut says to let updates flow through version control, but the part of me that wants to give up web design and become a mountain man says it might be ...
2
votes
1answer
439 views

Invalid path after Craft update

I updated to the latest Craft version. This error shows under the field in entries (backend): This field’s target subfolder path is invalid: {slug} I checked the field and there is no {slug} tag at ...
2
votes
1answer
206 views

Craft 3 updates & plugins without allow_url_fopen or SSH

I have set up a Craft 3 site on shared hosting. When I try to update Craft or install plugins via the CP, I get the following error: The "https://composer.craftcms.com/packages.json" file could not ...
2
votes
2answers
825 views

Craft 3 update failure

i wanted update a new installed craft3 and got this message: I took a look in the web.log file. The first line from today gives an error: 2018-04-25 03:39:23 [85.7.133.198][-][-][error][yii\base\...
2
votes
1answer
181 views

Locked out of admin panel after update

I updated a very old Craft installation (v2.6.2794 to v2.6.2971) and now I'm locked out off the admin area. I can get to the login panel and log in but once in I just get 500 errors. After turning on ...
2
votes
1answer
444 views

Updating Craft in Laravel Valet dev enviornment

I ran into an issue updating Craft and Craft Commerce in my development environment. I am using Laravel Valet. As soon as I want to update (tried manual as well) Craft will throw the error : Unable ...
2
votes
1answer
137 views

Update matrix onBeforeSaveUser

I have a matrix block attached to my user, the block handler is children and has one field dob date filed something like this: fields[children][420][fields][childrenDateOfBirth][date] The problem ...
2
votes
0answers
25 views

How to protect elements that are being edited during project-config/sync?

Some situations: An editor is editing an entry in the CP while an admin runs project-config/sync. A user starts a front end form to create a new entry before project-config/sync is run, but submits ...
2
votes
1answer
424 views

Console command runing from Cron job failing after Craft update

I have had a custom console command running fine for several months now which sent out reminder emails to users when there accounts are about to expire. After the latest Craft update (I believe) it ...
1
vote
2answers
71 views

Apply updates automatically when available

Is it possible to automatically apply Craft CMS updates when they become available? At the moment, I have to go into the CPanel and apply updates with the one-click option. Maybe I can do this with ...
1
vote
1answer
421 views

Can't update past 3.0.15

Here's what I'm getting: Error: An error occurred Output: Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set ...
1
vote
1answer
495 views

Getting HTTP 500 error at end of update process when going from Craft 2 to Craft 3 with MAMP

When I try to perform an update from Craft 2 to Craft 3 I am getting a 500 error at, what appears to be, the end of the process. No other info is given. I am using MAMP Pro V4 for Mac.
1
vote
2answers
148 views

Craft 3 automatic update

Does anyone think there will be an automatic update from 2-3? Or as the file structure is different do you think it'll be unlikely?
1
vote
1answer
484 views

Cannot update Craft, only download the zip

Recently I cannot update Craft on a server. From versions 2.6.2778 and 2.6.2779. I only can download the zip to install it myself. What could be wrong here? Thanks in advance. PHP: 5.6.16-1byte1 ...
1
vote
2answers
1k views

500 error on updating Craft

I'm trying to update from 2.3.2640 to 2.3.2644, but I get a 500 error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. ...
1
vote
1answer
38 views

Database migrations on environments - in which env do I apply updates to Craft and Plugins?

When developing a Craft 3 site on a multi-environment setup, where would I apply the Craft and Plugin updates? Should I apply them locally and then commit and replace the database in the dev env, or ...
1
vote
2answers
152 views

Update Craft CMS, now I get HTTP ERROR 500

I have a site that's been running Craft 3 and has been running smoothly for several months now. I was going to update a post today, and noticed that there were updates to Craft 3 that needed to ...
1
vote
2answers
225 views

Getting fatal error when installing new plugin by hitting memory_limit

I am trying to locally install Craft Typed Link Field from the plugin store and I'm getting this PHP error. I have already upped my memory_limit to 256M within my php.ini file, yet this is claiming ...
1
vote
1answer
43 views

Available updates not displaying on local copy but show up on live site; instead displays “You're all up to date!” with 5 pending updates

When I attempt to display available updates on my local copy, Craft is unable to display them and instead shows “You’re all up-to-date!”. Available updates do display on my live copy, as well as on ...
1
vote
2answers
980 views

Craft cannot finalise update - There was a problem updating your database

I've got an issue that following a server rebuild, I was prompted to update Craft, which I did by moving a brand new craft/app folder into place - then setting relevant permissions. I then tried to ...
1
vote
1answer
408 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
224 views

How to update Craft CMS/plugins without downtime?

On our production server, we have strict SLAs concerning when our site can be down. I've noticed that when I update Craft CMS 3 (using "./craft update all" on the server), the site will go down for ...
1
vote
1answer
29 views

Updating large database from Craft 2 > 3 via command line

I'm migrating a large Craft + Commerce site up to Craft 3. I've completed all the initial steps and get as far as the "To complete the update, some changes must be made to your database. Finish up" ...
1
vote
1answer
26 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
23 views

Plugin not updating in the plugin store from changelog updates

I have a custom plugin registered with id.craftcms.com. The plugin store currently sees it at as 2.0.0, but I have since updated the plugin to 2.0.1 (and subsequently tried to force a silent 2.0.2 ...
1
vote
1answer
442 views

HTTP 500 Error after trying to update to Craft 3.1.1

I just tried to update Craft to 3.1.1 from within the CP. The install failed and I got an Internal Server 500 error. I now can't load either the front or backend of the site, I get a 500 error in both ...
1
vote
2answers
633 views

Craft 3 CMS Update Error

I try to update my craft3 cms system. Ошибка: An error occurred Вывод: Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an ...
1
vote
1answer
160 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
371 views

Craft 2 -> 3 Update /admin 404

I'm attempting to update a craft 2 site to craft 3. Following these instructions, I used composer to install Craft: https://docs.craftcms.com/v3/upgrade.html#if-you-want-your-directory-structure-to-...
1
vote
1answer
280 views

Craft unable to determine if an update is available?

I just cloned a production site to run in a local environment to test and make sure the site was compatible with PHP7 in preparation for a production server upgrade. For the most part, it seems to ...
1
vote
1answer
33 views

Internal Server Error Regarding ElementHelper.php.bak

I am getting the following error on my local machine when updating Craft 2.6. /craft/app/helpers/ElementHelper.php.bak: failed to open stream: Permission denied I don't even see that file in the ...
1
vote
1answer
195 views

Recoverable error Object of class Craft\ElementCriteriaModel could not be converted to string after Update

After running Craft update I'm getting error on the meta author, meta description and meta keywords fields. Any idea how to resolve issue? Recoverable error Object of class Craft\...
1
vote
1answer
274 views

Manual Update 500 error

Downloaded latest release, pushed app-new to server, renamed app to app-old, renamed app-new to app. Try to go to admin, and I get a 500 error. Server error log shows. 2017-11-15 12:29:29 Error ...
1
vote
1answer
25 views

Issues with Updating

Is a backup needed before updating? Will installing new updates have any affect on the pages already saved or the existing structure?