8743 Commits

Author SHA1 Message Date
James Valleroy
2cbbd95609
Release v24.14 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v24.14
2024-07-01 20:55:34 -04:00
James Valleroy
2a51fb8c9b
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-07-01 20:55:10 -04:00
James Valleroy
3e56c96461
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-07-01 20:11:38 -04:00
Sunil Mohan Adapa
7c485c0367
container: Allow podman containers to run inside the container
- Allow all system calls from within the container (in particular the openat2
syscall [1]). This enables running podman containers inside the nspawn
container. Nextcloud can now be tested/developed inside the container.

- List of available system call filter groups can be seen with the command
'systemd-analyze syscall-filter'[2].

Links:

1) https://github.com/containers/podman/issues/7013

2) https://www.freedesktop.org/software/systemd/man/latest/systemd-analyze.html#systemd-analyze%20syscall-filter%20%5BSET...%5D

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-06-30 19:14:57 -04:00
James Valleroy
d87685b95a
diagnostics: Add option for automatic repair
- Not enabled by default currently. This can be changed after further
  testing.

- Re-use existing operation from diagnostics run. However, this requires
  changing the app_id of the operation for each app.

Tests:

- Enable automatic repair, and run diagnostics. See that repairs are
  run.

- Enable automatic repair, and wait for daily diagnostics run. See that
  repairs are run.

Closes: #2399.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2024-06-24 12:06:20 -07:00
John Doe
e7e9642a11
Translated using Weblate (French)
Currently translated at 100.0% (1574 of 1574 strings)
2024-06-20 21:09:36 +02:00
James Valleroy
3262fc1830
Release v24.13 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v24.13
2024-06-17 20:47:52 -04:00
James Valleroy
15ff133166
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-06-17 20:47:37 -04:00
ikmaak
4d1d4b44f6
Translated using Weblate (Dutch)
Currently translated at 99.8% (1571 of 1574 strings)
2024-06-17 15:09:20 +02:00
Tymofii Lytvynenko
1e80430e40
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1574 of 1574 strings)
2024-06-09 18:09:13 +02:00
Tymofii Lytvynenko
c8ce3e8635
Translated using Weblate (Czech)
Currently translated at 100.0% (1574 of 1574 strings)
2024-06-09 18:09:12 +02:00
Tymofii Lytvynenko
71823c91e4
Translated using Weblate (Swedish)
Currently translated at 100.0% (1574 of 1574 strings)
2024-06-09 18:09:11 +02:00
James Valleroy
83afcd7b3d
Release v24.12 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v24.12
2024-06-03 20:36:31 -04:00
James Valleroy
f6fc7614af
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-06-03 20:34:50 -04:00
Ray Kuo
8779071b01
Translated using Weblate (Chinese (Traditional))
Currently translated at 23.8% (375 of 1574 strings)
2024-06-03 13:47:16 +02:00
Ettore Atalan
d997c77f0d
Translated using Weblate (German)
Currently translated at 99.1% (1561 of 1574 strings)
2024-05-31 23:09:12 +00:00
Ray Kuo
caff38ef68
Translated using Weblate (Chinese (Traditional))
Currently translated at 23.3% (367 of 1574 strings)
2024-05-29 03:09:21 +00:00
gfbdrgng
2e88b4a6d8
Translated using Weblate (Russian)
Currently translated at 99.4% (1565 of 1574 strings)
2024-05-26 06:09:10 +02:00
Ray Kuo
324df35ca0
Translated using Weblate (Chinese (Traditional))
Currently translated at 23.0% (363 of 1574 strings)
2024-05-25 05:09:11 +02:00
gfbdrgng
253acab0b2
Translated using Weblate (Russian)
Currently translated at 93.5% (1472 of 1574 strings)
2024-05-25 05:09:10 +02:00
Ray Kuo
72d53e7978
Translated using Weblate (Chinese (Traditional))
Currently translated at 22.6% (357 of 1574 strings)
2024-05-24 02:09:23 +00:00
Besnik Bleta
1927d37301
Translated using Weblate (Albanian)
Currently translated at 99.6% (1568 of 1574 strings)
2024-05-22 08:01:45 +02:00
Ray Kuo
a5e4cef46c
Translated using Weblate (Chinese (Traditional))
Currently translated at 21.6% (340 of 1574 strings)
2024-05-22 08:01:44 +02:00
James Valleroy
e1ab15dcbc
Release v24.11 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v24.11
2024-05-20 20:35:08 -04:00
James Valleroy
7aefa4335a
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-20 20:34:07 -04:00
Ray Kuo
31382a5b5e
Translated using Weblate (Chinese (Traditional))
Currently translated at 20.3% (321 of 1574 strings)
2024-05-21 02:04:43 +02:00
bittin1ddc447d824349b2
6767c712e7
Translated using Weblate (Swedish)
Currently translated at 99.8% (1572 of 1574 strings)
2024-05-21 02:04:42 +02:00
Ray Kuo
c78ab18248
Translated using Weblate (Chinese (Traditional))
Currently translated at 19.6% (310 of 1574 strings)
2024-05-17 13:01:48 +00:00
Ray Kuo
545e13207f
Translated using Weblate (Chinese (Traditional))
Currently translated at 19.6% (309 of 1574 strings)
2024-05-16 14:01:44 +02:00
Ray Kuo
65a6df3760
Translated using Weblate (Chinese (Traditional))
Currently translated at 19.5% (308 of 1574 strings)
2024-05-10 08:59:16 +02:00
大王叫我来巡山
44a1e2e7e8
Translated using Weblate (Chinese (Simplified))
Currently translated at 66.5% (1048 of 1574 strings)
2024-05-08 13:08:05 +02:00
Burak Yavuz
2b60619127
Translated using Weblate (Turkish)
Currently translated at 100.0% (1574 of 1574 strings)
2024-05-08 13:08:03 +02:00
gallegonovato
a0176e2b17
Translated using Weblate (Spanish)
Currently translated at 100.0% (1574 of 1574 strings)
2024-05-08 13:07:59 +02:00
James Valleroy
334f5f4af9
Release v24.10 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v24.10
2024-05-06 21:00:45 -04:00
James Valleroy
97bebf1a1e
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 20:59:27 -04:00
James Valleroy
23592667f6
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 20:59:13 -04:00
Sunil Mohan Adapa
f494760f2a
nextcloud: Add fallback for when quadlet is not available
- Let the .container file be created and modified even when quadlets are not
available. This is harmless.

