Add notes for 2017-04-22

This commit is contained in:
2017-04-22 19:34:59 +03:00
parent 7697a7507d
commit aa63b31188
3 changed files with 29 additions and 8 deletions

View File

@ -323,3 +323,13 @@ $ wc -l /tmp/ciat
$ export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx1024m"
$ time schedtool -D -e ionice -c2 -n7 nice -n19 [dspace]/bin/dspace filter-media -f -v -i 10568/71249 -p "ImageMagick PDF Thumbnail" -v >& /tmp/filter-media-cmyk.txt
```
## 2017-04-22
- Someone on the dspace-tech mailing list responded with a suggestion about the foreign key violation in the `cleanup` task
- The solution is to remove the ID (ie set to NULL) from the `primary_bitstream_id` column in the `bundle` table
- After doing that and running the `cleanup` task again I find more bitstreams that are affected and end up with a long list of IDs that need to be fixed:
```
dspace=# update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (435, 1136, 1132, 1220, 1236, 3002, 3255, 5322);
```