Stuck at version 5.4.0.3; upgrade doesn't go to 5.4.0.5

Permalink 1 user found helpful
Log into dashboard with the banner indicating "The latest version of Concrete5 is 5.4.0.5. You are running 5.4.0.3. Update Now!"

• Click the 'Update Now' link.
• Click the 'Download' button.
Get the Install Local Update page with the message "An update is available. Click below to update to 5.4.0.5"
• Click the 'Update' button.
Get the Upgrade Concrete5 page with the message "Upgrade to 5.4.0.3 complete!"

Well, that's where I started. I have tried clicking "Click here if you would like to re-run this script." but get the same message. I have also tried deleting the cache and cache_objects contents.

My 'updates' directory has a 'concrete5.4.0.3' folder before I start the process and adds a 'concrete5.4.0.5' directory during.

My 'config' table shows SITE_APP_VERSION at 5.4.0.3 and APP_VERSION_LATEST at 5.4.0.5.

I'm sure a setting or a file is messing this up but don't know how to clean it up.

Thanks.

cn28678
 
nteaviation replied on at Permalink Reply
nteaviation
Check out post:
http://www.concrete5.org/community/forums/installation/which-versio...

Just delete the version 5.4.0.3 line from your /config/site.php and you should be golden :)
cn28678 replied on at Permalink Reply
cn28678
Perfect!

I guess a double entry in site.php is the result of a failed earlier attempt?

For anyone that spots this thread with similar issues, once you delete the extraneous code in site.php you'll need to go back to the dashboard and initiate the install for the upgrade.
nteaviation replied on at Permalink Reply
nteaviation
I know I have seen at least 2 threads dealing with this same issue:
http://www.concrete5.org/community/forums/installation/canand039t-u...
and
http://www.concrete5.org/community/forums/installation/which-versio...

I'm sorry I forgot to mention re-running the update script or to re-upgrade from the dashboard.

I'm also wondering if the issue is caused by not having the /updates direcotry set writable (777) on first upgrade attempt.
cursal replied on at Permalink Reply
cursal
This worked for me to.

This Part is Important:
For anyone that spots this thread with similar issues, once you delete the extraneous code in site.php you'll need to go back to the dashboard and initiate the install for the upgrade.

I removed any lines of code that showed a version I had 2 in there already.
Once removed, I ran the upgrade again (after doing a backup of course)
All went smooth.