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


On Fri, 9 Jun 2023 at 00:37, Olayiwola Lawal <[email protected]>
wrote:

> 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)
> On Thursday, 8 June 2023 at 13:20:14 UTC+1 Kim Shepherd wrote:
>
>> 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
>>
>> On Thu, 8 Jun 2023 at 23:15, Olayiwola Lawal <[email protected]>
>> wrote:
>>
>>> 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.
>>>
>>> On Wednesday, 7 June 2023 at 00:25:28 UTC+1 Kim Shepherd wrote:
>>>
>>>> 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 <[email protected]> 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?
>>>>>
>>>>> [image: 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 [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/dspace-community/4fa9d064-7ece-4c9d-b0b4-1c895c416ebfn%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/dspace-community/4fa9d064-7ece-4c9d-b0b4-1c895c416ebfn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> 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 [email protected].
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dspace-community/c5a23945-5ec1-49a3-9307-f1005bc20e26n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/dspace-community/c5a23945-5ec1-49a3-9307-f1005bc20e26n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-community/19d99b5d-70e0-427f-838a-4827389319acn%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-community/19d99b5d-70e0-427f-838a-4827389319acn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/CAKZKfqqR6Bz-UJMZs7pf-GqJrovD7AS4YQvTh_Fu-Gv%3DJOmoag%40mail.gmail.com.

Reply via email to