Generating failed of L2-S1 product

Dear Sen4Cap,

L2-S1 preprocessor has been working for most of our sites. It’s strange that it’s not able to generate for one of our sites and we got below error. Any tips to fix this issue?

Thanks and Regards,
Henry

Jun 07 16:57:09 sen2cap start.sh[1957]: 2020-Jun-07 16:57:09.357 INFO [DefaultQuartzScheduler_Worker-8] o.e.s.scheduling.LookupJob - [site ‘PRRC1’,sensor ‘Sentinel2’] Found 1 products for site prrc1 and satellite S2
Jun 07 16:57:09 sen2cap start.sh[1957]: 2020-Jun-07 16:57:09.360 DEBUG [DefaultQuartzScheduler_Worker-8] o.e.s.scheduling.LookupJob - Actual products to download for site prrc1 and satellite S2: 1
Jun 07 16:57:09 sen2cap start.sh[1957]: 2020-Jun-07 16:57:09.360 TRACE [DefaultQuartzScheduler_Worker-8] o.esa.sen2agri.commons.Config - Requested worker for Scientific Data Hub,S2 (active workers: 2, queued tasks: 5)
Jun 07 16:57:09 sen2cap start.sh[1957]: 2020-Jun-07 16:57:09.360 INFO [DefaultQuartzScheduler_Worker-8] o.e.s.scheduling.LookupJob - Job ‘Lookup.Lookup-s2-prrc1’ completed
Jun 07 16:57:09 sen2cap start.sh[1957]: 2020-Jun-07 16:57:09.360 DEBUG [DefaultQuartzScheduler_Worker-8] o.e.s.services.ScheduleManager - Trigger ‘Lookup.Lookup-s2-prrc1’ completed with code ‘NOOP’

● sen2agri-demmaccs.service - Runs MACCS on L1C products
Loaded: loaded (/usr/lib/systemd/system/sen2agri-demmaccs.service; static; vendor preset: disabled)
Active: inactive (dead) since Sun 2020-06-07 16:57:03 UTC; 6s ago
Process: 23172 ExecStart=/usr/share/sen2agri/sen2agri-demmaccs/demmaccs_launcher.py (code=exited, status=0/SUCCESS)
Main PID: 23172 (code=exited, status=0/SUCCESS)

Jun 07 16:57:02 sen2cap demmaccs_launcher.py[23172]: ###################################
Jun 07 16:57:02 sen2cap demmaccs_launcher.py[23172]: 2020-06-07 16:57:02.000920:[23172]:dmworker_1: The product /mnt/archive/dwn_def/s2/default/nun1/S2B_MSIL1C_20191002T034549_N0208_R104_T47PPR_20191002T081906.zip is not valid or temporary unavailable…
Jun 07 16:57:03 sen2cap demmaccs_launcher.py[23172]: Waiting for queue to join…
Jun 07 16:57:03 sen2cap demmaccs_launcher.py[23172]: dmworker_0 will consume: None | l2a | /mnt/archive/maccs_def/{site}/l2a/
Jun 07 16:57:03 sen2cap demmaccs_launcher.py[23172]: 2020-06-07 16:57:03.005184:[23172]:dmworker_0: No tile to process. Gracefully closing…
Jun 07 16:57:03 sen2cap demmaccs_launcher.py[23172]: dmworker_1 will consume: None | l2a | /mnt/archive/maccs_def/{site}/l2a/
Jun 07 16:57:03 sen2cap demmaccs_launcher.py[23172]: 2020-06-07 16:57:03.005324:[23172]:dmworker_1: No tile to process. Gracefully closing…
Jun 07 16:57:03 sen2cap demmaccs_launcher.py[23172]: 2020-06-07 16:57:03.005550:[23172]:dmworker_0: Exit thread
Jun 07 16:57:03 sen2cap demmaccs_launcher.py[23172]: 2020-06-07 16:57:03.005639:[23172]:dmworker_1: Exit thread
Jun 07 16:57:03 sen2cap demmaccs_launcher.py[23172]: All the workers finished their job. Exiting…

Dear Henry,

From what I see in the logs, it is actually the S2 L2A pre-processor (demmaccs using MAJA) that is not working and the reason seems that the input product was deleted from the disk or the archive of the product S2B_MSIL1C_20191002T034549_N0208_R104_T47PPR_20191002T081906 was corrupted.
Could you please check if you still have the product /mnt/archive/dwn_def/s2/default/nun1/S2B_MSIL1C_20191002T034549_N0208_R104_T47PPR_20191002T081906.zip on the disk? Or maybe somebody manually changed the name of the product in the database and now there is not a valid relation between what is in the database and what is on disk…

Best regards,
Cosmin