If
those solutions don't work, the most common case for data corruption is when the
publication status is missing in the database, or is strangely duplicated. You will have to add it
directly via SQL queries in this case - see the following thread for
some advice:
For
more details, and if the above solution doesn't work, please see this
thread - it includes a query that should help you identify problem rows
in the database, as well as a proposed query to resolve a much more rare
issue. Again, I don't know if this query will be exactly the same in older ICA-AtoM versions or not, but it is worth a try:
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/220bbe08-9f58-43e9-8c82-da0b668cac9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
root@justicia public_html]# cd icaatom/
[root@justicia icaatom]# php symfony propel:generate-slugs
>> propel Generate actor slugs...
>> propel Generate information_object slugs...
>> propel Generate term slugs...
>> propel Generate event slugs...
>> propel Done!
[root@justicia icaatom]#
[root@justicia icaatom]# php symfony propel:build-nested-sethttps://groups.google.com/forum/#!msg/ica-atom-users/Z8xPAMr0hiY/60L714l3EQAJ
>> propel Build nested set for information_object...
>> propel Build nested set for actor...
>> propel Build nested set for term...
>> propel Done!
[root@justicia icaatom]#
[root@justicia ~]# mysql -Bse "use museo_icaatom; SELECT io.id as io_id, obj.id as obj_id, st.status_id as pub_status_id, slug.slug FROM information_object io LEFT JOIN object obj ON io.id=obj.id LEFT JOIN status st ON io.id=st.object_id AND st.type_id=158 LEFT JOIN slug ON slug.object_id=io.id;" > /home/temp/slugids.txtThe error in the logs when I attempt to move an item is:
[root@justicia ~]#
[root@justicia ~]# cat /home/temp/slugids.txt |wc -l
2448
[root@justicia ~]# head -n 5 /home/temp/slugids.txt
1 1 159 b9kns
316 316 160 fondo-historico-villa-grimaldi
319 319 160 previo-golpe-militar
328 328 160 documentos-generales
329 329 160 cartas
[root@justicia ~]#
[root@justicia ~]# cat /home/temp/slugids.txt |awk 'BEGIN {FS="\t"} $1=="" {print}'
[root@justicia ~]# cat /home/temp/slugids.txt |awk 'BEGIN {FS="\t"} $2=="" {print}'
[root@justicia ~]# cat /home/temp/slugids.txt |awk 'BEGIN {FS="\t"} $3=="" {print}'
[root@justicia ~]# cat /home/temp/slugids.txt |awk 'BEGIN {FS="\t"} $4=="" {print}'
[root@justicia ~]#
[06-Apr-2017 07:08:58 America/Vancouver] File '/home/museo/public_html/icaatom/data/index/segments_ovt' is not readable.I did attempt to find the code which is calling segments_ovt, but my search came back empty.
Hopefully manually removing the corrupted index first will allow the rebuild command to progress as expected.
Let us know how it goes!
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/ad8ea1e6-eebc-4807-806e-b66d7a59fbe1%40googlegroups.com.