This error makes me think that you have not done the data
upgrade/migration.  It is expecting a uuid field and not finding it.

Look in here https://wiki.lyrasis.org/display/DSDOC6x/Upgrading+DSpace
the section on the database upgrade:  Upgrade your database

If you restart tomcat, the db upgrade is supposed to happen automatically,
but I did it before restarting tomcat.  Here are some notes I have from the
upgrade:


bin/dspace database info  <== so you can see the status of the db
bin/dspace database migrate <== to actually do the upgrade/migration
bin/dspace database repair <== run this if you get a web checksum error
mismatch

you can run

bin/dspace database info

Any time to get info on your database.

-Jose




On Tue, Apr 27, 2021 at 11:55 AM manu m <[email protected]> wrote:

> *dspace@dspace:/dspace/bin$ sudo ./dspace index-discovery -b*
>
> Exception: The schema validator returned: Wrong column type in
> public.tasklistitem for column eperson_id. Found: int4, expected: uuid
> org.dspace.core.exception.DatabaseSchemaValidationException: The schema
> validator returned: Wrong column type in public.tasklistitem for column
> eperson_id. Found: int4, expected: uuid
> at org.dspace.core.Context.init(Context.java:170)
> at org.dspace.core.Context.<init>(Context.java:138)
> at org.dspace.discovery.IndexClient.main(IndexClient.java:50)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
> dspace@dspace:/dspace/bin$
>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" 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-tech/1857021b-29fa-4628-85a7-87239fc6855bn%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/1857021b-29fa-4628-85a7-87239fc6855bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" 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-tech/CAK%3DKc-sp%3D5PTSUYReKNk%3Dwry3kdBV3FzvBqZ%3D9UtSA8gkRryxA%40mail.gmail.com.

Reply via email to