Closed verhas closed 3 weeks ago
delete the old app, reinstall the new one from the release page https://github.com/kevinhermawan/Ollamac/releases
Or just delete the old store:
rm -rf ~/Library/Containers/com.kevinhermawan.Ollamac
Can you please check the solution I suggested in #64 to see if it resolves the issue?
Or just delete the old store:
rm -rf ~/Library/Containers/com.kevinhermawan.Ollamac
Thanks. This fix the issue and Ollamac v2 stated as expected.
Actually, that directory cannot be deleted—see the struggle I attached at the end—but the rm
command deletes enough to make the program start up and function again with the new version.
$ ls -d ~/Library/Containers/com.kevinhermawan.*
/Users/verhasp/Library/Containers/com.kevinhermawan.Ollamac
$ sudo tm -rf ~/Library/Containers/com.kevinhermawan.Ollamac
Password:
$ sudo rm -rf ~/Library/Containers/com.kevinhermawan.Ollamac
Password:
rm: /Users/verhasp/Library/Containers/com.kevinhermawan.Ollamac/.com.apple.containermanagerd.metadata.plist: Operation not permitted
rm: /Users/verhasp/Library/Containers/com.kevinhermawan.Ollamac: Operation not permitted
$ sudo rm -rf ~/Library/Containers/com.kevinhermawan.Ollamac
rm: /Users/verhasp/Library/Containers/com.kevinhermawan.Ollamac/.com.apple.containermanagerd.metadata.plist: Operation not permitted
rm: /Users/verhasp/Library/Containers/com.kevinhermawan.Ollamac: Operation not permitted
$ sudo chmod -R 777 ~/Library/Containers/com.kevinhermawan.Ollamac
sudo rm -rf ~/Library/Containers/com.kevinhermawan.Ollamac
chmod: Unable to change file mode on /Users/verhasp/Library/Containers/com.kevinhermawan.Ollamac/.com.apple.containermanagerd.metadata.plist: Operation not permitted
rm: /Users/verhasp/Library/Containers/com.kevinhermawan.Ollamac/.com.apple.containermanagerd.metadata.plist: Operation not permitted
rm: /Users/verhasp/Library/Containers/com.kevinhermawan.Ollamac: Operation not permitted
$ sudo -i
MacBook-Pro-2:~ root# sudo chmod -R 777 ~/Library/Containers/com.kevinhermawan.Ollamac
chmod: /var/root/Library/Containers/com.kevinhermawan.Ollamac: No such file or directory
MacBook-Pro-2:~ root# sudo rm -rf ~/Library/Containers/com.kevinhermawan.Ollamac
MacBook-Pro-2:~ root# logout
$
$ pwd
/Users/verhasp
$ ls -d ~/Library/Containers/com.kevinhermawan.*
/Users/verhasp/Library/Containers/com.kevinhermawan.Ollamac
$ ls ~/Library/Containers/com.kevinhermawan.Ollamac
$ rmdir ~/Library/Containers/com.kevinhermawan.Ollamac
rmdir: /Users/verhasp/Library/Containers/com.kevinhermawan.Ollamac: Operation not permitted
$ sudo open ~/Library/Containers
$ ls ~/Library/Containers/com.kevinhermawan.Ollamac
$ ls ~/Library/Containers/com.kevinhermawan.Ollamace
ls: /Users/verhasp/Library/Containers/com.kevinhermawan.Ollamace: No such file or directory
$ ls ~/Library/Containers/com.kevinhermawan.Ollamac
The application told me to upgrade itself, and the new version crashes at start.