sbgrid / data-capture-module

5 stars 4 forks source link

Need help in DCM installation #36

Open Thanh-Thanh opened 4 years ago

Thanh-Thanh commented 4 years ago

Hi all,

We're trying to install DCM on our Test environment (Dataverse 4.10.1).

We've installed DCM as described here and configured dataverse in consequence (with ::DataCaptureModuleUrl and :UploadMethods).

However, when we call the dataverse api to get the upload script (api/datasets/:persistentId/dataCaptureModule/rsync?persistentId=$PERISTENTID), we have this error message in the log :

There was a problem getting the script for XGRMMT . DCM returned status code: 404]]

We have no idea what really is the problem and whether the DCM is well installed as needed.

Can someone please tell us how to check on the DCM installation ?

Thanks in advanced,

Thanh Thanh

Thanh-Thanh commented 4 years ago

Hi all, It's me again :) We continue to investigate a little bit more about this problem. Here is what we got 'till now:

However, for further investigation, we're stuck : no logs written in /var/log/lighttpd/breakage.log or /var/log/lighttpd/error.log

With this new info, we wonder if someone can tell us how to process further to detect the real problem ?

Thanks in advanced,

Thanh Thanh

pameyer commented 4 years ago

Hi Thanh-Thanh,

Assuming that lighttpd is working correctly (lighttpd running, calls showing up in /var/log/lighttpd/access.log, etc), the next stage that might have a problem would be rq. Is the rq service running, and Iis there anything informative in the rq logfile (/var/log/rq.log, if I'm remembering correctly)?

For testing if a DCM is setup correctly, you could use https://github.com/sbgrid/data-capture-module/blob/master/scripts/test_client.sh (which is what the jenkins pipelines use to test in isolation).

pkiraly commented 4 years ago

I have some questions regarding to this software:

Thanks, Péter

pameyer commented 4 years ago

HI @pkiraly

pkiraly commented 3 years ago

@pameyer

Some suggestions for the installation documents:

pameyer commented 3 years ago

@pkiraly - Thanks for the feedback!

For distinct systems, do you have suggestions for how to improve "install it on a stand-alone, disposable system" https://github.com/sbgrid/data-capture-module/blob/master/doc/installation.md to make this clearer?

For dependencies, those are currently specified in the RPM (and in my testing, installing the RPM also installed the dependencies); but it sounds like a good idea to mention them explicitly.