Sebastian Leupold wrote
what happens exactly - does the file disappear in file manager or is the logo file deselected in site settings?
----------
Check out the Files and Folders tables in your database, there shall be indexes to prevent duplicates (accoding to file/folder name and path) and a relation between Folders and Files on FolderID. This was introduced in DNN 4.4.0-4.5.0 and from my experience, adding the contraints failed in a number of installations due to existing duplicate keys.
----------
Dean, do you have special characters like an apostrophe in one of your file or folder names?
Sebastian,
I've pulled all your comments from other threads into here so they are all in one place.
To answer your questions:
1. I checked files in the folders that have been disappearing out of File Manager. No special characters.
2. When I set the portal logo, the FileID for example equals file ID 1566. The next day I go in and this FileID is still the same but in the Files table there is no longer an entry for a file with that ID. Its just disappeared. Hence, when you go into Site Settings the logo settings are reset back to default because it obviously can't find the appropriate file with the correct ID. The file itself, when you go into the server is still there. No physical files are deleted.
In short, when I look at the file and folder tables later that day or the next day entries are missing. What previously were indexes in sequential order now has gaps. Eg was previous 1566, 1567, 1568. The next day its 1566 then 1572, 1573. Why these entries are dropped from the table I'm not sure.
So far to correct it I've found these two things fix it:
1. In File Manager requesting a Synhronise with recursive.
2. In File Manager, typing the exact folder and and re-adding it. All the files within this folder are magically readded back into the Folder and Files table and thus then appear in File Manager.
3. Re-add the entries for the missing items manually into the database tables. Obviously faster to do 1 and 2.
Currently:
1. I don't have DotNetNuke.Services.FileSystem.SynchronizeFileSystem running in the schedule. Is there documentation about what this item does? I haven't been able to find any.
Hope that helps. I'm monitor it today to see if it happens again.
Dean