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

V2 postgresql #597

Open
wants to merge 304 commits into
base: testing
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 175 commits
Commits
Show all changes
304 commits
Select commit Hold shift + click to select a range
f3d4b14
Update nginx.conf
ericgaspar Oct 8, 2023
c12c87e
Update nginx.conf
ericgaspar Oct 8, 2023
ba9845a
Update DESCRIPTION.md
ericgaspar Oct 10, 2023
942cd87
Auto-update README
yunohost-bot Oct 10, 2023
81e1511
add mail config
ericgaspar Oct 10, 2023
998993f
Update restore
ericgaspar Oct 12, 2023
152ffda
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Oct 12, 2023
b1025a7
Auto-update README
yunohost-bot Oct 12, 2023
2b18c2c
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Oct 12, 2023
28cc359
Update extra_php-fpm.conf
ericgaspar Oct 12, 2023
e305738
Update config.json
ericgaspar Oct 12, 2023
6b6699d
bump opcache.memory_consumption to 256
ericgaspar Oct 12, 2023
e440ab9
Update extra_php-fpm.conf
ericgaspar Oct 12, 2023
5fb5480
Update nginx.conf
ericgaspar Oct 12, 2023
139f915
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Oct 21, 2023
fc8ea62
Auto-update README
yunohost-bot Oct 21, 2023
fdacb1b
Update nginx.conf
ericgaspar Oct 21, 2023
ef9287b
Merge branch 'v2_PostgreSQL' of https://github.com/YunoHost-Apps/next…
ericgaspar Oct 21, 2023
dd4f97e
Update upgrade
ericgaspar Oct 21, 2023
8b8671d
Update upgrade
ericgaspar Oct 21, 2023
5383c04
Update nginx.conf
ericgaspar Oct 24, 2023
7b7657c
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Oct 29, 2023
a0864f2
Update nginx.conf
ericgaspar Oct 29, 2023
025a040
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Oct 29, 2023
1f9e0b8
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Oct 29, 2023
374819c
Update _common.sh
ericgaspar Oct 29, 2023
1413ddf
Update nginx.conf
ericgaspar Oct 29, 2023
41cecec
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Oct 31, 2023
e47de15
cleaning
ericgaspar Nov 23, 2023
77e8a18
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Nov 24, 2023
62d7f2c
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Nov 24, 2023
4d975cc
Update restore
ericgaspar Nov 24, 2023
d687230
Update extra_php-fpm.conf
ericgaspar Nov 24, 2023
c5db82b
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Nov 24, 2023
79e4cdf
fix
ericgaspar Nov 30, 2023
b41bfba
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Nov 30, 2023
03d7960
fix
ericgaspar Dec 12, 2023
1ab867a
Auto-update README
yunohost-bot Dec 12, 2023
1ebbf75
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Dec 21, 2023
63bd60d
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jan 10, 2024
f135445
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jan 10, 2024
98d24a9
add psql pwd
ericgaspar Jan 10, 2024
92ca887
cleaning
ericgaspar Jan 10, 2024
cb57f51
Update config.json
ericgaspar Jan 10, 2024
5c1f057
Update upgrade
ericgaspar Jan 10, 2024
e32aaf6
Update manifest.toml: bump version to have a version reference corres…
alexAubin Jan 10, 2024
ce61682
Auto-update README
yunohost-bot Jan 10, 2024
e724e98
Update scripts/upgrade
ericgaspar Jan 10, 2024
5149bcb
Update upgrade: grompf
alexAubin Jan 10, 2024
1538596
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jan 10, 2024
1827a85
Update upgrade: aaaaaa
alexAubin Jan 10, 2024
6ebebe8
Update manifest.toml
ericgaspar Jan 11, 2024
8a6b529
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jan 11, 2024
ab68a3a
Update upgrade
ericgaspar Jan 11, 2024
d7568ca
cleaning
ericgaspar Jan 11, 2024
4e9a1aa
Create PRE_UPGRADE.md
ericgaspar Jan 11, 2024
7394835
Update PRE_UPGRADE.md
ericgaspar Jan 11, 2024
c39600e
Update upgrade
ericgaspar Jan 12, 2024
06eefba
fix
ericgaspar Jan 12, 2024
196c308
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jan 12, 2024
80623fe
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jan 12, 2024
ecc4497
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jan 15, 2024
5d99103
Update upgrade: fix check that postgresql is empty during mysql->psql…
alexAubin Jan 16, 2024
8204d8a
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jan 26, 2024
dc77d76
Update upgrade
ericgaspar Jan 26, 2024
61bc1ff
Update upgrade
ericgaspar Jan 26, 2024
33982bf
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jan 29, 2024
6288d6d
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jan 29, 2024
4a83c2b
Update manifest.toml
ericgaspar Feb 1, 2024
c67899f
Auto-update README
yunohost-bot Feb 1, 2024
37fe56f
Update config.json
ericgaspar Feb 1, 2024
8aab6f7
Update upgrade
ericgaspar Feb 1, 2024
29fc438
Update upgrade
ericgaspar Feb 1, 2024
8912fbe
Update upgrade
ericgaspar Feb 1, 2024
d5cfec0
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Feb 1, 2024
e9d9b28
Update nginx.conf
ericgaspar Feb 3, 2024
f592437
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Feb 21, 2024
98c13e0
Auto-update README
yunohost-bot Feb 21, 2024
08d190f
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Feb 27, 2024
ef5b058
Update manifest.toml
ericgaspar Feb 29, 2024
91b1e7f
Auto-update README
yunohost-bot Feb 29, 2024
c1d0950
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Feb 29, 2024
3c5f4f5
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Feb 29, 2024
bc905bc
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Mar 1, 2024
ec910e1
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Mar 8, 2024
8416531
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Mar 9, 2024
d0645b9
Update manifest.toml
ericgaspar Mar 28, 2024
b40d079
Auto-update READMEs
yunohost-bot Mar 28, 2024
061dcc1
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Apr 3, 2024
cbfc4bd
Auto-update READMEs
yunohost-bot Apr 3, 2024
6e7edc4
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Apr 9, 2024
aa462e9
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Apr 16, 2024
09219ab
remove upgrade_type
ericgaspar Apr 18, 2024
e509d37
Revert "remove upgrade_type"
ericgaspar Apr 19, 2024
a423112
29
ericgaspar Apr 23, 2024
cca9460
Auto-update READMEs
yunohost-bot Apr 23, 2024
06a9c07
Update manifest.toml
ericgaspar Apr 23, 2024
e5d224a
Auto-update READMEs
yunohost-bot Apr 23, 2024
611a61a
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Apr 24, 2024
89f4373
Merge branch 'testing' into 29.0.0
ericgaspar Apr 25, 2024
ded5039
Merge branch 'testing' into 29.0.0
ericgaspar Apr 26, 2024
eacd8f2
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Apr 26, 2024
3503f0e
add pre upgrade warning for NC 29
OniriCorpe Apr 26, 2024
8d7ac4c
Merge branch '29.0.0' into v2_PostgreSQL
ericgaspar May 17, 2024
1d0d3f1
Auto-update READMEs
yunohost-bot May 17, 2024
6d0c2ce
update to PHP8.3
ericgaspar May 22, 2024
2b1d579
Auto-update READMEs
yunohost-bot May 22, 2024
04b7894
Update manifest.toml
ericgaspar May 22, 2024
1ffe5e4
Auto-update READMEs
yunohost-bot May 22, 2024
7c9f968
Merge pull request #684 from YunoHost-Apps/29.0.0
ericgaspar May 23, 2024
cc263ec
Update manifest.toml
ericgaspar May 23, 2024
0d05a77
Auto-update READMEs
yunohost-bot May 23, 2024
1b66d7f
Fix space splitting in phpflags on install (#690)
lyynd Jun 1, 2024
c3ec387
Merge branch 'master' into testing
ericgaspar Jun 1, 2024
f6a8dc8
Auto-update READMEs
yunohost-bot Jun 1, 2024
652d6de
Update upgrade
ericgaspar Jun 2, 2024
a524e08
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jun 2, 2024
2fef2c7
Update upgrade
ericgaspar Jun 3, 2024
253357a
Update manifest.toml
ericgaspar Jun 6, 2024
cc45b8e
Auto-update READMEs
yunohost-bot Jun 6, 2024
9a233f5
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jun 6, 2024
38c2ecc
Fix phpflags (#691)
tituspijean Jun 8, 2024
1c3536c
Update upgrade
ericgaspar Jun 20, 2024
73a3f0d
Update upgrade
ericgaspar Jun 20, 2024
36cd0dc
Update upgrade
ericgaspar Jun 20, 2024
361f046
Update upgrade
ericgaspar Jun 20, 2024
1ab6c01
Fix upgrade: php version is 8.3 starting from 29.x ? (#692)
alexAubin Jun 20, 2024
ef6d230
Update manifest.toml
ericgaspar Jun 20, 2024
6aa7821
Auto-update READMEs
yunohost-bot Jun 20, 2024
6870be0
Update tests.toml
ericgaspar Jun 20, 2024
336bc29
Merge branch 'testing' of https://github.com/YunoHost-Apps/nextcloud_…
ericgaspar Jun 20, 2024
25b828b
Merge branch 'master' into testing
ericgaspar Jun 20, 2024
09e7966
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jun 20, 2024
89899fd
[autopatch] Do not delete logs on app removal (#697)
yunohost-bot Jun 23, 2024
2f0cfe5
[autopatch] Do not delete logs on app removal (#698)
yunohost-bot Jun 23, 2024
d848e73
29.0.3
ericgaspar Jun 25, 2024
e584e31
Auto-update READMEs
yunohost-bot Jun 25, 2024
26bfa59
Update remove
ericgaspar Jun 25, 2024
0a4b38f
Merge branch 'testing' of https://github.com/YunoHost-Apps/nextcloud_…
ericgaspar Jun 25, 2024
7e51d53
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jun 25, 2024
2d4ff6b
Update upgrade
ericgaspar Jun 25, 2024
1583a7c
Update upgrade
ericgaspar Jun 25, 2024
4d8b668
Update upgrade
ericgaspar Jun 25, 2024
88fbb73
Indent
alexAubin Jun 27, 2024
f7c21e4
Fix again upgrade ending with Nextcloud being in PHP 8.2 ?
alexAubin Jun 27, 2024
b96736a
Auto-update READMEs
yunohost-bot Jun 27, 2024
e33fafe
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jun 27, 2024
d9b99c4
Update upgrade
ericgaspar Jun 27, 2024
42ae252
Update nginx.conf
ericgaspar Jul 1, 2024
0691cf4
Merge branch 'NGINX-upstream-setting' into v2_PostgreSQL
ericgaspar Jul 1, 2024
9fcb43a
Update manifest.toml
ericgaspar Jul 18, 2024
49e88d8
Auto-update READMEs
yunohost-bot Jul 18, 2024
7c23c3a
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jul 18, 2024
0742c99
Auto-update READMEs
yunohost-bot Jul 18, 2024
70e9e72
Rework DESCRIPTION.md (#707)
alexAubin Jul 18, 2024
c0a58b2
bump all old versions
kay0u Jul 25, 2024
9d44878
oupsie
kay0u Jul 25, 2024
9bb5bee
Auto-update READMEs
yunohost-bot Jul 25, 2024
0380b1f
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jul 26, 2024
8a090a9
Update upgrade
ericgaspar Jul 26, 2024
7d25e4e
Update upgrade
ericgaspar Jul 26, 2024
1cb2448
system_addressbook_exposed is a boolean
kay0u Jul 29, 2024
0c4ab48
Auto-update READMEs
yunohost-bot Jul 29, 2024
a3173b7
Merge pull request #703 from YunoHost-Apps/NGINX-upstream-setting
kay0u Jul 29, 2024
4da627e
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jul 29, 2024
7f40b5a
migrate system_addressbook_exposed to boolean, fix upgrade test
kay0u Jul 29, 2024
4fa1f99
another fix for system_addressbook_exposed, update the dav conf accor…
kay0u Jul 29, 2024
ae91654
zblerg, do not modify system_addressbook_exposed config value in the …
kay0u Jul 29, 2024
4b9224f
add redis-server as deps
kay0u Jul 30, 2024
cbc8971
Update manifest.toml
ericgaspar Jul 30, 2024
de7afc9
Update manifest.toml
ericgaspar Jul 30, 2024
bc59bba
Merge pull request #710 from YunoHost-Apps/trying-to-fix-the-upgrade-…
kay0u Jul 30, 2024
12024a6
Merge branch 'master' into testing
ericgaspar Jul 30, 2024
a52df89
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Jul 30, 2024
e215d9c
find files before chown them
kay0u Jul 30, 2024
5dc5e8b
chown the root folder too
kay0u Jul 30, 2024
8d682cb
fix find condition
kay0u Jul 31, 2024
706d507
find ... chmod is not faster, at least avoid to chown -R the data_dir…
kay0u Jul 31, 2024
d240d55
add a button in the config panel to run chown/chmod on data_dir
kay0u Jul 31, 2024
30b2d81
we can avoid this chmod too i guess?
kay0u Jul 31, 2024
55b5c79
only nextcloud is allowed to read the config file
kay0u Jul 31, 2024
07f90a8
zblerg, the config file doesn't exist before install
kay0u Aug 1, 2024
5556fb6
wait until nginx has actually remove the nextcloud conf during upgrad…
kay0u Aug 1, 2024
d7f9b2c
create a function for that
kay0u Aug 1, 2024
49ec72b
fix change-url dav detection
kay0u Aug 1, 2024
73a3498
only if domain has changed...
kay0u Aug 1, 2024
fa5da4f
Update scripts/_common.sh
kay0u Aug 1, 2024
79c87b1
Merge pull request #712 from YunoHost-Apps/fix-dav-detection
kay0u Aug 1, 2024
4372e3d
Merge pull request #711 from YunoHost-Apps/speedup-chown
kay0u Aug 1, 2024
ad86334
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Aug 1, 2024
8a7f99d
moar sleep
kay0u Aug 1, 2024
5e498de
oups
kay0u Aug 1, 2024
8cfdb4f
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Aug 2, 2024
f985ed4
Update _common.sh
ericgaspar Aug 3, 2024
e83c680
minor typos
ericgaspar Aug 3, 2024
a86e321
Update backup
ericgaspar Aug 3, 2024
31fd6a5
minor typos
ericgaspar Aug 3, 2024
2f88a3e
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Aug 3, 2024
bf5ef59
Merge branch 'master' into testing
ericgaspar Aug 8, 2024
b6793f8
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Aug 8, 2024
1c8a1ba
Fix removing ACL permissions on uninstall
x3rAx Aug 13, 2024
aae9736
Fix: Add missing `file` argument to `setfacl`
x3rAx Aug 13, 2024
abfb04d
Fix: Use absolute path for removing ACL permissions
x3rAx Aug 13, 2024
d8737db
Update manifest.toml
ericgaspar Aug 20, 2024
a531164
Auto-update READMEs
yunohost-bot Aug 20, 2024
79ef249
Update manifest.toml
ericgaspar Aug 20, 2024
2794d04
Auto-update READMEs
yunohost-bot Aug 20, 2024
291157f
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Aug 22, 2024
d7d2403
Add notify push option (#417)
kay0u Aug 27, 2024
42a511f
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Aug 27, 2024
9da7de2
Merge pull request #717 from x3rAx/patch-1
kay0u Aug 27, 2024
047cfa3
Merge branch 'master' into testing
ericgaspar Aug 27, 2024
5f3de8b
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Aug 27, 2024
aca04bd
Remove ~duplicate pre-upgrade message (#723)
alexAubin Aug 30, 2024
19ae3b0
Fix notify_push after reboot/restart the service, create the folder /…
kay0u Sep 1, 2024
aa5842d
Update manifest.toml
ericgaspar Sep 3, 2024
6f7509a
Auto-update READMEs
yunohost-bot Sep 3, 2024
5164bc7
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Sep 3, 2024
46bffb0
Update backup
ericgaspar Sep 3, 2024
294298d
Update upgrade
ericgaspar Sep 3, 2024
4e0a635
Update upgrade
ericgaspar Sep 3, 2024
22e9fb5
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Sep 12, 2024
090070c
Auto-update READMEs
yunohost-bot Sep 12, 2024
af3a571
29.0.7
ericgaspar Sep 12, 2024
f43dc34
Auto-update READMEs
yunohost-bot Sep 12, 2024
3d6ee20
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Sep 12, 2024
fd7cfa6
30.0.0
ericgaspar Sep 14, 2024
9b0133f
Update manifest.toml
ericgaspar Sep 14, 2024
68d6833
Auto-update READMEs
yunohost-bot Sep 14, 2024
6c8718d
cleaning
ericgaspar Sep 15, 2024
63cf35d
Add comment about the cron check for high perf backend
alexAubin Sep 18, 2024
7a1274d
Add extended description of the notify push option
alexAubin Sep 18, 2024
82bd58f
Merge branch 'master' into testing
ericgaspar Sep 18, 2024
bb6200c
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Sep 18, 2024
e7c5a94
Fixed backup (#732)
orhtej2 Sep 25, 2024
77e3ed5
Auto-update READMEs
yunohost-bot Sep 25, 2024
ab2df75
Update backup
ericgaspar Sep 25, 2024
28ac86d
cleaning
ericgaspar Sep 25, 2024
ae9f506
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Sep 27, 2024
3c23d05
cleaning
ericgaspar Sep 27, 2024
d1d315c
Update ADMIN.md (#734)
tomdereub Sep 30, 2024
7701925
Merge branch 'master' into testing
ericgaspar Sep 30, 2024
a5c5b13
Merge branch 'testing' into v2_PostgreSQL
ericgaspar Sep 30, 2024
27202f9
Merge remote-tracking branch 'origin/testing' into v2_PostgreSQL
ericgaspar Oct 1, 2024
f1cd393
Update tests.toml
ericgaspar Oct 1, 2024
5070326
Update tests.toml
ericgaspar Oct 1, 2024
cca6695
Update config
ericgaspar Oct 2, 2024
e317420
fix linter
ericgaspar Oct 11, 2024
d0804d6
Update manifest.toml
ericgaspar Oct 11, 2024
7d6591f
cleaning
ericgaspar Oct 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In addition to Nextcloud core features, the following are made available with th
* Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's not already served - i.e. by Baïkal


**Shipped version:** 28.0.6~ynh1
**Shipped version:** 29.0.2~ynh1

**Demo:** <https://demo.nextcloud.com/>

Expand Down
2 changes: 1 addition & 1 deletion README_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In addition to Nextcloud core features, the following are made available with th
* Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's not already served - i.e. by Baïkal


**Versión actual:** 28.0.6~ynh1
**Versión actual:** 29.0.2~ynh1

**Demo:** <https://demo.nextcloud.com/>

Expand Down
2 changes: 1 addition & 1 deletion README_eu.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In addition to Nextcloud core features, the following are made available with th
* Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's not already served - i.e. by Baïkal


**Paketatutako bertsioa:** 28.0.6~ynh1
**Paketatutako bertsioa:** 29.0.2~ynh1

**Demoa:** <https://demo.nextcloud.com/>

Expand Down
2 changes: 1 addition & 1 deletion README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ En plus des fonctionnalités principales de Nextcloud, les fonctionnalités suiv
* Utilise l'adresse `/.well-known` pour la synchronisation CalDAV et CardDAV du domaine si aucun autre service ne l'utilise déjà - par exemple, Baïkal


**Version incluse :** 28.0.6~ynh1
**Version incluse :** 29.0.2~ynh1

**Démo :** <https://demo.nextcloud.com/>

Expand Down
2 changes: 1 addition & 1 deletion README_gl.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In addition to Nextcloud core features, the following are made available with th
* Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's not already served - i.e. by Baïkal


**Versión proporcionada:** 28.0.6~ynh1
**Versión proporcionada:** 29.0.2~ynh1

**Demo:** <https://demo.nextcloud.com/>

Expand Down
2 changes: 1 addition & 1 deletion README_zh_Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In addition to Nextcloud core features, the following are made available with th
* Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's not already served - i.e. by Baïkal


**分发版本:** 28.0.6~ynh1
**分发版本:** 29.0.2~ynh1

**演示:** <https://demo.nextcloud.com/>

Expand Down
1 change: 1 addition & 0 deletions conf/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"hashing_default_password": true,
"localstorage.allowsymlinks": true,
"simpleSignUpLink.shown": false,
"default_phone_region": "",
"maintenance_window_start": 1,
"mail_smtpmode": "smtp",
"mail_smtpport": "25",
Expand Down
2 changes: 1 addition & 1 deletion conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ location ^~ __PATH__/ {
# that file is correctly served; if it doesn't, then the request is passed to
# the front-end controller. This consistent behaviour means that we don't need
# to specify custom rules for certain paths (e.g. images and other assets,
# `/updater`, `/ocm-provider`, `/ocs-provider`), and thus
# `/updater`, `/ocs-provider`), and thus
# `try_files $uri $uri/ /nextcloud/index.php$request_uri`
# always provides the desired behaviour.
index index.php index.html __PATH__/index.php$request_uri;
Expand Down
4 changes: 4 additions & 0 deletions doc/PRE_UPGRADE.d/28.0.3~ynh1.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#FIX this pre_upgrade notification/migration/warning
Starting in Nextcloud 28.0.1~ynh2, we are deprecating support for MariaDB. We are moving from MariaDB to PostgreSQL database.

If you are upgrading to a new major version of Nextcloud, please make sure that your Nextcloud apps are up to date from Nextcloud's administration panel beforehand.

Additionally, if you installed specific Nextcloud apps, we recommend making sure that they are compatible with the new major version. YunoHost will attempt to check this automatically at the very beginning of the upgrade, but a manual check doesn't hurt either. For Nextcloud 28, this forum thread might be helpful : <https://help.nextcloud.com/t/apps-not-compatible-with-nc-28/176234>.

5 changes: 5 additions & 0 deletions doc/PRE_UPGRADE.d/29.0.0~ynh1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
If you are upgrading to a new major version of Nextcloud, please make sure that your Nextcloud apps are up to date from Nextcloud's administration panel beforehand.

Additionally, if you installed specific Nextcloud apps, we recommend making sure that they are compatible with the new major version.
YunoHost will attempt to check this automatically at the very beginning of the upgrade, but a manual check doesn't hurt either.
For Nextcloud 29, this forum thread might be helpful : <https://help.nextcloud.com/t/apps-with-missing-nc29-support/186782>.
16 changes: 10 additions & 6 deletions manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "Nextcloud"
description.en = "Online storage, file sharing platform and various other applications"
description.fr = "Stockage en ligne, plateforme de partage de fichiers et diverses autres applications"

version = "28.0.6~ynh1"
version = "29.0.2~ynh1"

maintainers = ["kay0u"]

Expand Down Expand Up @@ -66,8 +66,12 @@ ram.runtime = "512M"
[resources.sources]

[resources.sources.main]
url = 'https://download.nextcloud.com/server/releases/nextcloud-28.0.6.tar.bz2'
sha256 = 'df0d3384b447cba1e128f22080f6780521f868169beabee8ea0d155bf9c66b8f'
url = 'https://download.nextcloud.com/server/releases/nextcloud-29.0.2.tar.bz2'
sha256 = '2d49d297dc340092021057823e8e78a312bc00f56de7d8677ac790590918ab17'

[resources.sources.28]
url = 'https://download.nextcloud.com/server/releases/nextcloud-28.0.0.tar.bz2'
sha256 = '4e8b0b74b40221e85f92ab869d0873c69a52d7e43889d9259c6259428a6a36f2'

[resources.sources.27]
url = 'https://download.nextcloud.com/server/releases/nextcloud-27.0.0.tar.bz2'
Expand Down Expand Up @@ -112,8 +116,8 @@ ram.runtime = "512M"
api.allowed = ["visitors", "all_users"]

[resources.apt]
packages = "mariadb-server, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.2-fpm, php8.2-bz2, php8.2-imap, php8.2-gmp, php8.2-gd, php8.2-intl, php8.2-curl, php8.2-apcu, php8.2-redis, php8.2-ldap, php8.2-imagick, php8.2-zip, php8.2-mbstring, php8.2-xml, php8.2-mysql, php8.2-igbinary, php8.2-bcmath"
packages = "postgresql, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.3-pgsql, php8.3-mysql, php8.3-fpm, php8.3-bz2, php8.3-imap, php8.3-gmp, php8.3-gd, php8.3-intl, php8.3-curl, php8.3-apcu, php8.3-redis, php8.3-ldap, php8.3-imagick, php8.3-zip, php8.3-mbstring, php8.3-xml, php8.3-igbinary, php8.3-bcmath"

[resources.database]
type = "mysql"

type = "postgresql"

36 changes: 0 additions & 36 deletions scripts/_ynh_mysql_connect_as.sh

This file was deleted.

37 changes: 0 additions & 37 deletions scripts/_ynh_mysql_dump_db.sh

This file was deleted.

33 changes: 5 additions & 28 deletions scripts/backup
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
source ../settings/scripts/_ynh_mysql_dump_db.sh

#=================================================
# DECLARE DATA AND CONF FILES TO BACKUP
Expand All @@ -28,50 +27,28 @@ ynh_backup --src_path="$install_dir"
ynh_backup --src_path="$data_dir" --is_big

#=================================================
# BACKUP THE NGINX CONFIGURATION
#=================================================

ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"

#=================================================
# BACKUP THE PHP-FPM CONFIGURATION
# SYSTEM CONFIGURATION
#=================================================

ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"

#=================================================
# SPECIFIC BACKUP
#=================================================
# BACKUP LOGROTATE
#=================================================
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"

ynh_backup --src_path="/etc/logrotate.d/$app"

#=================================================
# BACKUP FAIL2BAN CONFIGURATION
#=================================================

ynh_backup --src_path="/etc/fail2ban/jail.d/$app.conf"
ynh_backup --src_path="/etc/fail2ban/filter.d/$app.conf"

#=================================================
# BACKUP THE CRON FILE
#=================================================

ynh_backup --src_path="/etc/cron.d/$app"

#=================================================
# BACKUP LOGS
#=================================================

ynh_backup --src_path="/var/log/$app"

#=================================================
# BACKUP THE MYSQL DATABASE
# BACKUP THE POSTGRESQL DATABASE
#=================================================
ynh_print_info --message="Backing up the MySQL database..."
ynh_print_info --message="Backing up the PostgreSQL database..."

ynh_mysql_dump_db --database="$db_name" --default_character_set="utf8mb4" > db.sql
ynh_psql_dump_db --database="$db_name" > db.sql

#=================================================
# END OF SCRIPT
Expand Down
2 changes: 1 addition & 1 deletion scripts/change_url
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fi
#=================================================
# SETUP SSOWAT
#=================================================
ynh_script_progression --message="Configuring permissions..."
ynh_script_progression --message="Configuring permissions..." --weight=1

# Temporary fix for the API permission (workaround for https://github.com/YunoHost/issues/issues/2294 )
ynh_permission_url --permission="api" --url="re:$new_domain\/.well-known\/.*" --auth_header="false" --clear_urls
Expand Down
18 changes: 6 additions & 12 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,10 @@

source _common.sh
source /usr/share/yunohost/helpers
source _ynh_mysql_connect_as.sh

phpflags="--define apc.enable_cli=1"

ynh_app_setting_set --app=$app --key=phpflags --value=$phpflags

#=================================================
# CREATE A MYSQL DATABASE
#=================================================
ynh_script_progression --message="Migrate MySQL database to utf8..." --weight=2

ynh_mysql_connect_as --user=$db_user --password="$db_pwd" --database=$db_name \
<<< "ALTER DATABASE $db_name CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;"
ynh_app_setting_set --app=$app --key=phpflags --value="$phpflags"

#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
Expand Down Expand Up @@ -73,7 +64,7 @@ admin_password="$(ynh_string_random --length=6)"

# Install Nextcloud using a temporary admin user
exec_occ maintenance:install \
--database "mysql" --database-name $db_name \
--database "pgsql" --database-name $db_name \
--database-user $db_user --database-pass "$db_pwd" \
--admin-user "admin" --admin-pass "$admin_password" \
--data-dir "$data_dir/data" \
Expand Down Expand Up @@ -176,8 +167,9 @@ exec_occ config:system:set overwrite.cli.url --value="https://${domain}${path}"
#=================================================

# Set the user as admin
ynh_mysql_connect_as --user=$db_name --password="$db_pwd" --database=$db_name --default_character_set="utf8mb4" \
ynh_psql_connect_as --user=$db_user --password="$db_pwd" --database=$db_name \
<<< "INSERT INTO oc_group_user VALUES ('admin','$admin');"

# And delete admin user
exec_occ user:delete admin

Expand Down Expand Up @@ -220,10 +212,12 @@ ynh_script_progression --message="Adding multimedia directories..." --weight=6

# Build YunoHost multimedia directories
ynh_multimedia_build_main_dir

# Mount the user directory in Nextcloud
exec_occ app:enable files_external
create_external_storage "/home/yunohost.multimedia/\$user" "Multimedia"
create_external_storage "/home/yunohost.multimedia/share" "Shared multimedia"

# Allow nextcloud to write into these directories
ynh_multimedia_addaccess $app

Expand Down
2 changes: 1 addition & 1 deletion scripts/remove
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source /usr/share/yunohost/helpers
#=================================================
# REMOVE SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Removing system configurations related to $app..." --weight=5
ynh_script_progression --message="Removing system configurations related to $app..." --weight=10

# Remove the dedicated NGINX config
ynh_remove_nginx_config
Expand Down
9 changes: 4 additions & 5 deletions scripts/restore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
source ../settings/scripts/_ynh_mysql_connect_as.sh

#=================================================
# STANDARD RESTORATION STEPS
Expand All @@ -14,16 +13,16 @@ ynh_script_progression --message="Restoring the app main directory..."
ynh_restore_file --origin_path="$install_dir"

#=================================================
# RESTORE THE MYSQL DATABASE
# RESTORE THE POSTGRESQL DATABASE
#=================================================
ynh_script_progression --message="Restoring the MySQL database..." --weight=9
ynh_script_progression --message="Restoring the PostgreSQL database..." --weight=9

ynh_mysql_connect_as --user=$db_name --password=$db_pwd --database=$db_name --default_character_set="utf8mb4" < ./db.sql
ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql

#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Reconfiguring PHP-FPM..." --weight=50
ynh_script_progression --message="Reconfiguring PHP-FPM..." --weight=5

# Restore the file first, so it can have a backup if different
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
Expand Down
Loading