There is a check box in red dot to clean up live server which is
supposed to delete the pages from your webserver that were deleted in
the CMS. However, this is terribly buggy and is deleting entire
directories from my project. I emailed some other developers and they
too have seen this behavior and no longer use the "clean up live
server" function.
But I still need someway of auto deleting files off the server to
match whats in the CMS. What I do now is periodically ftp in to the
server and remove files with old publication dates, but the users want
something more immediate, and I am really gambling that what I am
deleting is really meant for deletion.
Does anyone have a solution for this?
We actually publish to a directory on the CMS server and then use
CuteFTP to send the files to our web servers. We use Cute to sync the
servers and if a file is present on the web server, but not the CMS
publishing target, the file on the server gets deleted. The only issue
is with deleting the files in the pub target. That's what the cleaner
is for. I think we've found that while it will remove published pages,
it may not remove published assets. So, you may find things like old
PDF forms are still on your server.
Because of this, it's not a bad idea to wipe the the publishing target
and do a full publish once or twice a year. If you have multiple
servers behind a load balancer, you'll just need to take all but one
out of the loop, resync the files on them, put them back into the
balancer and then resync the one that was up during the resyncing of
the others. This will keep your site up and running.
> > > Does anyone have a solution for this?- Hide quoted text -
>
> - Show quoted text -
I don't have a solution, but it's nice to hear someone else is having
the same experience!
We *do* have the 'clean up LiveServer' box checked, and it seems to
work in some cases and not in others (--haven't yet got to the bottom
of that one). So we also have started manual deletion of files in the
publish target that have not been modified for a few days.
Well, good luck with it.
On Dec 21, 6:04 am, "Simon Lewis, UK" <simon.le...@npia.pnn.police.uk>
wrote:
It appears that whenever you have multiple Publishing Targets set up
within your project, and only one is set as the 'Default Publishing
target' - all of the pages within the inactive publishing targets are
deleted automatically. I found this out the hard way a long time ago -
changed the publishing target within a project to publish to a staging
server so i could test may changes... Got a phone call from the client
telling me that the live site had gone down. Logged onto the server
and found that all of the pages withn the site had disappeared!
In my opinion you dont really need to 'clean up' pages on your site
unless you are using a search tool that indexes pages within the file
system (e.g. Microsoft Index Server). If your site search
functionality crawls all the links within your site pages to index
content, it won't be able to index any of the 'stray' pages. Of course
this isnt ideal if you have limited server space...!!!
Cheers,
Kim
On Dec 20 2009, 8:50 pm, markus giesen <markus.gie...@gmail.com>
wrote: