After copying the contents of the Web folder from the CS 2008 Beta 2 update zip file, and running the Upgrade tool, photos were copied into the filestorage folder in the update folder (not ALL of them, but that's a minor problem).
Then, I moved them back into the CS folder, where the old structure of /photos/... folder still exists, and all the photos are still there too.
In table cz_PostAttachments, all the photos are referenced with their original filenames. I had CS2007 configured to save files on the HD and not on the DB, so there is just the reference to the files.
Phisically on the HD you can find the files at:
If I try to navigate to them with a web browser, for example:
http://website/filestorage/CommunityServer.Components.Avatars/00/00/00/10/17/avatar.jpg
The file exists and I can see it.
Now, CS refers to that same file as:
http://website/cfs-file.ashx/__key/CommunityServer.Components.Avatars/00.00.00.10.17/avatar.jpg,
and even though, but it's not shown.
So I supose it's in the handler cfs-file.ashx where the solution must be, or at least somehow lead to where it is. I'll keep on investigating.
It's easy to assume that CS takes the dots away and replaces them with slashes, but for some reason, it's not doing so.
Nestor Leonewww.nestorleone.com.arBuenos Aires, Argentina
Nestor Leone:Some files have been moved by the upgrade tool to a new location but are not seen, and other were directly not "moved". In the old photos\storage folder I have more than 1300 pictures. In the new \CommunityServer.Components.PostAttachments.. (that's where they should be right?) I have less than 100. Is there any way to move these manually so the reference in the DB will make the CS2008 find them?
The upgrade tool reads your PostAttachments database table and attempts to either (1) load the file from database storage (if you used database storage) or (2) find the file within the path identified for post attachments for the given application (this is a configurable location in the steps before the upgrade tool is executed)
I'd suggest reviewing the location identified for photo attachments (#2 above) when running the upgrade tool (you should be able to safely run the upgrade tool multiple times). Also note that resized versions of your photos are *not* migrated (they are resized using file viewers in CS2008).
If you review the storage folder, re-run the upgrade tool, and still don't see all of your photos, you *can* manually migrate files. Post attachments (such as photos, files and blog/forum attachments) are all stored using the same format in CS2008. Wherever your files currently reside, they'll need to be moved to your filestorage/ folder using the sub-path CommunityServer.Components.PostAttachments/NN/NN/NN/NN/NN/file.ext where the numbers represent the PostID that the attachment relates to (zero-padded, seperated into two-digit folders) and file.ext is the filename identified in the PostAttachments database table.
Could you summarize (you can send it in a new private conversation if you want) where the files that *weren't* migrated were located relative to your CS2007 installation?
I'd like to determine why the upgrade tool didn't get all of your files migrated.
Just wanted to let you know that I solved the problem. It was caused by UrlScan filter not liking dots in the file name. Since CS2008 is using cfs-file.ashx/__key/CommunityServer.Components.Avatars/00.00.00.21.28/avatar.jpg type of path, the dots were causing UrlScan to "block" the request.
Solution: Change UrlScan.ini to allow dots in path.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com