In /admin/settings/bitcache/repositories I have two bitcache repositories listed: "Default", which is a database; and another that is a Fileframework-based
The problem is that the admin page above keeps erroring that "The directory xxx/bitcache/file does not exist", which was the directory I used before I moved the whole Drupal installation from serve to server (the username changed).
I have otherwise corrected all paths, e.g those in /admin/settings/file-system, but I cannot find a control to change the path to Bitcache's file storage. Certainly not in /admin/settings/bitcache
Additionally, in /admin/settings/bitcache/repository/add the "Location" field recommends placing the new file repository under the default Bitcache directory which it specifies as xxx/bitcache as above.
How can I change the base Bitcache directory after having moved the installation?
Comments
Comment #1
JerryH commentedSubscribe !
Comment #2
mrangryfish commentedI have been changing my bitcache file path around by editing the 'options' field in the drupal database table 'bitcache_repositories' for the 'file' repository.
It is a serialised string (yuck) so you have to make sure the count of the string matches eg 23 for /var/data/bitcache/file:
....s:23:"/var/data/bitcache/file";}
There *should* be a way to change this through the bitcache/fileframework admin gui but there is not. But it isn't that hard to do this way manually through SQL.
Comment #3
johanneshahn commentedTry out latest dev