Forum OpenACS Q&A: Re: Help needed: StoreFilesInDatabaseP broken?

Collapse
Posted by Nima Mazloumi on
But wouldn't this break all existing file-storage instances with their content?
Collapse
Posted by Tom Ayles on
I guess it would break all the instances that have written content to the DB instead of the file system. Overriding the parameter in this way is more of use as a preventative solution on a fresh install. Maybe it's possible to write a script to extract the file storage content from the DB and write it out to the file system (and then do whatever so the CR knows the content is stored outside the DB) to get the system back into the state you want.
Collapse
Posted by Tracy Adams on
If you would like to change the default parameter for NEW instances of
file-storage, you can do so from the apm:
(acs-admin/apm).  Select File Storage. Select Parameters. Edit
StoreFilesInDatabaseP.

This will set it up so that when new classes and communities are added, the
files will be stored in the file system for the corresponding file storages.
The rest of the package instances that were already there will stay as it was.