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...Upgrading DNN P...Upgrading DNN P...Scheduler DotNetNuke.Services.ModuleCache.Purge Failures in 7.4.0Scheduler DotNetNuke.Services.ModuleCache.Purge Failures in 7.4.0
Previous
 
Next
New Post
2/16/2015 11:00 AM
 

I recently upgraded one of my test sites from DNN 6.2 to DNN 7.4.0.  After that I started seeing scheduler failures:

EXCEPTION:Access to the path '\\<server path>\Portals\<portalid>-System\Cache\Pages\' is denied

Message:Access to the path '\\<server path>\Portals\<portalid>-System\Cache\Pages\' is denied.

StackTrace:

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at System.IO.Directory.CreateDirectory(String path)
   at DotNetNuke.Services.ModuleCache.FileProvider.GetCacheFolder(Int32 portalId)
   at DotNetNuke.Services.ModuleCache.FileProvider.PurgeExpiredItems(Int32 portalId)
   at DotNetNuke.Services.ModuleCache.PurgeModuleCache.DoWork()

In looking @ the source, it seems that there is now a new property portalInfo.HomeSystemDirectoryMapPath (see FileProvider.cs line 96).  It looks like the intent is to get the cache files out of the portal's 'public' directory and into a place that only the  CMS can see, makes sense to me.  

In my case, the issue was that the webhead did not have write permissions into the Portals directory.  Once I corrected that, things got quite a bit better.

My question: Is there an easy way to cleanup all the old cache directories?  (the ones in the Portals\<portalid>\Cache directory)  I'm running on a shared host with only FTP access to the file system.

 

Thanks!

 
New Post
2/18/2015 9:45 AM
 
as long as the website user (e.g. networkservice or whatever the application pool is configured for) has "modify" permissions it will clean up the files automatically (if it only has "read" and "write" it will leave behind files AFAIR)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Scheduler DotNetNuke.Services.ModuleCache.Purge Failures in 7.4.0Scheduler DotNetNuke.Services.ModuleCache.Purge Failures in 7.4.0


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