Re: [hlds_linux] best way to upgrade from tf2 to tf2beta (steamcmd)

2013-02-23 Thread Andre Müller
First you have to make a filelist from a your old vanillaserver installation:
find -type f -print0 > tf2.filelist.0 # type f lists all files, not
directorys, this is importand

Then make a little script to execute this against all your costomers.
The mainpart is, to delete the existing files with your
tf2.fileslist.0
cat tf2.filelist.0 | xargs -0 rm
Maybe there after the deleting some empty directories, delete them:
find -type d -empty -delete

Maybe there are some files from vanillaserver you want to exclude
(mapcycle.txt, maplist, botchatter.db, motd.txt ...).
You can exclude them from your fileslist for deletion:
find -type f -print0 | egrep -Zzv
'maplist\.txt|mapcycle\.txt|motd\.txt'   > tf2.filelist.0

You can test the filelist after creation against files, which you
don't want to have inside for deletion:
grep -z 'motd\.txt' tf2.filelist.0 #-z is for input files with
0-byte-seperator, -Z is for output with 0-byte-sep

I'm working with the 0-Byte-Limiter to resolve the problem with
filenames with whitespaces.
I know Valve is crazy enough to use filenames with whitespaces.

After all steps are done, you can Update your Servers first time with
using the new SteamPipe.
If there are some files or directories which have to move, you can
move then with your script before or after updating servers.

You are the winner, if you are using symlinks.
In this case: delete old masterserver, install new with steampipe -> rsync
Updating symlinks of your customers (ppl who are using this kind of
system already have this in thier scripts)
Deleting bronken symlinks with: find -L -type l -delete

I think during this changes some people feel the force of linux :-D

