#36 ✓resolved
Rick Guyer

Upgrade to 0.7 worked, but version number not updated

Reported by Rick Guyer | March 2nd, 2010 @ 05:37 PM | in 0.8

My upgrade to 0.7 worked I think. It appears that the 0.7 changes are in my copy. But for some reason the version is still showing v0.6.

Comments and changes to this ticket

  • Gustavo Carreno

    Gustavo Carreno March 2nd, 2010 @ 11:17 PM

    • Tag set to broswer cache, upgrade

    Rick: Have you made a cache refresh on your browser?

    I was missing some new CSS stuff on the top left 20Couch link and after I did the cache refresh all was good.

  • Rick Guyer

    Rick Guyer March 2nd, 2010 @ 11:29 PM

    I still see Configure::write('Version', '0.6'); in app/config/bootstrap.php. I'm thinking either the update failed entirely or only updated some files.

  • Gustavo Carreno

    Gustavo Carreno March 2nd, 2010 @ 11:45 PM

    Yeap, looks like something went wrong.
    Mine definitely has version 0.7 on bootstrap.
    If you have your registration key I think Matt has given you the URL
    to update manually?

  • Gustavo Carreno

    Gustavo Carreno March 2nd, 2010 @ 11:46 PM

    • Tag changed from broswer cache, upgrade to browser cache, upgrade
  • Rick Guyer

    Rick Guyer March 2nd, 2010 @ 11:49 PM

    • Tag changed from browser cache, upgrade to broswer cache, upgrade

    I apologize, I didn't answer your original question. I did try clearing the browser cache initially.

    Digging a little deeper I think it is a permission issue. My apache install runs as www-data and my files are owned by rick. When updating I was prompted to chown ROOT, but I'm guessing I really needed to do a recursive chown. I believe I had the same issue on TMP during the initial installation too (can't remember for sure).

    So, to confirm I did "chmod -R 777" to my ROOT directory and was able to successfully update. Although that probably isn't an ideal fix, it confirms my issue was with permissions.

    A possible fix might be to detect the permission error and display a shell command that the user could run as an alternative. The shell should have the proper permissions to update the files.

  • Rick Guyer

    Rick Guyer March 2nd, 2010 @ 11:52 PM

    Above, anywhere I said "chown" I meant "chmod". It's been a long day.

  • Gustavo Carreno

    Gustavo Carreno March 2nd, 2010 @ 11:52 PM

    • Assigned user set to “Matt Curry”
    • Milestone set to 0.8

    Assigned to Matt and trying to make him take on board your suggestions about error reporting. If I recall correctly, programming by error messages was a big thing some time ago in Cake, hein Matt? :)

  • Matt Curry

    Matt Curry March 3rd, 2010 @ 02:01 AM

    • State changed from “new” to “open”

    I have a check for the root dir being writable, but I think you're right that the suggested cmd line fix isn't recursive. I'll fix that. As far as I know there isn't a way to check all the sub dirs/files are writable without actually checking each one, which isn' ideal. In lieu it probably makes sense to include more detailed output as suggested :)

  • Matt Curry

    Matt Curry March 4th, 2010 @ 01:21 AM

    • State changed from “open” to “resolved”
  • Gustavo Carreno

    Gustavo Carreno March 4th, 2010 @ 06:11 PM

    • Tag changed from broswer cache, upgrade to broswer cache, filesystem, permissions, upgrade
  • Gustavo Carreno

    Gustavo Carreno October 23rd, 2012 @ 03:31 PM

    • Milestone order changed from “0” to “0”

    LinkedIn

    I'd like to add you to my professional network on LinkedIn.

    • Gustavo

    Gustavo Carreno
    Senior PHP Developer at Self Employed
    Lancaster, United Kingdom

    Confirm that you know Gustavo Carreno:
    https://www.linkedin.com/e/ff7czs-h8n6952e-3u/isd/9216545035/U2v1w-...

    -- You are receiving Invitation to Connect emails. Click to unsubscribe:
    http://www.linkedin.com/e/ff7czs-h8n6952e-3u/33J6PnErQMyScZvsJ0_a51...

    (c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

Pages