Updating via SVN

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
KnightWolfJK

Updating via SVN

Post by KnightWolfJK »

Okay... My schedule is now allowing me to get back to my CMSMS project.  And, whoa is me, I'm still running an antiquated version, 0.11.2.  I want to upgrade using SVN, but I want to upgrade to a stable version and not the nightly release version.

I've searched the wiki and the forums, but I don't need a general SVN tutorial, I just need the link to tell SVN to go to.  Can someone tell me what I'm missing?

Thanks
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Updating via SVN

Post by Dr.CSS »

KnightWolfJK

Re: Updating via SVN

Post by KnightWolfJK »

My fault. I looked at the page 10 times, but I took the "things can and will change and you might even lose some information" warning to imply that this was for the nightly development builds.  But now I notice the separate link for development builds. I need to not stay away from CMSMS for so long.

Thanks.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Updating via SVN

Post by Dr.CSS »

Welcome Back  :D
i just upgaded my site about 5 min. ago...
a module needed it...
KnightWolfJK

Re: Updating via SVN

Post by KnightWolfJK »

Hmm, so I updated via SVN.  But my sitemap page still shows the version as .11.2.  This brings up two questions:

1) What's the official way to determine one's version?

2) If my sitemap is correct, why did SVN run successfully yet my version remain at 0.11.2?

Thanks...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Updating via SVN

Post by Dr.CSS »

did you download one of these?...

Stable Releases

The latest version will always be available here.

Version 0.13:
cmsmadesimple-0.13.tar.gz
cmsmadesimple-0.13.zip
KnightWolfJK

Re: Updating via SVN

Post by KnightWolfJK »

Umm, no, I thought that's what using SVN was supposed to take care of for me.  Man I'm feeling really dumb about all this.  And I've updated with SVN before too, at least I think I have.  I even just flipped through the manual over at http://svnbook.red-bean.com/, which most of the SVN help links here point too, but it all seems geared toward the developr side and not the end-user just trying to upgrade.

Anyway... So, based on your post, I downloaded the new 0.13 version and uploaded it over my old files.  Now I'm getting "site down for maintenance" although I'll admist I didn't read the docs (this time) for upgrading.  I made a tarball of the whole site before I uploaded, though, so I should be good to go.

So, help me out- what are the steps one takes to update via SVN?

Thanks
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Updating via SVN

Post by Dr.CSS »

the only thing i've use with SVN has been modules...
did you goto  http://www.yoursite.com/install/upgrade.php
this will run the upgrade...

http://wiki.cmsmadesimple.org/index.php ... /Upgrading
KnightWolfJK

Re: Updating via SVN

Post by KnightWolfJK »

Right, I've got it working now (via upgrade.php).  But I swear I've upgraded the whole site with SVN before- it was a huge plus to CMSMS in my mind.  Maybe someone else can chime in and let me know 1)what I'm doing wrong or 2)that I'm frickin' crazy.

Mark: What is the official method for determining one's version of CMSMS?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Updating via SVN

Post by Dr.CSS »

in the root of your site or in the folder that holds all the files from the CMSMS zip/tar, a file called.... version.php
also at the bottom of the admin/main  it should say....
  CMS Made Simple 0.13-beta4 "Canary"    < ... your version may vary
CMS Made Simple is free software released under the General Public Licence.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Updating via SVN

Post by calguy1000 »

downloading the svn version of things changes the files on the disk, but doesn't add/change the database

if the database has chaned (you can tell if, when you do an svn update the files in install/upgrades/ change) then going to install/upgrade.php will run the appropriate scripts to change the database structure.

sometimes you'll get lucky when doing an svn update, and you won't need to upgrade the database schema.  Other times, you'll run into weird errors, stupidly itroduced bugs, etc.  That's why it's said, if you're on the svn version, you're on the "bleeding edge".
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “[locked] Installation, Setup and Upgrade”