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 ...DotNetNuke.Services.FileSystem.SynchronizeFileSystem, DOTNETNUKEDotNetNuke.Services.FileSystem.SynchronizeFileSystem, DOTNETNUKE
Previous
 
Next
New Post
5/11/2007 12:29 AM
 
jensta: Yes, this sounds like the same problem. I have done some tests, and it seems that if I delete files the query will update accordingly (not show the now non-existent files), however if I add files, they are not shown in the query unless I manually run a file sync from the file manager.

I have tried executing the query directly on the database, and the same results occur. So that removes any factors such as module or browser cache...
 
New Post
5/11/2007 10:51 AM
 

I just checked my Files and Folders table in the database and they look fine.  No duplicates or irregularities.  I'm not a vb guru, however I followed this path and not sure if I'm onto something...

The scheduled atuo file synchronize calls DotNetNuke.Services.FileSystem.SynchronizeFileSystem, DOTNETNUKE.

I looked in the SynchronizeFileSystem which calls FileSystemUtils.  FileSystemUtils seems to do the recursive part of the process.  Now here's my thought...at least for my install...File SystemUtils calls for example "Public Shared Function GetFolders".  I am assuming this is the dnn stored procedure.  Now...I explicitly declared an object_Qualifier of dnn_ to be a prefix to all of my dnn database objects, therefore my stored procedure is called dnn_GetFolders.  Is it possible the object qualifier is causing the scheduled synch not to resolve my stored procedure?  I know this is far fetched since the manual recursive synch works.  I don't know how to get the code behind the clicking of the file manager's synchronize button to see what it calls and if it's different than the DotNetNuke.Services.FileSystem.SynchronizeFileSystem, DOTNETNUKE.   I doubt it...therefore I'm clueless.

I did also check my logs and the schedule history seems fine...scheduler started and stoped ok, scheduler history says File System Synchronized, so everything seems to be running fine....

more suggestions?    : )

 
New Post
5/21/2007 2:58 AM
 
I traced back what the file manager calls... the codefile behind it is /admin/Files/Filemanager.aspx.vb. In the sync sub I changed the argument for the sync call so that recursive was always true, no matter whether the check box was checked or not. This didn't make any difference... which makes me think they sync code is not called at all, despite the schedule history informing me of the success.

I can't imagine a separate piece of code doing the same thing (and indeed a search of the site in VS yielded no other results for 'sync').

Jensta, you could be on to something with the database quantifier idea. I have had a quick test but can't narrow it down to that. I am going to do some tests on another of my DNN installations to see if it works on one that has no database quantifier in it's database.

I'm finding it absurd that no one else has had a similar problem!

Again, any other ideas?
 
New Post
5/21/2007 3:58 AM
 

recursive flag is working - I cannot imaginewhy it wouldn't on your installation.

if you successfully run sync, this is not logged any where.

if folders still don't show up, check manually tables "Files" and "Folders" in your database for duplicates and orphaned entries.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/21/2007 8:44 PM
 
FolderID PortalID FolderPath StorageLocation IsProtected IsCached LastUpdated
1 0   0 True False 14/05/2007 2:44:09 PM
2 0 documents/ 0 False False 7/05/2007 11:54:20 AM
5     0 True False 24/04/2007 1:38:43 PM
6   Cache/ 0 False False 27/04/2007 2:17:29 PM
7   Cache/OPML/ 0 False False 27/04/2007 2:17:33 PM
8   Containers/ 0 True False 24/04/2007 1:38:05 PM
9   Containers/DNN-Blue/ 0 True False 27/04/2007 12:49:21 PM
10   Containers/DNN-Gray/ 0 True False 24/04/2007 1:38:05 PM
11   Containers/_default/ 0 True False 24/04/2007 1:38:12 PM
12   EventQueue/ 0 False False 24/04/2007 1:57:20 PM
13   Logs/ 0 False False 24/04/2007 1:54:31 PM
14   Logs/LogConfig/ 0 False False 24/04/2007 1:38:15 PM
15   Skins/ 0 True False 24/04/2007 1:38:36 PM
16   Skins/DNN-Blue/ 0 True False 27/04/2007 12:49:20 PM
17   Skins/DNN-Gray/ 0 True False 24/04/2007 1:38:34 PM
18   Skins/_default/ 0 True False 24/04/2007 1:38:42 PM
19   Smileys/ 0 False False 24/04/2007 1:38:43 PM
20   Templates/ 0 False False 24/04/2007 1:38:44 PM
21 0 Cache/ 0 False False 21/05/2007 5:03:08 PM
22 0 Containers/ 0 True False 27/04/2007 12:53:13 PM
23 0 Containers/Equinox-Green/ 0 True False 27/04/2007 12:54:33 PM
24 0 Skins/ 0 True False 27/04/2007 12:53:14 PM
25 0 Skins/Equinox-Green/ 0 True False 27/04/2007 2:19:24 PM
27 0 documents/documents01/ 0 False False 16/05/2007 4:25:01 PM
28 0 documents/documents02/ 0 False False 7/05/2007 12:12:19 PM
29 0 documents/documents03/ 0 False False

7/05/2007 12:12:18 PM


That's the dnn_Folders table. There doesn't seem to be anything wrong there. The dnn_Files table is equally unimpressive as far as weird stuff goes, buty a lot longer, so I won't paste it here.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DotNetNuke.Services.FileSystem.SynchronizeFileSystem, DOTNETNUKEDotNetNuke.Services.FileSystem.SynchronizeFileSystem, DOTNETNUKE


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