mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2017-04-22
This commit is contained in:
@ -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);
|
||||
```
|
||||
|
Reference in New Issue
Block a user