2013/2/23 Kyle Sanderson :
> I separated my assets on one server yesterday, it took about 40 minutes to
> roughly sift through 5 years of content (I remember there are materials
> missing from EP2 that were present in EP1 so I have to grab a few). But
> yes, it is mostly a pain to prepare at this point. I can only hope this
> does improve disk usage. As far as access speed, though, it's going to be
> far worse. GMod is a pretty good example of why shared namespaces are a
> nightmare.
>
>
> Thanks,
> Kyle.
>
>
> On Sat, Feb 23, 2013 at 7:17 AM, Marco Padovan  wrote:
>
>> I'm here running around scared as I'm confident we will see the update
>> dropping like a bomb as usual :|
>>
>> current documentation is clear:
>> https://support.steampowered.com/kb_article.php?ref=7388-QPFN-2491
>>
>> <> will be a full re-download.>>
>>
>> but looks like currently steamcmd is not clever enoughto remove old
>> directories andadditionally this update is breaking everything again by
>> moving from ./orangebox/ to just ./ ...
>>
>> Il 23/02/2013 16.11, Frank ha scritto:
>> > I'm sure they will release plenty of documentation as I think Fletch has
>> > noted earlier on the changes so I wouldn't get too concerned right now,
>> I'm
>> > just sitting and waiting with a case of beer ready to go.
>> >
>> > -Original Message-
>> > From: hlds_linux-boun...@list.valvesoftware.com
>> > [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Marco
>> > Padovan
>> > Sent: Saturday, February 23, 2013 9:57 AM
>> > To: Half-Life dedicated Linux server mailing list
>> > Subject: [hlds_linux] best way to upgrade from tf2 to tf2beta (steamcmd)
>> >
>> > As we are running multiple servers I'm trying to understand how to make
>> the
>> > update as smooth as possible..
>> >
>> > currently doing the update with target directory orangebox/
>> >
>> > can preserve the files mods/mapsbut results indirectory growning from
>> > the old 7gb to the actuall11gb...
>> >
>> > what can we delete? (media?sounds? maps? (which ones?))
>> > ___
>> > To unsubscribe, edit your list preferences, or view the list archives,
>> > please visit:
>> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>> >
>> >
>> > ___
>> > To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>>
>> ___
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>>
> ___
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux


Re: [hlds_linux] best way to upgrade from tf2 to tf2beta (steamcmd)

2013-02-23 Thread Kyle Sanderson
I separated my assets on one server yesterday, it took about 40 minutes to
roughly sift through 5 years of content (I remember there are materials
missing from EP2 that were present in EP1 so I have to grab a few). But
yes, it is mostly a pain to prepare at this point. I can only hope this
does improve disk usage. As far as access speed, though, it's going to be
far worse. GMod is a pretty good example of why shared namespaces are a
nightmare.


Thanks,
Kyle.


On Sat, Feb 23, 2013 at 7:17 AM, Marco Padovan  wrote:

> I'm here running around scared as I'm confident we will see the update
> dropping like a bomb as usual :|
>
> current documentation is clear:
> https://support.steampowered.com/kb_article.php?ref=7388-QPFN-2491
>
> < will be a full re-download.>>
>
> but looks like currently steamcmd is not clever enoughto remove old
> directories andadditionally this update is breaking everything again by
> moving from ./orangebox/ to just ./ ...
>
> Il 23/02/2013 16.11, Frank ha scritto:
> > I'm sure they will release plenty of documentation as I think Fletch has
> > noted earlier on the changes so I wouldn't get too concerned right now,
> I'm
> > just sitting and waiting with a case of beer ready to go.
> >
> > -Original Message-
> > From: hlds_linux-boun...@list.valvesoftware.com
> > [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Marco
> > Padovan
> > Sent: Saturday, February 23, 2013 9:57 AM
> > To: Half-Life dedicated Linux server mailing list
> > Subject: [hlds_linux] best way to upgrade from tf2 to tf2beta (steamcmd)
> >
> > As we are running multiple servers I'm trying to understand how to make
> the
> > update as smooth as possible..
> >
> > currently doing the update with target directory orangebox/
> >
> > can preserve the files mods/mapsbut results indirectory growning from
> > the old 7gb to the actuall11gb...
> >
> > what can we delete? (media?sounds? maps? (which ones?))
> > ___
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
> >
> >
> > ___
> > To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux


Re: [hlds_linux] best way to upgrade from tf2 to tf2beta (steamcmd)

2013-02-23 Thread Marco Padovan
I'm here running around scared as I'm confident we will see the update
dropping like a bomb as usual :|

current documentation is clear:
https://support.steampowered.com/kb_article.php?ref=7388-QPFN-2491

<>

but looks like currently steamcmd is not clever enoughto remove old
directories andadditionally this update is breaking everything again by
moving from ./orangebox/ to just ./ ...

Il 23/02/2013 16.11, Frank ha scritto:
> I'm sure they will release plenty of documentation as I think Fletch has
> noted earlier on the changes so I wouldn't get too concerned right now, I'm
> just sitting and waiting with a case of beer ready to go.
>
> -Original Message-
> From: hlds_linux-boun...@list.valvesoftware.com
> [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Marco
> Padovan
> Sent: Saturday, February 23, 2013 9:57 AM
> To: Half-Life dedicated Linux server mailing list
> Subject: [hlds_linux] best way to upgrade from tf2 to tf2beta (steamcmd)
>
> As we are running multiple servers I'm trying to understand how to make the
> update as smooth as possible..
>
> currently doing the update with target directory orangebox/
>
> can preserve the files mods/mapsbut results indirectory growning from
> the old 7gb to the actuall11gb...
>
> what can we delete? (media?sounds? maps? (which ones?))
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux


Re: [hlds_linux] best way to upgrade from tf2 to tf2beta (steamcmd)

2013-02-23 Thread Frank
I'm sure they will release plenty of documentation as I think Fletch has
noted earlier on the changes so I wouldn't get too concerned right now, I'm
just sitting and waiting with a case of beer ready to go.

-Original Message-
From: hlds_linux-boun...@list.valvesoftware.com
[mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Marco
Padovan
Sent: Saturday, February 23, 2013 9:57 AM
To: Half-Life dedicated Linux server mailing list
Subject: [hlds_linux] best way to upgrade from tf2 to tf2beta (steamcmd)

As we are running multiple servers I'm trying to understand how to make the
update as smooth as possible..

currently doing the update with target directory orangebox/

can preserve the files mods/mapsbut results indirectory growning from
the old 7gb to the actuall11gb...

what can we delete? (media?sounds? maps? (which ones?))
___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux