Questions tagged [updates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
56 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
34 views

Update from 3.5.19 to 3.6.15 Failed

Tried doing an update to 3.6.x from 3.5.19 from the terminal and got this horrifying message: `` Performing one update: - craft 3.5.19 => 3.6.15 Backup the database? (yes|no) [yes]:yes Backing up ...
3
votes
1answer
98 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/...
2
votes
1answer
28 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 ...
1
vote
1answer
84 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
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. ...
1
vote
1answer
19 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
44 views

Update 3.5.15.1 - Fixed a bug where the Updates utility wasn’t showing “Update” buttons

The update button is missing, and the fix is available, but impossible to initiate from the CP. Before I embark on a manual update, I wondered if there was a URL that I could use to trigger the ...
8
votes
5answers
14k 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 ...
0
votes
0answers
109 views

Stuck upgrade from Craft 3.4

Getting a bit stuck on a site upgrade from 3.4 (3.4.29.1). After updating via composer getting DB errors. Initially: Integrity constraint violation: SQLSTATE[23000]: Integrity constraint violation: ...
1
vote
1answer
268 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 ...
2
votes
1answer
490 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 ...
1
vote
2answers
80 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
23 views

What does update actually do?

Upon updating CraftCMS via CP > Utilities or Terminal, does this update only the vendor folder? Or does it also change structure in the DB and other files outside the vendor?
1
vote
1answer
122 views

Updating old setup (3.0.41.1) to 3.1.0 various errors every time

I'm unfortunately dealing with a very old system that hasn't been updated in a long time. I've been able to update it up to 3.0.41.1 but once I attempt to go any further I get tons of different errors....
1
vote
1answer
326 views

AWS EC2, Load Balancer and Updating Craft

I have a pretty large Craft site that needs to be load balanced with multiple ec2 instances and one RDS mysql instance. Everything is working great, except for I noticed that if I get to the admin ...
1
vote
3answers
317 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 ...
2
votes
2answers
3k 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
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 ...
1
vote
1answer
317 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 ...
3
votes
1answer
300 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,...
1
vote
1answer
133 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
81 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
1answer
41 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 ...
2
votes
2answers
224 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/...
3
votes
3answers
912 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 ...
1
vote
1answer
156 views

Craft CP showing plugin updates, but already updated

This morning there were new updates for Craft CMS, Contact Form and Simplemap on a Craft Pro site I host. I updated everything through the Craft CP. After the update, the CP still shows available ...
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 ...
1
vote
1answer
30 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
102 views

Error when updating from 3.1.11 to 3.1.15

After I run an update, I get this error: '⚠' is not a numeric value. I've tried to run the updates multiple times with the same result. I was also able to update plugins with no issues. yii\base\...
1
vote
0answers
237 views

Every time I perform updates on Craft 3, I get errors

What is going on in Craft 3, seems like Composer has caused more problems than good. Every time I have had to update a dev/staging environment I run into issues and have to go and manually update the ...
1
vote
1answer
75 views

Updates on live server without using Control Panel

I'll freely admit to being a bit of a newb when it comes to SSH but wanting to start utilizing it more for my Craft3 sites. Maybe this is an irrelevant question but is it possible to update craft on ...
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

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 ...
1
vote
1answer
776 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 ...
0
votes
0answers
46 views

CP doesn't recognize update from 2.7.3 to 2.7.4

I have a site running Craft 2.7.3. My update flow is to make sure that my development branch is up to date (with no outstanding commits) and that my local db is up to date with production. I then ...
1
vote
1answer
52 views

Offline update then upload files to server

What's the best way to update Craft offline and then upload the files to the server? Reason I'm asking is because my updates often fail because of too low PHP memory and I don't have control over the ...
1
vote
2answers
515 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
494 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 ...
0
votes
1answer
1k views

Unable to Update Craft CMS & Plugins [duplicate]

When trying to update CraftCMS I'm getting the following errors: Error: An error occurred Output: Loading composer repositories with package information Updating dependencies Your requirements could ...
1
vote
1answer
553 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 ...
2
votes
1answer
309 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 ...
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 ...
1
vote
1answer
265 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
506 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-...
2
votes
1answer
465 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
929 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\...
1
vote
1answer
586 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
192 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?