One of my drupal sites was using the standard files/ directory for file uploads.
I decided to change it to sites/ro.ma/files so that it's in its own place.
Then I updated the files table in database so that all the old files respect the new paths.
Then I cleared cache.
So, everything ok until that, but when I try to upload new files or to access my content type fields using imagecache it doesn't work. Files are evidently not created in the right place. The imagecache directory (sites/ro.ma/files/imagecache) is also empty and without subdirectories.
In example, this is the link to a previously uploaded file:
there is for sure some mistake in the path.
How to make everything work good as it was before changing path?
What do I need to do?