nextcloud / nextcloud/previewgenerator

occ preview:pre-generate silently exits after few seconds

Open
#105 14 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs
Dominant language
PHP
Stars
520
Forks
55
PR merge metrics
No merged PRs in 30d

Description

Hello!

I noticed, that my previews are not being generated anymore. So i started to dig what the matter and found out that
sudo -u www-data /usr/bin/php occ preview:pre-generate
just silently exits after 2-3 seconds whithout any output.

I don't know, when and why it happened, but i upgraded to NC 13 not long ago, and some time ago previews was ok.

Is there any way to get some debugging info what's the matter?

My setup:
NC 13
Preview Generator 1.0.9
Debian GNU/Linux 8 (jessie)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the silent exit with sudo -u www-data /usr/bin/php occ preview:pre-generate on the reported Nextcloud 13 and Preview Generator 1.0.9 setup. Investigate the occ preview:pre-generate entry point and surrounding command output or logging, then document a confirmed cause and a way to expose useful debugging information.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.