dataverse-docker icon indicating copy to clipboard operation
dataverse-docker copied to clipboard

Request for debugging help

Open markwilkinson opened this issue 1 year ago • 3 comments
trafficstars

Hi all!

My setup seems to work in every way except for saving data - I can create templates, they are remembered and presented correctly for data entry. However, when i try to enter data I get several messages in the logs, ending with a 404.

The first message is when I save the data file:

dataverse    | [#|2024-11-20T11:06:34.989+0000|SEVERE|Payara 5.2022.3||_ThreadID=83;_ThreadName=http-thread-pool::http-listener-1(3);_TimeMillis=1732100794989;_LevelValue=1000;|
dataverse    |   edu.harvard.hul.ois.jhove.JhoveException: /opt/payara/appserver/glassfish/domains/domain1/config/jhove.confUse -c to specify a configuration file. Path not found or not readable: 

Then, when I attempt to save the deposit, I end up with a 404, and repeated messages in the logs:

dataverse    | [#|2024-11-20T11:07:50.144+0000|WARNING|Payara 5.2022.3|javax.enterprise.ejb.container|_ThreadID=84;_ThreadName=http-thread-pool::http-listener-1(4);_TimeMillis=1732100870144;_LevelValue=900;_MessageID=AS-EJB-00056;|
dataverse    |   A system exception occurred during an invocation on EJB IndexServiceBean, method: public java.util.concurrent.Future edu.harvard.iq.dataverse.search.IndexServiceBean.indexDataset(edu.harvard.iq.dataverse.Dataset,boolean) throws org.apache.solr.client.solrj.SolrServerException,java.io.IOException|#]
dataverse    | 
dataverse    | [#|2024-11-20T11:07:50.146+0000|WARNING|Payara 5.2022.3|javax.enterprise.ejb.container|_ThreadID=84;_ThreadName=http-thread-pool::http-listener-1(4);_TimeMillis=1732100870146;_LevelValue=900;|
dataverse    |   javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://solr:8983/solr/collection1: SolrCore 'collection1' is not available due to init failure: Could not load conf for core collection1: Can't load schema /var/solr/data/collection1/conf/schema.xml: Plugin init failure for [schema.xml] fieldType "text_ws": Plugin init failure for [schema.xml] analyzer/tokenizer "whitespace": [schema.xml] analyzer/tokenizer: missing mandatory attribute 'class'

and finaly:

dataverse    | [#|2024-11-20T11:07:50.386+0000|WARNING|Payara 5.2022.3|edu.harvard.iq.dataverse.DatasetPage|_ThreadID=81;_ThreadName=http-thread-pool::http-listener-1(1);_TimeMillis=1732100870386;_LevelValue=900;|
dataverse    |   No such dataset: doi:10.5072/FK2/7GRCBV|#]
dataverse    | 
dataverse    | [#|2024-11-20T11:07:50.388+0000|WARNING|Payara 5.2022.3|javax.enterprise.resource.webcontainer.jsf.flash|_ThreadID=81;_ThreadName=http-thread-pool::http-listener-1(1);_TimeMillis=1732100870388;_LevelValue=900;_MessageID=jsf.externalcontext.flash.response.already.committed;|
dataverse    |   JSF1095: The response was already committed by the time we tried to set the outgoing cookie for the flash.  Any values stored to the flash will not be available on the next request.|#]

The browser shows: Error – The dataset could not be created. If you believe this is an error, please contact ...

Page Not Found - The page you are looking for was not found. If you believe this is an error, please contact

I'm afraid I don't know where to begin debugging this problem. As I said, everything else is working nicely!

Any advice welcome!

markwilkinson avatar Nov 20 '24 11:11 markwilkinson

@markwilkinson have you tried https://guides.dataverse.org/en/6.4/container/running/demo.html ? If you see any problems in that "demo or eval" tutorial, please open an issue at https://github.com/IQSS/dataverse

pdurbin avatar Nov 20 '24 14:11 pdurbin

Can I bump this? I don't know where to begin, because it isn't clear which component is failing...

markwilkinson avatar Nov 26 '24 11:11 markwilkinson

@markwilkinson hi! @4tikhonov the main person behind this "dataverse-docker" repo and he's traveling and speaking this week.

As I hinted at above, there's another Docker-based solution that members of the Dataverse core team (me, @poikilotherm, @donsizemore) and others are working on upstream in the main "dataverse" repo. If you'd like to give it a try, I'd suggest starting with https://guides.dataverse.org/en/6.4/container/running/demo.html and asking any questions in #containers in https://dataverse.zulipchat.com or our weekly calls: https://ct.gdcc.io (no call this week due to Thanksgiving 🦃 ).

pdurbin avatar Nov 26 '24 13:11 pdurbin