Questions tagged [updates]
The updates tag has no usage guidance.
70
questions
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 ...
1
vote
1answer
226 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
94 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
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" ...
0
votes
0answers
18 views
Getting assets from single entry doesn't work after updating Craft to 3.2.1
I'm building a content website in Craft CMS. I use single entries to output images, but after I updated Craft to 3.2.1, this doesn't work. Everything else is working fine.
I get this error: Twig ...
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
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 ...
0
votes
0answers
24 views
Getting an update error
I tried running ./craft update and got:
Warning: require(/Users/xxx/Sites/xxx/vendor/craftcms/cms/bootstrap/console.php): failed to open stream: No such file or directory in /Users/xxx/Sites/xxx/...
0
votes
0answers
173 views
Craft update terminated with error and command line update says I'm up-to-date
I'm pretty stuck trying to update Craft (from 3.1.10 to 3.1.24). It used to work previously, but this time I tried a few times using the updator in CP, it always stops at this point:
Status: Internal ...
2
votes
2answers
79 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
214 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
64 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 ...
4
votes
7answers
773 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
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
74 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\...
0
votes
0answers
129 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
54 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 ...
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 "...
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 ...
1
vote
1answer
444 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
40 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
29 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
153 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
226 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
635 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
644 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
425 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
207 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 ...
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 ...
1
vote
1answer
161 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
374 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
335 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
826 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
498 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
149 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
0answers
387 views
Craft3: 1 Click update - broken site [closed]
Tried the 1 Click Update and it bombed.
on domain.com/admin/utlities/updates url I get
Twig Runtime Error – Twig_Error_Runtime
Variable "CraftPersonal" does not exist.
1. in /vendor/craftcms/cms/src/...
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
0answers
151 views
Updating Craft 3 from RC1 to RC7 throws ErrorException
I have two Craft CMS 3 websites using Vagrant/Homestead & VirtualBox as the local server. Both were on RC1, and when trying to update to RC7 I get this error:
yii\base\ErrorException: unlink(/...
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
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
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 ...
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 ...
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?
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
445 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 ...
5
votes
1answer
999 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 ...
1
vote
2answers
983 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
102 views
Local and Staging Environments allow for updates, Live doesn't (and doesn't recognise the license.key)
I'm just in the process of migrating a site from staging to live. I've pushed everything over and have copied/moved a license.key file from a site that we're no longer using to this one. However, when ...