Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PreviewGenerator stops on some jpeg files with error „could not create folder“ #239

Closed
Arnesbuddy opened this issue Jun 21, 2021 · 3 comments

Comments

@Arnesbuddy
Copy link

Arnesbuddy commented Jun 21, 2021

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)

3027BF82-8D23-4E8D-97AA-2EEFF6EB50A4

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 :)

@RisedSky
Copy link

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)

3027BF82-8D23-4E8D-97AA-2EEFF6EB50A4

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 ?

@Arnesbuddy
Copy link
Author

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!

@skjnldsv
Copy link
Member

skjnldsv commented Mar 7, 2022

duplicate of #289

@skjnldsv skjnldsv closed this as completed Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants