3
votes
Can't Update CraftCMS
In Craft 3 and upwards you should have a vendor folder that is created and updated with composer. You would do the update locally (I recommend docker and ddev), which will update composer.json, ...
3
votes
Newbie: Migrating Craft website to new host questions
First of, Craft is very different from WordPress. With WordPress you can build a site without writing a single line of code using prebuilt themes and plugins, so it's easier to answer questions like ...
3
votes
Manual update fails on server
I figured it out. It was super unexpected, after turning on errors finally, I got
Fatal error: Class 'Craft\AppPathCacheDependency' not found in
Then I realized that GIT didn't include that file, ...
2
votes
Can't update from v2.6.2789 via manual update
Are you 100% sure you are updating the right website/folder and not looking at the wrong one? Are you sure you are using the newest version of craft to install and not your old download?
If this is ...
2
votes
Accepted
Update Error: Could not validate update handle
Looks like the issue had to do with my production environment being load-balanced. To avoid errors like these on load balanced sites, remember to set the validationKey and appId config keys in your ...
2
votes
Why is Craft returning a 504 during a system update?
I've had this issue before.
It's usually to do with one of two things for me - either the PHP script timeout value or the FPM proxy timeout value.
Another method of fixing this is to change the ...
2
votes
"Craft CMS does not support backtracking to this version. Please upload Craft CMS 0 or later."
I have the same error and used an older dump. I was, later on, able to access the admin panel.
2
votes
Accepted
"Craft CMS does not support backtracking to this version. Please upload Craft CMS 0 or later."
Turns out I hadn't fully uploaded the app folder when I tried to access it earlier. Tried again, made sure it was finished before renaming and it worked fine.
2
votes
Accepted
Update Craft to a specific release from the CLI
I think this console command should do what you want:
./craft update/update craft:3.7.2
The docs for the update command are here, if you want to pass in further options or update plugins at the same ...
2
votes
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
Adding my comment as an answer because it fixed my issue:
I traced the issue to a deprecation warning involving $HTTP_RAW_POST_DATA being populated.
I added the line always_populate_raw_post_data = ...
1
vote
Upgrading from Craft 3.7.1 to 3.7.19
Thanks to your insights I was able to track down the issue; the m190519_185640_soft_delete_login_accounts file had a bug in it.
On line #28: ->where('userElements.dateDeleted IS NOT NULL')
I ...
1
vote
Accepted
Problems updating Craft CMS form 3.7.45.1 to 3.7.55.2
You gave a slightly confusing description
What is in the screenshot is not an error, but a warning that the package is outdated and it is better to get rid of it
The errors you are throwing are due to ...
1
vote
Manual Update 500 error
Re-downloaded manual update, and pushed to the server via ftp again fixed the issue. Download might have been corrupt is my only thought.
1
vote
Issues with Updating
Is a backup needed before updating?
It's definitely recommended.
Regardless of it is an auto-update or a manual update, Craft will attempt to perform a database backup if the backupDbOnUpdate config ...
1
vote
How to update Craft CMS/plugins without downtime?
I think the best solution would be to integrate a CI with "Zero downtime deployment".
You may have a look at this article:
https://craftquest.io/articles/what-are-zero-downtime-atomic-deployments
...
1
vote
Accepted
Internal Server Error - getDateFormatter() on null
Craft support had suggested looking into the locales table, which had a singular entry for en_us.
What allowed me to update was to copy the following folder and its content: app/framework/i18n/data. ...
1
vote
Accepted
Ran the Craft Updater from Control Panel the current install is no longer working
Try running
composer update
Via the command line while in ssh
Or download the latest Craft files and replace your files. Mainly vendor/craftcms it looks like.
Edit:
Update composer.json to this ...
1
vote
Accepted
Craft 3 updates & plugins without allow_url_fopen or SSH
Is the only option to avoid CMS access temporarily, copy down the live database, do any updating locally and then upload the file changes & update the live database?
Pretty much. You'll want to ...
1
vote
Can't update Craft 3, permissions issue
Here are the required Craft 3 file permissions: https://docs.craftcms.com/v3/installation.html#step-2-set-the-file-permissions
1
vote
Accepted
Craft 2: Exception: CException: Alias "ext.alpha" is invalid
Please download below extension and put alpha.php file in your craft extension folder:
https://www.yiiframework.com/extension/alpha
Best of luck..!!
1
vote
Accepted
Why is Craft returning a 504 during a system update?
Because your database is a decent size, your server is exceeding the maximum execution time. That is what is resulting in the 504.
Most likely, you will need to disable the auto-update feature and ...
1
vote
Accepted
Locked out of admin panel after update
I'd initially forgotten to turn on devMode to find out what the 500 error was. Once I did that I found out it was exhausting the memory. I had to raise it up to 1024M!
1
vote
Image Transform Internal Server Error (500 code) after Craft CMS update
More a workaround than a solution but I added
'imageDriver' => 'gd'
to the config so it didn't use Imagick anymore. Works as supposed to now.
1
vote
Craft cannot finalise update - There was a problem updating your database
FWIW, I had this same error when updating to 2.6.2956 today. I deleted my old app folder, replaced it with a fresh one, and still got the same error message.
Found the same error in my logfiles, so I ...
1
vote
Accepted
Craft cannot finalise update - There was a problem updating your database
Here's the key part from the logs:
2016/12/21 10:35:50 [error] [system.db.CDbCommand] CDbCommand::execute() failed: SQLSTATE[42S01]: Base table or view already exists: 1050 Table '...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
manual-updates × 35updates × 15
updating × 8
auto-updates × 6
database × 5
craft3 × 4
error × 3
hosting × 2
plugins × 1
control-panel × 1
config × 1
error-message × 1
image-transforms × 1
install × 1
migration × 1
server × 1
craft-pro × 1
404 × 1
license × 1
upgrades × 1
aws × 1
cli × 1
load-balancer × 1