Randy,

> I have not updated Farcry as you suggested
> -- I am afraid of breaking something!  :-)


It shouldn't be an issue (unless, of course, something was broken in a later 
version of core - which is always possible).  The way FarCry's versioning works 
is "major.minor.patch", where the 17 in 6.0.17 is a patch (meaning it just 
fixes bugs or updates/enhances small features).  So, just updating from 6.0.11 
to 6.0.17 shouldn't be a problem.  Going to a minor update (like the current 
stable 6.1.x branch) is different and generally means some minor database 
changes.  Generally minor updates are pretty painless as well (they just 
require a couple extra steps), however thats not always the case (the wiki 
usually explains any issues for each minor release) - it can also sometimes 
require updates to plugins.  Going to a major update (say if FarCry 7.x was the 
next version) would usually be the time where you want to be cautious and test 
vigorously in a dev environment first.

A couple tips:
1. If you're running on a Windows server with IIS, make sure to turn off the 
IIS service before updating core (or you may get errors about files in use).  
This shouldn't be a problem if using Apache, but I usually stop Apache anyway.
2. As a best-practice, back up your old core folder first.  This way you can 
rollback quickly if something goes wrong (remember that this is just a patch 
update, so no database changes have been made.  So rolling back is usually 
pretty quick).  What I do is rename the core folder (say "core_6.0.11") and 
create a new core folder, then place the new core files in there.  (note: If 
you're using symlinks or anything, then maybe just move the contents of the 
folder instead).
3. Clear your projects' cache folders (every project you create has a www/cache 
folder).  This is important because the FarCry core update may have a newer 
version of a js library.

If you're lucky, the update should be pretty quick and downtime should be 
minimal.  As always, I suggest testing in your dev environment first (and/or 
staging server).  As I mentioned above, if all else fails, you can always 
rollback because it's just a patch release (just remember to clear the cache 
folder again if you rollback - just to keep the slate clean).

Regards,

--
Jeff Coughlin

On Oct 27, 2011, at 4:14 PM, Randy Johnson wrote:

>> All that said, I haven't seen the "invalid typename passed" but I would
>> check to make sure all your content types are deployed in the COAPI manager.
>>  For your dmFile collection, you probably do want to use a file library.  If
>> you don't then Solr will only index the file's metadata in the database.  If
>> you choose a file library collection type it will index the actual files
>> (PDF, Doc, etc) so that the contents of the files will be indexed which will
>> certainly return better, more relevant results.
> 
> Hello Sean, thank you for all of your help! Since last week, Search
> has been working great, if we set the dmFile collection as Standard.
> When i change it to File Library, that is when we start having issues.
> Search will still return results based on file name, title, etc, but
> will not give us anything on file contents. Do I need to re-index the
> collection? Also, when I try to update that collection in the Farcry
> admin, I get the following error: "Element '' is undefined in a CFML
> structure referenced as part of an expression." This does not happen
> with our other collection, or with dmFile when it is set as standard.
> 
> Sorry to be a pest, but I am really confused and I appreciate all of
> your help and suggestions. I have not updated Farcry as you suggested
> -- I am afraid of breaking something!  :-)
> 
> -- 
> You received this message cos you are subscribed to "farcry-dev" Google group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to