We have found and fixed this problem, which will be included in the next version, and the following is a manual solution
sudo -i
sqlite3 /var/lib/casaos/files.db 'ALTER TABLE trash_files ADD COLUMN user_id INTEGER NOT NULL DEFAULT 0;'
systemctl restart icewhale-files