Closed Arnesbuddy closed 2 years ago
Hello!
My surveillance cams pushes pictures through FTP to Raspberry Pi (1TB SSD USB3 on the pi) NC runs on the same Pi. External Folders for the different folders are set up an work. Using the iOS NC App, the preview creation of images works, but slow. So far so good.
Trying out preview generator and running into an unexpected behavior. There are some faulty folders existing in preview folder structure, the initial ./occ preview:generate-all -vvv runs into an error (in folder .php line 176)
and stopped the preview creation process. When I delete corresponding faulty folder mentioned in the log and restart ./occ preview:generate-all -vvv again, the process goes on, until the next error occurs. All Sw in the latest official release.
Could this behavior get some error handling process, that simply skips / delete the preview folder if it is not possible to create instead of terminating the process?
Ty in advance :)
Are you sure the user who do this task has all the permission ?
Permissions are ok - it is basically about error handling if some errors occur. I have cleaned up the preview folder and now it runs without errors. Imho it would be nice to let the script run until the end and post errors in a log. No need to run into an an error that ends the script.
Thank you for your response!
Hello!
My surveillance cams pushes pictures through FTP to Raspberry Pi (1TB SSD USB3 on the pi) NC runs on the same Pi. External Folders for the different folders are set up an work. Using the iOS NC App, the preview creation of images works, but slow. So far so good.
Trying out preview generator and running into an unexpected behavior. There are some faulty folders existing in preview folder structure, the initial ./occ preview:generate-all -vvv runs into an error (in folder .php line 176)
and stopped the preview creation process. When I delete corresponding faulty folder mentioned in the log and restart ./occ preview:generate-all -vvv again, the process goes on, until the next error occurs. All Sw in the latest official release.
Could this behavior get some error handling process, that simply skips / delete the preview folder if it is not possible to create instead of terminating the process?
Ty in advance :)