Updating Roster 2.0 beta

Posts from previous Beta sessions

Updating Roster 2.0 beta

Postby knappster » Fri Feb 08, 2008 10:13 pm

I have been unable to find a guide to updating from one version of Roster 2.0 beta to the next, so I thought I may as well ask. The host I am using has cpanel for managing the site and it has an option to unpack files that have been uploaded zipped. Unfortunately it doesn't give me the option to overwrite files, it just skips files if they already exist.

On a test site I attempted to wipe the directory and unpack a newer roster in place of it (without modifying anything in the database). Functionally it worked, but I kept getting errors about files in a cache directory.

Is there a guide to updating Roster 2.0 betas? If not, is there an easier way for me to do it than uploading individual files from the latest 2.0 beta, replacing existing files?
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm

Re: Updating Roster 2.0 beta

Postby shaun.voysey » Sat Feb 09, 2008 2:15 am

No general Guide available, But here is what I do.

1. Go to the Directory where the Roster is installed.

2. Delete everything except the Conf.php file and the Cache, img and Addon Directories.

3. In the img Directory, delete everything but the interface directory.

4. In the Addon directory, delete all except the third party addons.

5. Copy the unpacked Roster files to the main Roster directory, except for the Cache directory and the .htaccess and install.php files...


Now these instructions are for a Windows server running IIS.
The Cache directory in the roster pack is an empty directory. Doing things this way, you keep your news files, Interface Icons and any special addons and security privs.

Can't see it being too much different under Apache.

Oh, and do not forget to go to the site, upgrade, then check out the addon manager page under Cp.

Might be also wise to backup the conf.php file before you do this. Helps if you accidentally delete the file. ;)

Happy Upgrading :thumleft:
User avatar
shaun.voysey
WR.net Apprentice
WR.net Apprentice
 
Posts: 70
Joined: Thu Aug 10, 2006 12:50 pm
Location: Berkshire, England

Re: Updating Roster 2.0 beta

Postby knappster » Sat Feb 09, 2008 2:35 am

Thanks! I'll give that a try this weekend.
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm

Updating Roster 2.0 beta

Postby tuigii » Sat Feb 09, 2008 2:19 pm

Seems a lot of work, and error prone to me.

What about a good ftp tool ? Always works, with complete and partiel updates.
Point it to the roster dir, have it overwrite every file that it already finds existing on the destination. Done.

I'm using a multi-threading ftp (SmartFTP).
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Updating Roster 2.0 beta

Postby shaun.voysey » Sat Feb 09, 2008 6:17 pm

It may be, and I have lost the conf.php file a few times too.

But this saves me having to recopy the interface Icons, resetting the privs for the Cache Directory and losing all the news files. Also various addons that require Directory security as well, like Siggen.

IIS and windows security can be a bit of a pain.
User avatar
shaun.voysey
WR.net Apprentice
WR.net Apprentice
 
Posts: 70
Joined: Thu Aug 10, 2006 12:50 pm
Location: Berkshire, England

Re: Updating Roster 2.0 beta

Postby tuigii » Sat Feb 09, 2008 6:51 pm

shaun.voysey wrote:It may be, and I have lost the conf.php file a few times too.

Even in a complete roster file set like the latest roster_20b_svn1634.tar.gz, conf.php isn't present. Its created during install only.

You're right, IIS is a hassle. Long live Apache on a Linux/UNIX box.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Updating Roster 2.0 beta

Postby knappster » Sat Feb 09, 2008 10:47 pm

Shaun's method worked for me. I will try FTP for the next release, but I think that the host limits the number of connections to 1 or 2, so I don't know if multi-threading would be THAT useful.
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm


Return to Archived

Who is online

Users browsing this forum: No registered users and 0 guests

cron