How to update 5.7

Permalink
Hello

I see there is new update to 5.7.2, but I how can I update 5.7.1 to 5.7.2? Because I don't see any option to update and when I go to Backup & Restore I got the information that "No updates available. ". I hope that I need to stay with the same version since the begin...

thank you very much.

pedroserapio
 
andrew replied on at Permalink Reply
andrew
Download 5.7.2 from the download page, and place the directory inside your site's updates/ directory. Login as an admin and go to the Update concrete5 page in the dashboard and you should see 5.7.2. as an option. Click through to update.

if the update doesn't seem to take (e.g. it says that you're not running 5.7.2) – you can "force" the upgrade to take place by clicking that force upgrade link.
peterdenk replied on at Permalink Reply
Is it all ways supposed to work like this in 5.7 or when are we going to get back the old sleek way of upgrading? (just click Update and the file is downloaded to the server and updated)
andrew replied on at Permalink Reply
andrew
We plan on re-enabling the downloadable upgrades very soon, hopefully in the next point release (5.7.2.1.)
eguest replied on at Permalink Reply
The problem with this is that concrete5 will not work unless you keep the update directory in place. This means that concrete5 is taking up twice the amount of space it should - and I am running out of space.

Is there a way round this?
tipweb replied on at Permalink Reply
Where should be this 'updates' directory? I don't find it in my concrete 5.7.1 installation.
Regards
Matthias
MrKDilkington replied on at Permalink Reply 1 Attachment
MrKDilkington
The updates directory should be in your site root. You can make a new one in case you deleted it.
tipweb replied on at Permalink Reply
Thank you, it worked. Aferwards I could delete the update-directory and clear the enty in the update.php file. So I think, there is no extra diskspace needen.
tipweb replied on at Permalink Reply
Does anyone know, if I really use 5.7.2 when I delete the content in the updates folder? How can i test if I use 5.7.2 or am back to 5.7.1?
mhawke replied on at Permalink Reply
mhawke
I think you are back to 5.7.1 if you delete the 5.7.2 files from the /updates folder. If you right-click your page and choose View Source, you should be able to see what version is running near the top of the source code.

<meta name="generator" content="concrete5 - 5.7.2" />
tipweb replied on at Permalink Reply
Thank you. It seems, that there is actually no way to savely upgrade concrete5.7.1 in place without having to double the diskspace needed. It would be nice to add this option.
tipweb replied on at Permalink Reply
Upgrading with replacing the old version of concrete5 can be done now with 5.7.2.1, see:
http://www.concrete5.org/documentation/developers/5.7/installation/...
So you don't need to much disk space.
pedroserapio replied on at Permalink Reply
pedroserapio
Sorry, I didn't reply to your message. I was thinking that I deleted the Discussion because I found one solution in another post.
Thank you very much.
thakurtech replied on at Permalink Reply
thakurtech
Thanks Andrew. Super simple way to update. It went very smooth update for me. :)
worxbranding replied on at Permalink Reply
When I try to update 5.7.1 to 5.7.2 I get the message "Unable to write to config/site.php. You must make config/site.php writable in order to upgrade in this manner." however as far as I'm aware there is no site.php in this version of concrete5
alexwag replied on at Permalink Reply
I was able to upgrade a test site from 5.7.2 -> 5.7.2.1

Uploading files through the File Manager works ok but now I get the following error when trying to do a file upload via a form..

An unexpected error occurred.

Class 'Concrete\Block\Form\FileImporter' not found
andrew replied on at Permalink Reply
andrew
This is a bug. It is fixed and will be released in 5.7.2.2
krousen1956 replied on at Permalink Reply
I upgrade 5.7.2 to 5.7.2.1 on my local drive and with MAMP (this is not a live site, just local dev).

My site uses special a Page Type. The Page Type has 2 Text Area - Rich Text Attributes added.

Now, these pages show the content as HTML and not as styled text and images. For example, You should see "A sentence.", instead, you see "<p>A sentence.</p>"

When you edit the pages' in Composer, the content appears correctly in the editors. I also checked the data in the database table, and everything is correct. The data is HTML.

It's as if the HTML is being encoded with entities.

Has anyone else who upgraded experienced this? How do I fix it?
maximk replied on at Permalink Reply
I have founded how to fix this problem in 5.7.2.1

see repository here

https://github.com/concrete5/concrete5-5.7.0/commit/3c84a9fe08084c14...