- When upgrading from bookworm to trixie, the fallback service file is removed
if setup is re-run.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
[jvalleroy: Add daemon-reload after creating service file]
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 18:27:17 -04:00
Sunil Mohan Adapa
653b642dae
nextcloud: Warn that community provides the container not team
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:56 -04:00
Sunil Mohan Adapa
31785857b3
nextlcoud: Enable app with experimental warning
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:54 -04:00
Sunil Mohan Adapa
fb0dd323ff
nextcloud: Populated and maintain a list of trusted domains
- Rename 'domain' to 'override domain'. See below.

- If override domain is not set and trusted domains list is properly maintained,
then Nextcloud can be accessed using a domain from list of trusted domains. This
is ideal as accessing from .onion domain and a regular domain will
simultaneously without forcing a single domain. However, non-localhost IP
addresses will not work with this approach and 'override domain' will be needed.

- When override domain is set to an IP address or a domain, then that domain
will forced. Also hostname are accepted on a request but after the first page
load, access will be forcefully redirected to the configured override domain.
Multiple domains, even trusted domains, will thus not work. This option should
be used as a last resort.

- All un-setting the override domain to an empty value so that trusted domains
can be used again.

- Update diagnostic checks to ensure that above logic is used with checking
domains.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:52 -04:00
Sunil Mohan Adapa
1272be0ad6
nextcloud: Allow re-running setup when app is disabled
- Enable the redis drop-in configurations before redis-server is started so that
the configuration is effective.

- When app is disabled and re-running setup, disable it after running setup
because setup() enables it.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:49 -04:00
Sunil Mohan Adapa
685e636a93
notification: Handle more formatting errors
When there message strings containing substrings of the form
"{object.property}", an AttributeError is raised instead of KeyError during
string formatting. Catch these errors.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:47 -04:00
Sunil Mohan Adapa
5c101a1447
nextcloud: Enable pretty URLs without /index.php in them
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:45 -04:00
Sunil Mohan Adapa
f1276d736a
nextcloud: Implement enable/disable container
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:43 -04:00
Sunil Mohan Adapa
f8ddc774b0
nextcloud: Allow re-running setup
- Retrieve a database password from configuration if one is set instead of
generating new one.

- Create database after starting the container. This is okay as database
configuration is not set until maintenance:install operation is run.

- Minor change to setting administrator password during install.

Tests:

- Update profile in Nextcloud and re-run setup. The updated settings are still
available.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:40 -04:00
Sunil Mohan Adapa
614bea4511
nextcloud: Restart container when dependent services are restarted
This is required because when services are restarted, their Unix domain sockets
are removed and new ones are created. The container will still be using the old
sockets and will fail to connect to the service.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:38 -04:00
Sunil Mohan Adapa
6b046ec27d
nextcloud: Ship instead of create cron timer related units
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:35 -04:00
Sunil Mohan Adapa
035d3b49bf
nextcloud: Pull the image separately before starting systemd unit
This prevents timeout of the service if the image pull is slow.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:33 -04:00
Sunil Mohan Adapa
6e2db19a26
nextcloud: Wait on init sync lock
- First wait until the files are copied into /var/www/html from
/usr/src/nextcloud.

- Then wait until init-sync lock is released.

- This allows for re-running setup as CAN_INSTALL file is removed after install
process in completed.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:30 -04:00
Sunil Mohan Adapa
85cc9f08fa
nextcloud: Use php-fpm container instead of apache container
- Configuring just php-fpm is easier compared to configuring Apache + mod_php.
There is no need to configure trusted proxies as the requests are made using the
FastCGI protocol.

- There is no need for a full web server as we already run Apache.

- Place nextcloud data in /var/lib/container so that non-PHP files can be served
directly without php-fpm involved. This location is more suitable for switching
to nextcloud based on a .deb file (if ever). This is done by configuring the
volume to serve a bind mounted directory of our choice.

- Update Apache configuration to proxy to php-fpm instead of another web server.
Include the changes needed for Apache configuration to serve non-php files
directly.

- Managed the volume using quadlet podman systemd generator.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:27 -04:00