You can update the publication status of all of your information
objects:
1) First backup your SQL database. If you are using MySQL you can do
this from the command line with the command:
"mysqldump -u {username} -p -h {hostname} {database_name} > backup.sql"
2) Update the publication status with the SQL query (published = 160,
draft = 159):
"UPDATE q_status SET status_id = 160 WHERE status_id = 159;"
3) Update your search index, once again from the command line type:
"php /path/to/ica-atom/symfony search:populate QubitSearch"
That should do the trick. Let me know if you have any problems.
David Juhasz,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | P: 604.527.2056 | F: 604.521.2059
Ahhh, now I see. A status record for each archival description should
be created on import, but there is a bug in Release 1.0.9; I've created
a new issue [1] for this bug.
[1] => http://code.google.com/p/qubit-toolkit/issues/detail?id=1658
You can use MySQL to create the missing status records (and publish the
descriptions), but it's a complex query, so please make sure to *backup
your data* before running the following MySQL command:
"INSERT INTO q_status (object_id, type_id, status_id) SELECT
q_information_object.id, 158, 160 FROM q_information_object LEFT JOIN
q_status ON q_information_object.id = q_status.object_id WHERE
q_information_object.id > 1 AND q_status.id is null;"
After running this query, you will need to rebuild your search index
again to sync it with the publication status data.
Let me know if you have any problems.
Regards,
--
David Juhasz,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | P: +1.604.527.2056 | F: +1.604.521.2059
We've been wrestling with the segmentation fault problem for a while
unfortunately, as you can see from the bug report [1]. Probably your
best bet to work around the issue is a patch that my colleague Jesús
Garcia Crespo has created which allows restarting the indexing process
after a segmentation fault. I've cc'd Jesús on this email, and I'm
sure he'll respond in the next day or two (he's located in Spain so it's
quite late in his local timezone right now).
[1] => http://code.google.com/p/qubit-toolkit/issues/detail?id=1128
Wow, it's very interesting that clearing empty records helped the
segfault problem. Thanks for the feedback, it may be helpful for
eventually fixing the problem.
Regards,
David Juhasz,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | P: 604.527.2056 | F: 604.521.2059
I solved the problem by deleting the empty records in the table
q_information_object_i18n, there were 6 six almost empty records.
After that the indexprocess completed succesfully.
--
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/4c381715-9b37-45b4-945e-81f7d83830f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.