Update: One night after signing-in and out of my iCloud account, many files got synced to my computer from iCloud but nothing got uploaded.
I checked the logs of the cloudd process with "log stream --process cloudd PID" but found nothing helpful. There is one message "cloudd: (CloudKit) CloudKit SQLite Pool Drain" which appears often and which captured my interest but I found nothing on google about it.
There is a potential reason for iCloud being stuck in "waiting to upload". Some month ago, maybe around the time iCloud stopped uploading, I worked on a github repository which was included in a iCloud subfolder. My computer van was making lots of noise and then I realized iCloud was having problems syncing many changes, for example after every compilation. So I moved the repository out of the iCloud folder which makes sense since it is already backed up at github.
Maybe iCloud never recoverd from that.
Topic:
App & System Services
SubTopic:
Core OS
Tags: