Auf Thema antworten

Hello.

Today i see i have an error with SynOcr, starting from around 3 june .


the error is this



./synOCR.sh: line 1226: 340580 + : syntax error: operand expected (error token is "+ ")





the line 1226 in synocr.sh is this






pagecount_new=$(( $(get_key_value ./etc/counter pagecount) + $pagecount_latest))


is strange because at one hour it was working, the next hour is was not working anymore. And i did not update anything on DSM, only if it was done automatically.



I did a restore with Hyper Backup from 02 june , but the error is still there.


Even if i delete

/Synocr/etc/counter

is recreating the counter file back with 0 , but the error is still there on all profiles.


I attached 2 log files, one which was processed OK and another one with the error.


Can somebody give me a hint what to do next to resolve it ?


I can try to reinstall, but how can i keep my configurations profiles?


Thank you.


Additional post fields