Error in preprocessing S1 products

Dear Sen4CAP,

I am aware there are other treads about this topic, but I think my issue is different.

I am running Sen4CAP v1.1 on a Centos 7.8 VM (no CreoDIAS). The installation seems successful, however I am testing the processing using the sample data available on your website (Bound box, LPIS, config file, etc, etc). I did not change any setting or parameter in the database.

I keep having this error from the Journal

Jul 16 09:27:37 ip204.ip-51-77-168.eu start.sh[19175]: 2020-Jul-16 09:27:37.514 ERROR [DefaultQuartzScheduler_Worker-2] o.e.s.p.s.Sentinel1Level2Job - Cannot process acquisition ‘S1B_IW_SLC__1SDV_20200405T173246_20200405T173313_021012_027DB9_130C.SAFE’. Reason: could not execute statement; SQL [n/a]; constraint [value]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
Jul 16 09:27:37 ip204.ip-51-77-168.eu start.sh[19175]: 2020-Jul-16 09:27:37.514 INFO [DefaultQuartzScheduler_Worker-2] o.e.s.p.s.Sentinel1Level2Job - Processing acquisition S1A_IW_SLC__1SDV_20200406T172441_20200406T172508_032010_03B29A_2DB8.SAFE
Jul 16 09:27:37 ip204.ip-51-77-168.eu start.sh[19175]: 2020-Jul-16 09:27:37.515 WARN [DefaultQuartzScheduler_Worker-2] o.esa.sen2agri.commons.Config - Config key [processor.l2s1.extract.histogram] not found, using default value ‘null’
Jul 16 09:27:37 ip204.ip-51-77-168.eu start.sh[19175]: 2020-Jul-16 09:27:37.516 ERROR [DefaultQuartzScheduler_Worker-2] o.h.e.j.spi.SqlExceptionHelper - ERROR: null value in column “value” violates not-null constraint
Jul 16 09:27:37 ip204.ip-51-77-168.eu start.sh[19175]: Detail: Failing row contains (41501, processor.l2s1.extract.histogram, null, null, 2020-07-16 09:27:37.515302+02).

the full journal activity can be found at the following link

https://mallontechnology-my.sharepoint.com/:t:/p/andrea_melchiorre/EZE1bs7vpBtHhoaRDWmMgEwBKbUvuqWLBuj2xvPjUeFtuQ?e=6agS8o

also the full config table can be read at the following link:

https://mallontechnology-my.sharepoint.com/:t:/p/andrea_melchiorre/ESg3rCcCk7xBuFKjfe6RMRABfl_-ovHilGXDHemFxAPMIQ?e=GHB1GJ

In any case, all the S2 and S1 are correctly downloaded in dwn_def but no reprocessing started.

Can you please suggest any resolution? Shall I do something else to start the reprocessing?

Thank you,
Andrea

Dear Andrea,

A quick fix for this issue is to manually insert the required configuration key in the database:

`sudo psql -U postgres sen4cap -c "INSERT INTO config (key,value) VALUES ('processor.l2s1.extract.histogram', 'false');"`

Sen4CAP v1.2 should not have this issue.

Best regards,
Cosmin.

Thank you for your reply however, I tried to update to v1.2 but the installer does not work (at least on my system) and the update corrupted my previous installation so I am back to the start with no SW installed.

the installation issue is the same I sent you some time ago - sen4cap database not found and psql command non existing.

Best regards,
Andrea