Added page "ProxyCleanup" by [EMAIL PROTECTED] from 17.101.32.44*
Page URL: <http://trac.calendarserver.org/wiki/ProxyCleanup>
Content:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
== Describes how to run a tool to clean-out missing GUIDs from the proxy 
database ==


Here is a python script that can be run to clean-up the proxy DB:

[https://trac.calendarserver.org/browser/CalendarServer/trunk/bin/proxyclean?rev=2945
 proxyclean]

To use this do the following:

 1. Download the script to the calendar server machine
 1. Stop the calendar server
 1. Backup the 
/Library/CalendarServer/Documents/principals/.db.calendaruserproxy file (will 
need to sudo to see that)
 1. Run:

  {{{sudo python proxyclean}}}

 5. Examine the records that it reports. Check that the GUIDs returned 
correspond to some of those reported in the server log.
 5. If everything looks OK at this point, re-run the tool with the -c option to 
actually fix the db:

  {{{sudo python proxyclean -c}}}

 7. Run one more time without -c to verify that fixed it.
 7. Restart the calendar server.
 7. Verify that the missing principals errors are gone.

If users report that proxies are all missing after running this tool, then shut 
down the calendar server and restore the backed-up .db.calendaruserproxy file.


-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
CalendarServer </>
HTTP/WebDAV/CalDAV Server

This is an automated message. Someone at / added your email
address to be notified of changes on ProxyCleanup. If it was not you, please
report to .
_______________________________________________
calendarserver-dev mailing list
calendarserver-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev

Reply via email to