Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Files missing in file ManagerFiles missing in file Manager
Previous
 
Next
New Post
12/4/2007 3:54 AM
 

We have a current problem with our public facing sites, files and folders seem to constantly go missing from our file manager.  If I add them back in again, later that day or the next day the disappear again.

I've found if I retype the folder name in file manager again and check the database all the files and folders are updated.

Problem is, one of missing files and folders are my website logo and it keeps dropping off.  I've checked the database and it sets the file ID for the portal fine but go in later and that file with the same ID is then missing from the Files table of the table.  In fact it seems to drop a lot rows from the table.

I've read one or two other posts in here for people with a similar problem although I haven't seen a solution for it.  Is it because I don't have the DotNetNuke.Services.FileSystem.SynchronizeFileSystem schedule running or is it something else?  Currently I don't have FileSync running at all in the schedule as I can't find information that tells me what it actually does (apart from assuming what it does based on its name).  Considering this is our live server for several important portals I don't want to go flicking on this schedule without knowing the impact, or if its needed.

Any help on the above problem would be good.  It would be nice to get a solution before our marketing guy looses his current cool in having to update the website logo and links everyday.

 

Thanks

Dean

 
New Post
12/4/2007 5:01 AM
 

Dean,

please read my answer to the other thread. Besides, did you enable "auto-sync FileSystem" in host settings?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/4/2007 6:35 PM
 

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

 
New Post
12/4/2007 7:16 PM
 

Dean,

the DotNetNuke.Services.FileSystem.SynchronizeFileSystem job tries to sync all files in all portals. Due to missing portal context, this is a bit more advanced than the portal sync and shall only be used, if folders are frequently added, deleted or renamed via file system calls or FTP. In all other cases, I suggest to disable it and maybe use auto fileSync in Host Settings, if files are sometimes added via FTP or file access.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/5/2007 6:41 PM
 

Thanks.  Okay well I just checked, auto fileSync is enabled in Host Settings.  Again this morning our logo dropped off the website.

Any other suggestions?

Dean

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Files missing in file ManagerFiles missing in file Manager


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out