Re: [dspace-community] Edit Collections

205 views
Skip to first unread message
Message has been deleted

Kim Shepherd

unread,
Jun 6, 2023, 7:25:28 PM6/6/23
to Johanna Carpio, DSpace Community
Hi Johanna,

It is likely that you haven't initialized any entity / relationship types in your DSpace database yet.
There is a command for the dspace launcher 'initialize-entities -f /path/to/relationship-types.xml' and a default relationship-types.xml in dspace/config/entities/ directory.
Before running this I recommend you have a look through the documentation at https://wiki.lyrasis.org/display/DSDOC7x/Configurable+Entities to make sure the default relationship configuration, metadata registry entries, etc. suit your needs and I usually try to remove anything that I don't plan on using, before performing this initialization.

Hope this helps!

Kim

0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC


On Wed, 7 Jun 2023 at 10:43, Johanna Carpio <joha...@gmail.com> wrote:

Hi all,

In dspace 7.5, create collections, but when editing to select an entity type, the entity types are not displayed.

Any suggestions what I should do?

Colecciones.png

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/4fa9d064-7ece-4c9d-b0b4-1c895c416ebfn%40googlegroups.com.

Johanna Carpio

unread,
Jun 7, 2023, 7:07:19 PM6/7/23
to DSpace Community
Thanks, it worked.
And one more question please, you cannot see the thumbnails of the publications, I have uploaded some in .jpg and .pdf format

Kim Shepherd

unread,
Jun 8, 2023, 1:40:47 AM6/8/23
to Johanna Carpio, DSpace Community
Hi Johanna, glad to hear it! Generating thumbnails and extracting fulltext from documents is done with a scheduled `filter-media` task, which is documented at https://wiki.lyrasis.org/display/DSDOC7x/Mediafilters+for+Transforming+DSpace+Content

Hope this helps!

0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC

Olayiwola Lawal

unread,
Jun 8, 2023, 7:15:45 AM6/8/23
to DSpace Community
Hi  Kim,

I am also facing the same problem; I tried following the same documentation about initializing the entities by running the command. I don't know if I am to follow another step after that, but the entity field is empty.

Attached is my dspace log.
Screenshot 2023-06-08 092346.png
Screenshot 2023-06-08 092553.png
Screenshot 2023-06-08 092526.png
Screenshot 2023-06-08 092622.png

Kim Shepherd

unread,
Jun 8, 2023, 8:20:14 AM6/8/23
to Olayiwola Lawal, DSpace Community
Hi Olayiwola, there aren't any errors to worry about there (the database bean exception is normal - all launcher commands unfortunately give that error, it is spurious, caused by spring).
Could you share the exact command you're running?
You can also check the state of the database by connecting to it with psql or another postgresql client and running the query "SELECT * FROM relationship_type"

Cheers

Kim

0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC

Olayiwola Lawal

unread,
Jun 8, 2023, 8:37:17 AM6/8/23
to DSpace Community
Hi Kim,

I ran this command: ./dspace initialize-entities -f dspace/config/entities/relationship-types.xml
 
A query of the database as you suggested returned this:

 id | left_type | right_type | leftward_type | rightward_type | left_min_cardinality | left_max_cardinality | right_min_cardinality | right_max_cardinality | copy_to_left | copy_to_right | tilted
----+-----------+------------+---------------+----------------+----------------------+----------------------+-----------------------+-----------------------+--------------+---------------+--------
(0 rows)

Kim Shepherd

unread,
Jun 8, 2023, 9:23:30 AM6/8/23
to Olayiwola Lawal, DSpace Community
I think the path might need adjusting -- config/entities/relationship-types.xml should be relative to your dspace.dir, so for example if you have dspace installed in /dspace/ then your path should also have that leading slash eg /dspace/config/entities/relationship-types.xml or if it's in /usr/local, it would be /usr/local/dspace/config/entities/relationship-types.xml

(or, since it looks like you are in ${dspace.dir}/bin when you run the command, ../config/entities/relationship-types.xml will probably work)

Cheers

Kim

0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC


Olayiwola Lawal

unread,
Jun 8, 2023, 9:28:35 AM6/8/23
to DSpace Community
<< I think the path might need adjusting>>

This worked. Big thanks for the support.
Reply all
Reply to author
Forward
0 new messages