It seems there's something wrong with my cleanup script, when the script runs it just puts the files/folders that were removed back onto gdrive. I can't find any information in logs, it does not report anything wrong. I am using the cleanup script as is to the letter (copy pasted from github).
#!/bin/bash
####### Check if script already running ##########
if [[ -f "/mnt/user/appdata/other/rclone/rclone_cleanup" ]]; then
echo "$(date "+%d.%m.%Y %T") INFO: Exiting as script already running."
exit
else
touch /mnt/user/appdata/other/rclone/rclone_cleanup
fi
####### End Check if script already running ##########
################### Clean-up UnionFS Folder #########################
echo "$(date "+%d.%m.%Y %T") INFO: starting unionfs cleanup."
find /mnt/user/mount_unionfs/google_vfs/.unionfs -name '*_HIDDEN~' | while read line; do
oldPath=${line#/mnt/user/mount_unionfs/google_vfs/.unionfs}
newPath=/mnt/user/mount_rclone/google_vfs${oldPath%_HIDDEN~}
rm "$newPath"
rm "$line"
done
find "/mnt/user/mount_unionfs/google_vfs/.unionfs" -mindepth 1 -type d -empty -delete
rm /mnt/user/appdata/other/rclone/rclone_cleanup
exit