Skip to content
Snippets Groups Projects
Commit 1cadaf73 authored by ines mkacher's avatar ines mkacher
Browse files

Update capture.md

parent dbd63f8a
No related branches found
No related tags found
2 merge requests!14Mise à jour arborescence,!131.0
......@@ -192,4 +192,72 @@ cat /var/www/html/MaarchCourrier/custom/cs_maarch/modules/MaarchCapture/modules/
cat /opt/maarch/MaarchCapture/modules/MaarchWSClient
```
## Bad WS Response format: return resId is not set
```
root@srv-maarchrecette:/opt/maarch/MaarchCapture/files/errors/BSCAN_MASS-1592923801-1011124017# cat D1__MaarchWSClient__#resources__return.log
Array
(
[errors] => Body is not set or empty
)
```
```
root:/opt/maarch/MaarchCapture/files/errors/BSCAN_MASS-1592923801-1011124017# cat WSCAN_MASS-1592923801-1011124017.log
2020-06-23T16:50:01+02:00 [0] Initializing workflow SCAN_MASS
2020-06-23T16:50:01+02:00 [0] (Re)Starting workflow SCAN_MASS
2020-06-23T16:50:02+02:00 [0] Initializing step separatePDF
2020-06-23T16:50:02+02:00 [0] Starting step separatePDF
2020-06-23T16:50:02+02:00 [0] Init process ...
2020-06-23T16:50:02+02:00 [0] There is 1 to process
2020-06-23T16:50:02+02:00 [0] * File n°1: DOC230620-23062020164805.pdf *
2020-06-23T16:50:02+02:00 [0] Page 1 split into /opt/maarch/MaarchCapture/files//BSCAN_MASS-1592923801-1011124017/2/1.pdf
2020-06-23T16:50:02+02:00 [0] Page 2 split into /opt/maarch/MaarchCapture/files//BSCAN_MASS-1592923801-1011124017/2/2.pdf
2020-06-23T16:50:02+02:00 [0] Page 3 split into /opt/maarch/MaarchCapture/files//BSCAN_MASS-1592923801-1011124017/2/3.pdf
2020-06-23T16:50:02+02:00 [0] Page 4 split into /opt/maarch/MaarchCapture/files//BSCAN_MASS-1592923801-1011124017/2/4.pdf
2020-06-23T16:50:02+02:00 [0] Page 5 split into /opt/maarch/MaarchCapture/files//BSCAN_MASS-1592923801-1011124017/2/5.pdf
2020-06-23T16:50:02+02:00 [0] Page 6 split into /opt/maarch/MaarchCapture/files//BSCAN_MASS-1592923801-1011124017/2/6.pdf
2020-06-23T16:50:02+02:00 [0] Page 7 split into /opt/maarch/MaarchCapture/files//BSCAN_MASS-1592923801-1011124017/2/7.pdf
2020-06-23T16:50:02+02:00 [0] This is a separator ! Extract name ...
2020-06-23T16:50:02+02:00 [0] This is a maarch document page ! Add page to pdf ...
2020-06-23T16:50:03+02:00 [0] This is a maarch document page ! Add page to pdf ...
2020-06-23T16:50:03+02:00 [0] This is a maarch document page ! Add page to pdf ...
2020-06-23T16:50:03+02:00 [0] This is a maarch document page ! Add page to pdf ...
2020-06-23T16:50:04+02:00 [0] This is a maarch document page ! Add page to pdf ...
2020-06-23T16:50:04+02:00 [0] This is a maarch document page ! Add page to pdf ...
2020-06-23T16:50:04+02:00 [0] End of merge pdf for service : COURRIER
2020-06-23T16:50:04+02:00 [0] Document D1 added with source /opt/maarch/MaarchCapture/files//BSCAN_MASS-1592923801-1011124017/COURRIER_2020062316061252084879.pdf
2020-06-23T16:50:04+02:00 [0] End of process ...
2020-06-23T16:50:04+02:00 [0] Step completed in 2.490 seconds
2020-06-23T16:50:04+02:00 [0] Saving batch on disk...
2020-06-23T16:50:04+02:00 [0] Batch saved in 0.000 seconds
2020-06-23T16:50:04+02:00 [0] Initializing step SendToMaarch
2020-06-23T16:50:04+02:00 [0] Starting step SendToMaarch
2020-06-23T16:50:04+02:00 [2] ERROR Bad WS Response format: return resId is not set. Return dump output generated in file '/opt/maarch/MaarchCapture/files//BSCAN_MASS-1592923801-1011124017/D1__MaarchWSClient__#resources__return.log'.
2020-06-23T16:50:04+02:00 [3] ERROR Bad WS Response format: return resId is not set. Return dump output generated in file '/opt/maarch/MaarchCapture/files//BSCAN_MASS-1592923801-1011124017/D1__MaarchWSClient__#resources__return.log'.
2020-06-23T16:50:04+02:00 [3] Process error! See previous messages for more information.
2020-06-23T16:50:04+02:00 [0] return value from web service /resources resId :
2020-06-23T16:50:04+02:00 [0] Step completed in 0.082 seconds
2020-06-23T16:50:04+02:00 [0] Saving batch on disk...
2020-06-23T16:50:04+02:00 [0] Batch saved in 0.000 seconds
```
une fois toutes les vérifications faites, il s'est avéré que le repertoire /tmp était plein
une fois /tmp vidé il fallait également redemarrer le service apache
```
service httpd restart
```
ou
```
service apache2 restart
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment