Package Details: nextcloud-systemd-timers 0.6.3-1

Git Clone URL: https://aur.archlinux.org/nextcloud-systemd-timers.git (read-only, click to copy)
Package Base: nextcloud-systemd-timers
Description: Systemd services and timers for Nextcloud background jobs (see Nextcloud Arch Wiki entry).
Upstream URL: None
Licenses: GPL
Submitter: dschrempf
Maintainer: dschrempf
Last Packager: dschrempf
Votes: 11
Popularity: 0.40
First Submitted: 2018-11-28 09:24
Last Updated: 2020-05-26 07:50

Latest Comments

1 2 Next › Last »

igno2k commented on 2020-10-14 06:14

@dschrempf Thanks, you are right! Maybe the app got deactivated after the Nextcloud upgrade. Everything is working fine now.

dschrempf commented on 2020-10-13 18:28

Did you install the preview generator application? I think it is not included by default. See https://apps.nextcloud.com/apps/previewgenerator.

igno2k commented on 2020-10-13 06:34

I am getting the following error after latest Nextcloud upgrade:

Oct 13 08:31:27 cloud occ[42480]:                                                   
Oct 13 08:31:27 cloud occ[42480]:   Command "preview:pre-generate" is not defined.
Oct 13 08:31:27 cloud occ[42480]:                                                   
Oct 13 08:31:27 cloud occ[42480]:   Did you mean one of these?
Oct 13 08:31:27 cloud occ[42480]:       migrations:generate
Oct 13 08:31:27 cloud occ[42480]:       notification:generate
Oct 13 08:31:27 cloud occ[42480]:       preview:repair
Oct 13 08:31:27 cloud occ[42480]:                                                   
Oct 13 08:31:27 cloud systemd[1]: nextcloud-preview-pre-generate.service: Main process exited, code=exited, status=1/FAILURE
Oct 13 08:31:27 cloud systemd[1]: nextcloud-preview-pre-generate.service: Failed with result 'exit-code'.

Maybe the preview command has changed?

fryfrog commented on 2020-05-26 16:02

I think better than a bunch of timers for each interval, a #comment at the top saying how to override w/ systemd's built in mechanisms would be better. That way you just have one .timer, but people can use any schedule they want.

dschrempf commented on 2020-05-26 07:54

@benjaminabel Thanks for your suggestions! I added an appropriate service. It works on my server, but let me know, if you have problems!

I was also wondering if we could make the periods more flexible. One could provide various timer files (daily, weekly, monthly), and the user can then activate the one he/she wants. What do you think? Is there an easier way to achieve such flexibility?

Cheers, Dominik.

benjaminabel commented on 2020-05-25 13:02

Hi, and thanks for this handy package.

Maybe it would be nice to add a app updater timer for this command:

/usr/bin/runuser -u http -- /usr/bin/php /usr/share/webapps/nextcloud/occ app:update --all

Every day?

dschrempf commented on 2019-10-09 13:11

Hello,

thanks! I changed the timer to be activated every 5 min. Let me know, if there are any other issues.

Dominik

zepp.lee commented on 2019-10-09 12:36

The recommended interval now seems to be 5 minutes (Nextcloud 17). If you take a look at the "Basic settings" as an administrator, it tells you to "Use system cron service to call the cron.php file every 5 minutes."

fryfrog commented on 2019-04-30 19:19

Thanks! :)

dschrempf commented on 2019-04-30 18:57

@fryfrog this is correct. Sorry for the confusion. The packages coexisted for a while, but I only maintained this one.

I have updated the Nextcloud Arch Wiki entry so that it links to this package, and I have also implemented your suggestions. Thank you very much! Please let me know, if you have further comments!

Dominik