Forum

Cron abnormally sto...
 
Notifications
Retirer tout

Cron abnormally stopped

7 Posts
2 Utilisateurs
0 Reactions
3,980 Vu
(@jeanmoulin)
Posts: 70
Estimable Member
Début du sujet
 
[#8800]

Hello
I'm running projeqtor 10.2.1

Since monday I'm getting alert emails 'Cron abnormally stopped'
I didn't change anything on my projeqtor environment, cron was running OK and then sudenly it's not OK .anymore

I restarted it manually sevaral time : no change. I rebooted the serveur : no change

See the detailled log in the attached file :  

cron-stops-abnormaly.jpg

Regards


 
Posté : 09/03/2023 6:43 pm
(@babynus)
Posts: 14952
Membre Admin
 

I'm running projeqtor 10.2.1

This may be the source of the issue.
We only support last stable release on this forum.
Migrate to V10.2.3, issue may already be fixed.


 
Posté : 09/03/2023 7:09 pm
(@jeanmoulin)
Posts: 70
Estimable Member
Début du sujet
 

HELLO
I migrated to 10.2.3 and the cron is still stopping abnormaly
2023-03-15 13:15:25.722 ===== TRACE ===== Cron started at 15/03/2023 13:15:25
2023-03-15 13:15:26.124 ===== TRACE ===== Logfile->purge() : Technical trace to keep current log file
2023-03-15 13:15:26.211 ** ERROR ** [V10.2.3] ERROR **
2023-03-15 13:15:26.211
** ERROR ** [V10.2.3] on file '/var/www/html/projeqtor/external/html2pdf/src/Html2Pdf.php' at line (1530)
2023-03-15 13:15:26.211
** ERROR ** [V10.2.3] cause = getimagesize(img/checkedOK.png): failed to open stream: No such file or directory
2023-03-15 13:15:26.211
** ERROR ** [V10.2.3] getimagesize(img/checkedOK.png): failed to open stream: No such file or directory in Html2Pdf.php at line 1530
2023-03-15 13:15:26.211
** ERROR ** [V10.2.3] Error while executing CRON script : fix the source issue and manually restart the CRON Process
2023-03-15 13:15:26.213
** ERROR ** [V10.2.3] EXCEPTION **
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] on file '/var/www/html/projeqtor/external/html2pdf/src/Html2Pdf.php' at line (1536)
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] cause = Unable to get the size of the image [img/checkedOK.png]
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] => #0 /var/www/html/projeqtor/external/html2pdf/src/Html2Pdf.php (5786) -> _drawImage()
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] => #1 /var/www/html/projeqtor/external/html2pdf/src/Html2Pdf.php (1456) -> _tag_open_IMG()
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] => #2 /var/www/html/projeqtor/external/html2pdf/src/Html2Pdf.php (1424) -> _executeAction()
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] => #3 /var/www/html/projeqtor/external/html2pdf/src/Html2Pdf.php (5606) -> _makeHTMLcode()
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] => #4 /var/www/html/projeqtor/external/html2pdf/src/Html2Pdf.php (1456) -> _tag_open_TD()
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] => #5 /var/www/html/projeqtor/external/html2pdf/src/Html2Pdf.php (1410) -> _executeAction()
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] => #6 /var/www/html/projeqtor/external/html2pdf/src/Html2Pdf.php (612) -> _makeHTMLcode()
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] => #7 /var/www/html/projeqtor/model/AutoSendReport.php (220) -> writeHTML()
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] => #8 /var/www/html/projeqtor/model/Cron.php (566) -> sendReport()
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] => #9 /var/www/html/projeqtor/tool/cronRun.php (33) -> run()
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] Unable to get the size of the image [img/checkedOK.png]
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] Exception while executing CRON script : fix the source issue and manually restart the CRON Process
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] === Trace Stack for last error ===
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] => /var/www/html/projeqtor/tool/projeqtor.php at line 1541 calling debugPrintTraceStack()
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] => calling exceptionHandler()
2023-03-15 13:15:26.213 ** ERROR ** [V10.2.3] ===
2023-03-15 13:15:30.276 ** ERROR ** [V10.2.3] CRON abnormally stopped
2023-03-15 13:15:30.276 ** ERROR ** [V10.2.3] === Trace Stack for last error ===
2023-03-15 13:15:30.276 ** ERROR ** [V10.2.3] => /var/www/html/projeqtor/model/Cron.php at line 308 calling debugPrintTraceStack()
2023-03-15 13:15:30.276 ** ERROR ** [V10.2.3] => /var/www/html/projeqtor/tool/cronRun.php at line 29 calling Cron:abort()
2023-03-15 13:15:30.276 ** ERROR ** [V10.2.3] => calling cronAbort()
2023-03-15 13:15:30.276 ** ERROR ** [V10.2.3] ===


 
Posté : 15/03/2023 3:20 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,
It is due to incorrect location for image in a report (displays OK on screen, not OK through Cron).
Disable the auto sending of report to unlock the Cron process.

We'll fix the source issue in next version.


 
Posté : 15/03/2023 3:46 pm
(@jeanmoulin)
Posts: 70
Estimable Member
Début du sujet
 

Could you tell me how to "Disable the auto sending of report to unlock the Cron process." ??

I went into the scheduled report screen and deleted all the scheduled reports but the cron keeps on terninating abnormaly, so I guess there must be a paramater to change somewhere but I cannot find where

regards


 
Posté : 15/03/2023 5:57 pm
(@babynus)
Posts: 14952
Membre Admin
 

With admin profile, acces to "Planned reports" ("Rapports programmés" in french)
Disable the planned reports


 
Posté : 15/03/2023 6:32 pm
(@jeanmoulin)
Posts: 70
Estimable Member
Début du sujet
 

OK thank you, In fact I hadn't disabled all the reports.
cron stopped terminating abnormaly now

regards


 
Posté : 15/03/2023 6:54 pm
Share:
Retour en haut