Update to 5.6.2 not available?
Permalink
I'm running concrete5.6.1.2. From my dashboard I go to Update concrete5 and click check for updates.
It says that no updates are available!
How do I get my installation to recognize that 5.6.2 is out and I'd like to update to it?
Bob
It says that no updates are available!
How do I get my installation to recognize that 5.6.2 is out and I'd like to update to it?
Bob
Thanks! I didn't know there were two stages of public release; I'm just getting into concrete5 (while messing with SilverStripe 3) coming from Kirby CMS.
I'll give the official instructions a try, since my site is still on my development server and I don't care about a little "downtime." If they don't work, I'll try his.
Bob
I'll give the official instructions a try, since my site is still on my development server and I don't care about a little "downtime." If they don't work, I'll try his.
Bob
Adam's method is the only method I use because if things don't work, I can swap back in 5 seconds. It really is the simplest and fastest method but 'to each his own'.
As I said, I'm still new at this.
But the official way makes it easy to switch back, too, since it just adds a line to the config/site.php file pointing to the new version in the upgrades folder.
Am I missing something?
Bob
But the official way makes it easy to switch back, too, since it just adds a line to the config/site.php file pointing to the new version in the upgrades folder.
Am I missing something?
Bob
No you're not missing anything. I just hate having all the nonsense with the '[root]/updates' folder. When something isn't working, the paths to all the files are very long and convoluted and sometimes misleading. By updating the actual concrete folder, you keep the structure 'pure'. My shared hosting accounts also have limits on how many total files my plan can hold and every time the 'official' upgrade method adds a new version in the 'updates' folder, I get closer to my limit. You can always delete obsolete version folders in the updates folder but I try to avoid maintenance chores.
Try it once and you'll see what I mean.
Try it once and you'll see what I mean.
I may have to try his way. I'm getting an error trying the official way:
Fatal error: Call to a member function getCollectionAttributeValue() on a non-object in /Volumes/Data/Dropbox/SyncedSites/vhosts/www.concrete.dev/packages/page_redirect/models/page_redirect.php on line 19
Have you seen that before. I would have assumed the official way would "just work."
Bob
Fatal error: Call to a member function getCollectionAttributeValue() on a non-object in /Volumes/Data/Dropbox/SyncedSites/vhosts/www.concrete.dev/packages/page_redirect/models/page_redirect.php on line 19
Have you seen that before. I would have assumed the official way would "just work."
Bob
This will probably fail under any upgrade method.
Try going back to the previous version (remove the last 'define' line in your '[root]/config/site.php' file) and make sure you have a page attribute called 'page_selector_redirect'. Dashboard->Pages and Themes->Attributes.
If you don't need to use the 'Page Redirect' add-on, you can delete that add-on through the Dashboard->Extend.
Try updating again after either creating the required page attribute or deleting the Page Redirect add-on.
Try going back to the previous version (remove the last 'define' line in your '[root]/config/site.php' file) and make sure you have a page attribute called 'page_selector_redirect'. Dashboard->Pages and Themes->Attributes.
If you don't need to use the 'Page Redirect' add-on, you can delete that add-on through the Dashboard->Extend.
Try updating again after either creating the required page attribute or deleting the Page Redirect add-on.
Upon closer examination, I wouldn't try to add this page attribute manually. I would remove and re-install the 'Page Redirect' add-on and let the package re-create the required page attribute.
Upon further, further review, it seems that this 'Page Redirect' add-on comes in two pieces. The 'Page Redirect' add-on needs the 'Page Selector Attribute' add-on to be installed first and then you can properly install the 'Page Redirect'.
It's clear now that you are not using the Page Redirect add-on so I would remove it from your old version before trying to update.
It's clear now that you are not using the Page Redirect add-on so I would remove it from your old version before trying to update.
Thanks for your help and advice!
I disabled both add-ons which allowed the upgrade to proceed without errors. Then I re-installed them and things are fine.
I am using the page redirect add-on (which requires the large selection add-on) as I don't want a "home" page. My site is configured like this:
Home
> Portfolio
> Blog
> About
> Clients
and I wanted all references to "Home" to redirect to "Portfolio." Was there a better way to have done that?
Bob
I disabled both add-ons which allowed the upgrade to proceed without errors. Then I re-installed them and things are fine.
I am using the page redirect add-on (which requires the large selection add-on) as I don't want a "home" page. My site is configured like this:
Home
> Portfolio
> Blog
> About
> Clients
and I wanted all references to "Home" to redirect to "Portfolio." Was there a better way to have done that?
Bob
Glad to hear that you have successfully upgraded. The reason I assumed you were not using this add-on was that line 19 in your original error message was looking for the page attribute and could not find it. That lead me to believe that you must not have created it yet which lead me to believe that the add-on couldn't be working. So much for assumptions.
If you want everyone to see you portfolio page as your 'Home' page then why not just build out your Home page so it contains the portfolio content?
If you want everyone to see you portfolio page as your 'Home' page then why not just build out your Home page so it contains the portfolio content?
I thought about that - building the home page as the portfolio. But I wanted the other pages (Blog, About, Contact, etc) to be on the same menu level with home. Did I miss the "right" way to do that? Now that I've completely gone off topic! :)
Bob
Bob
I would have to see the design of your site before I could comment on alternatives. What you are doing now seems fine. If you're happy, I'm happy.
You can always manually update. Here's the best how-to I've run across. It's different from the instructions you will get by browsing the forums but I like Adam's method much better:
http://adamjohnsondesign.com/blog/upgrade-concrete5-with-minimal-do...