Questions tagged [updates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8
votes
7answers
19k views

"Unknown package has no name defined" composer error on upgrade

Upgrading from Craft 3.4.20 running Composer 1.10.17 on PHP 7.2. Running ./craft update all returns the following error: error: Unknown package has no name defined. [followed by JSON object related to ...
6
votes
7answers
2k 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 ...
5
votes
2answers
2k 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
4k 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 ...
5
votes
1answer
198 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
2answers
4k 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 "...
4
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 ...
4
votes
2answers
2k 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
572 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
3answers
958 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
311 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
129 views

Update from 3.3.4.1 to 3.6.11.2 advice

What is the best way to do this? I also have a number of plugins that all need updating from the same time period. I don't think any of the breaking changes affect anything I've done, but I wonder/...
3
votes
1answer
884 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
1answer
2k 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
2answers
150 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
2answers
4k views

ext-zip trouble

Issue: craftcms/cms 3.3.9 requires ext-zip * -> the requested PHP extension zip is missing from your system. Details: I am running on MAMP Pro 5.3. Currently using PHP 7.3.3 (but previous versions ...
2
votes
3answers
267 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
2answers
604 views

Craft 3.5.1 CLI Update Error: Failed to instantiate component or class "yii\shell\Bootstrap"

when I try to update Craft via CLI to 3.5.1. I get the following error: Failed to instantiate component or class "yii\shell\Bootstrap in /vendor/yiisoft/yii2/di/Container.php:449 Stack trace: #0 ...
2
votes
1answer
467 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
1answer
29 views

Plugin record no dateUpdated and uid

I'm building a small analytics plugin and as such, I don't need the dateUpdated and uid columns in my records, but I dind't find any way of disabling them. Currently I have tried: Not setting them in ...
2
votes
2answers
238 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
384 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
498 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
318 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
936 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
202 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
493 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
158 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
34 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
441 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
3answers
333 views

Updating Craft to 3.3.19 gives 503 error only for logged-out users

Working on an outdated client project and updated craft on staging from 3.0.30.1 to 3.3.19 I'm getting 503 errors (site temporarily unavailable) when trying to visit any page on the site -- but only ...
1
vote
2answers
82 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
556 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
595 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
195 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
515 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
2k 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
135 views

Updating to 3.7 issue (applying m210602_111300_project_config_names_in_config)

Probably my fault — I’m generally OK with this stuff until something goes wrong — but… I updated a local install (MAMP PRO) to Craft 3.7 by clicking that lovely 'update' button. And it worked fine, ...
1
vote
1answer
115 views

Commerce new order error : mail::getRenderLanguage() must be of the type string

I just pushed an update to the latest version of craft cms and craft commerce and ran into an error that is blocking new orders from finalizing. Everything works on the local site. On the live site, ...
1
vote
1answer
25 views

dev- branch plugin forks being prompted for update

I'm currently using a fork of a plugin for my site, and using a "dev-[branch-name]" version specification in the composer "require" block, with a "vcs" repository ...
1
vote
1answer
287 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
2answers
91 views

Craft 2 to Craft update - timeout when updating database

I am trying to update a site from Craft 2 to Craft 3. I first set up a new server, installed Craft 3, copied over config settings from the original site, and moved over a copy the original database. I ...
1
vote
1answer
85 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
543 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
509 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
2answers
1k 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
60 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
1k 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
720 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
3k views

"Error: Unknown package has no name defined" when updating Craft 3

I'm getting "Error: Unknown package has no name defined" when updating a site from 3.0.41.1 to 3.5.15.1 I had read a reinstall of composer had fixed this for someone else, but hasn't for me. ...