OneDrive for Business Mac Preview Probleme? (Reblog)
OneDrive for Business Mac Preview Probleme?
Das Problem mit der OneDrive for Business Mac (preview) taucht immer mal wieder auf! Vor allem wenn man auch die aktuelle Office 2016 Mac (preview) Version installiert hat! Die Dialogbox “A problem occurred while accessing the Office Document Cache. Do you want to repair this problem?” taucht bei mir Regelmässig auf. Die CPU geht dann auf 100% und egal wie lange man wartet, es tut sich eigentlich nix mehr. Interessant ist, dass der Sync im Hintergrund weiter zu laufen scheint.
Folgenden Tip habe ich dann auf der Office365 Community Seite gefunden: – Delete the OneDrive for Business app from the Applications folder and reinstall. – Delete the OneDrive for Business app from the Applications folder, then delete ~/Library/Caches/com.microsoft.onedrivebusiness-mac, and ~/Library/Preferences/com.microsoft.onedrivebusiness-mac.plist and reboot.
Sehr radikal, brachte bei mir auch recht wenig! Erstmal lief dann alles… Kurz später ging das ganze von vorne los!
Also habe ich damit mal ein wenig beschäftigt. Dabei ist dann folgendes Script entstanden:
#!/bin/bash IFS=$'\n' # Kill all running instances of OneDrive Business killall -9 "OneDrive for Business" 2>/dev/null killall -9 "OneDrive for Business" 2>/dev/null # Find all stale caches for i in `find ~/Library -name OfficeFileCache 2>/dev/null`; do echo $i; rm -Rf "$i"; done # Restart OneDrive Business /Applications/OneDrive\ for\ Business.app/Contents/MacOS/OneDrive\ for\ Business & # Make a clean exit exit 0
Auch zu finden auf: https://bitbucket.org/snippets/jhochwald/M87g https://gist.github.com/jhochwald/71aab5fe0baaccc6d720
P.S.: Der Start im Terminal zeigt auch ein Logfile an, ggf. hier einfach mal reinschauen! In meinem Beispiel ist es folgendes Logfile (Name ist stark abhängig vom Usernamen, Rechnernamen und Datum/Uhrzeit): Opened log: /Users/jhochwald/Library/Logs/OneDriveBusiness-Bart.dev=0.2015-03-31.1010.32971-1.log
Originally posted on: OneDrive for Business Mac Preview Probleme?










