Updating 5.7

Permalink
I just finished my first 5.7 site, starting the next and wanted to try 5.7.4RC. Read this page:http://www.concrete5.org/documentation/developers/5.7/installation/...
But it doesn't work.
- Dashboard > System and Settings > Update Concrete5: does not exist in my dashboard!
- my-site/ccm/system/upgrade: does not exist in my installation!
How can I update my installation to 5.7.4?

cgrauer
 
edbeeny replied on at Permalink Reply
edbeeny
Login to your site.
Download the RC fromhttp:////www.concrete5.org/download_file/-/view/78080/... and replace the concrete folder with the downloaded version.
Then browse tohttp://www.yoursite.com/ccm/system/upgrade... which will run the upgrade scripts.
cgrauer replied on at Permalink Reply
cgrauer
Thanks for your reply!

I exactly did this but only got 404. But I found that I had to put "index.php/" before the path!

But now the script tells me that my installation was up to date with 5.7.3.1 - while the script that told this actually is part of the 5.7.4RC bundle!!

So still no update is done :-(
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
Try forcing it:

http://yoursite.com/index.php/ccm/system/upgrade?force=1
cgrauer replied on at Permalink Reply
cgrauer
ok, thanks for this option! Update proceeds but at the end it still says: "Upgrade to 5.7.3.1 complete". Is it or is it not 5.7.4? As I replaced the concrete folder, the code actually IS 5.7.4. But what about the database?
(As I mentioned already 7 years ago (!), c5 still doesn't show the current version number on my dashboard...)
edbeeny replied on at Permalink Reply
edbeeny
What does your environment information say?
/index.php/dashboard/system/environment/info


Did you use the link above to download?
cgrauer replied on at Permalink Reply
cgrauer
It says:
# concrete5 Version
Core Version - 5.7.3.1
Version Installed - 5.7.3.1
Database Version - 20150109000000


Yes, I used the link on the get-starter page on the c5 website:
http://www.concrete5.org/download_file/-/view/78080/...

Meanwhile I made an additional clean installation with 5.74RC2 and it works fine. Still there is no update option though...
edbeeny replied on at Permalink Reply
edbeeny
Did you replace the contents of the concrete folder with the downloaded version? Then run the update script.
cgrauer replied on at Permalink Reply
cgrauer
That's exactly what I did. Like I did about 100 times before with previous versions of c5...
edbeeny replied on at Permalink Reply
edbeeny
What if anything have you got in your updates folder? Replace that concrete folder.
ntisithoj replied on at Permalink Reply
ntisithoj
Any resolution to this? I am having the same problem. I replaced the entire concrete folder, from both the git source and the downloaded source. The updates folder is empty in both, as can be easily confirmed by looking at the got repo online.

The 'force=1' soltuin just results in
[code]
The table with name 'bluekitelabs.multilingualpagerelations' already exists.
[code]

I am running in a private browser window with all cache turned off on the server side, FWIW
MrKDilkington replied on at Permalink Reply
MrKDilkington
@ntisithoj

I recommend giving this How-To a look.
http://www.concrete5.org/documentation/how-tos/developers/how-to-ma...
ntisithoj replied on at Permalink Reply
ntisithoj
Thanks for replying.

I have read the instructions on that page, but maybe I am missing something because they explain how to do exactly what I said I did.

When I said " I replaced the entire concrete folder" I meant I replaced the entire concrete directory of my 5.7.3.1 install with the concrete directory of 5.7.4 download both from git and from the download.

Did I miss something?
ntisithoj replied on at Permalink Reply
ntisithoj
also, where exactly is the upgrade script as I see that web/updates is empty. Where does the upgrade script live?
exchangecore replied on at Permalink Reply
exchangecore
The upgrade script lives in /web/concrete/controllers/upgrade.php

https://github.com/concrete5/concrete5/blob/5.7.4/web/concrete/contr...
ntisithoj replied on at Permalink Reply
ntisithoj
thanks.

Where does C5 look to see what version must be installed?

I see in the concrete/config/concrete.php of the live site is says , as it should because this is the NEW C5 I added manually

return array(
    /**
     * Current Version
     *
     * @var string
     */
    'version'           => '5.7.5a1',
    'version_installed' => '5.7.5a1',
    'version_db' => '20150623000000', // the key of the latest database migration
    /**
     * Installation status
     *
     * @var bool
     */   
    'installed'         => true,  (tried changing to false, just in case, but no diff)


but going to /index.php/ccm/system/upgrade shows
Your site is already up to date! The current version of concrete5 is 5.7.3.1.


Any ideas why the current code it set to 5.7.5a1 but it reporting 5.7.3.1? In there another files it is looking at to get this info?
exchangecore replied on at Permalink Reply
exchangecore
First off. You shouldn't go from 5.7.3.1 to 5.7.5a1 (that's just asking for trouble jumping to an alpha version). I'd recommend going from 5.7.3.1 to 5.7.4 or maybe 5.7.4.2.

Your current application version can be found in application/config/generated_overrides/concrete.php
ntisithoj replied on at Permalink Reply
ntisithoj
I agree. I originally tried 5.7.4.2 with the official download. when that did not work I tried the git rep, which is the later version. In either case, the upgrade script is not seeing concrete/config/concrete.php

This is really a problem as I can not think of any other way to upgrade. I though perhaps I could install a virgin 5.7.4 then copy over all the database info record by record... but that I will probably be missing data that 5.7.3 does not have that 5.7.3 needs.

Any ideas How I could upgrade, using any method possible?
byvictoria replied on at Permalink Reply
byvictoria
Same problem, I cant update from 5.7.3.1...