1
0
Fork 0
Commit graph

23 commits

Author SHA1 Message Date
moanos
a1900348ea Bump version to 27.1.1 2023-09-22 21:51:08 +02:00
moanos
b0f9689d1b Merge branch 'main' of https://github.com/mother-of-all-self-hosting/ansible-role-nextcloud 2023-09-19 10:42:15 +02:00
moanos
d556416c0f Bump to 27.1.0 2023-09-19 10:41:28 +02:00
Gergely Horváth
a877b16c03
Preview generator setup (#7)
* Preview generator setup

Enable the variable nextcloud_preview_enabled and you are good to go.

Some important aspects of usage:
- the preview generator has two stages [according to their readme](https://github.com/nextcloud/previewgenerator)
  - a generate-all phase, which has to be executed only a single time
  - a pre-generate phase, that should be run in a cronjob.
    That runs quite fast if the generate-all phase finishd.
We do not want to run the generate-all phase multiple times, so its execution has to be followed somehow.
This is done by creating a file on the host side and both the task that executes generate-all
and both the cronjob checks its existance.

Multiple vaiables are also defined and the corresponding default values are also set.
These values are based on the [upstream readme](https://github.com/nextcloud/previewgenerator) and also on experience.
Feel free to change anything.

Once installed, the playbook needs to be called with the adjust-nextcloud-config tag.
This tag sets up the variables and calls the generate-all script, that will also create the file---signalling
its finished state---on the host.
*** As this may take a long time, be sure to only call it when you have time to leave it running!!! ***
The playbook calls generate-all asynchronously, but it will timeout after about 27h.
On 60GBs, most if images, it took about 10 minutes to finish.
If it takes more time, you may want to start it from the host by calling
```sh
/usr/bin/env docker exec mash-nextcloud-server php /var/www/html/occ preview:generate-all
```

If the nextcloud_preview_enabled value is set back to false, the host side files are cleaned up
and also the cron job is changed, not to call prevew generation again however, the database and generated
previews are kept intact.

* fix playbook format suggestions by Slavi (see conversation in !7)
2023-09-16 10:01:20 +03:00
moanos
b062764ab7 Fix to actual version 2023-09-16 00:03:39 +02:00
moanos
1b790d96cb Bump version to 27.1.0 2023-09-15 23:35:12 +02:00
Julian-Samuel Gebühr
7559dd14d1 Bump version 2023-08-30 06:17:12 +02:00
Julian-Samuel Gebühr
4aa09784df Update to 27.0.1 2023-08-09 10:10:57 +02:00
Slavi Pantaleev
4b1e795caf Force-build customized container image when its Dockerfile changes 2023-07-06 20:11:55 +03:00
Slavi Pantaleev
dc10682805 Upgrade (26.0.3 -> 27.0.0) 2023-06-27 10:49:32 +03:00
Slavi Pantaleev
809caa028c Upgrade (26.0.2 -> 26.0.3) 2023-06-27 10:45:23 +03:00
Slavi Pantaleev
ff0b35dfc4 Upgrade (26.0.1 -> 26.0.2) 2023-06-08 11:03:08 +03:00
Slavi Pantaleev
9d79706524 Upgrade (26.0.0 -> 26.0.1) 2023-04-27 08:18:06 +03:00
Slavi Pantaleev
04eb6cee8b Make slashless-redirect safer 2023-04-03 15:24:50 +03:00
Slavi Pantaleev
74845395e3 Improve Redis support by mounting read-write redis-session.ini into the container
Related to https://github.com/nextcloud/docker/issues/763

Fixes https://github.com/mother-of-all-self-hosting/ansible-role-nextcloud/issues/4
2023-04-03 10:20:27 +03:00
Gergely Horváth
c5707fbe2d
fix renamed variable issue (#3) 2023-04-02 19:11:28 +03:00
Slavi Pantaleev
269a0ba23a Make nextcloud_systemd_required_services_list and nextcloud_container_additional_networks more configurable 2023-03-29 14:12:59 +03:00
Slavi Pantaleev
c58e62225a
Merge pull request #1 from nielscil/features/nextcloud-redis-support
Add redis support to nextcloud role
2023-03-25 17:29:34 +02:00
Slavi Pantaleev
7f78e5ed0c
Remove double space and simpify if statement 2023-03-25 17:29:27 +02:00
nbouma
40a0586614 Add redis support to nextcloud role 2023-03-25 15:46:17 +01:00
Slavi Pantaleev
d96c7b0b7e Upgrade (25.0.4 -> 26.0.0) 2023-03-23 08:07:35 +02:00
Slavi Pantaleev
4fe27471ff Add support for installing/configuring the Office (Collabora) app 2023-03-17 13:51:45 +02:00
Slavi Pantaleev
b6c8c81978 Initial commit 2023-03-17 11:34:15 +02:00