···2020 ]
2121 },
2222 "contacts": {
2323- "sha256": "0qv3c7wmf9j74562xbjvhk6kbpna6ansiw3724dh4w8j5sldqysd",
2424- "url": "https://github.com/nextcloud-releases/contacts/releases/download/v4.2.3/contacts-v4.2.3.tar.gz",
2525- "version": "4.2.3",
2323+ "sha256": "1996f97w74slmh7ihv8p1lxl32rri5nnzp90mbb1imclpgac2i63",
2424+ "url": "https://github.com/nextcloud-releases/contacts/releases/download/v4.2.4/contacts-v4.2.4.tar.gz",
2525+ "version": "4.2.4",
2626 "description": "The Nextcloud contacts app is a user interface for Nextcloud's CardDAV server. Easily sync contacts from various devices with your Nextcloud and edit them online.\n\n* 🚀 **Integration with other Nextcloud apps!** Currently Mail and Calendar – more to come.\n* 🎉 **Never forget a birthday!** You can sync birthdays and other recurring events with your Nextcloud Calendar.\n* 👥 **Sharing of Adressbooks!** You want to share your contacts with your friends or coworkers? No problem!\n* 🙈 **We’re not reinventing the wheel!** Based on the great and open SabreDAV library.",
2727 "homepage": "https://github.com/nextcloud/contacts#readme",
2828 "licenses": [
···110110 ]
111111 },
112112 "news": {
113113- "sha256": "0pnriarr2iqci2v2hn6vpvszf4m4pkcxsd2i13bp7n1zqkg6swd7",
114114- "url": "https://github.com/nextcloud/news/releases/download/20.0.0/news.tar.gz",
115115- "version": "20.0.0",
113113+ "sha256": "0iz1yrl7h60yhc1d1gkalkzc5vlj8sq6lff0ggns6a6qpsdpn9c5",
114114+ "url": "https://github.com/nextcloud/news/releases/download/20.0.1/news.tar.gz",
115115+ "version": "20.0.1",
116116 "description": "📰 A RSS/Atom Feed reader App for Nextcloud\n\n- 📲 Synchronize your feeds with multiple mobile or desktop [clients](https://nextcloud.github.io/news/clients/)\n- 🔄 Automatic updates of your news feeds\n- 🆓 Free and open source under AGPLv3, no ads or premium functions\n\n**System Cron is currently required for this app to work**\n\nRequirements can be found [here](https://nextcloud.github.io/news/install/#dependencies)\n\nThe Changelog is available [here](https://github.com/nextcloud/news/blob/master/CHANGELOG.md)\n\nCreate a [bug report](https://github.com/nextcloud/news/issues/new/choose)\n\nCreate a [feature request](https://github.com/nextcloud/news/discussions/new)\n\nReport a [feed issue](https://github.com/nextcloud/news/discussions/new)",
117117 "homepage": "https://github.com/nextcloud/news",
118118 "licenses": [
···140140 ]
141141 },
142142 "polls": {
143143- "sha256": "b6ef0e8b34cdb5169341e30340bc9cefaa1254a1a6020e951f86e828f8591a11",
144144- "url": "https://github.com/nextcloud/polls/releases/download/v3.8.3/polls.tar.gz",
145145- "version": "3.8.3",
143143+ "sha256": "0qdm0hnljkv0df1s929awyjj1gsp3d6xv9llr52cxv66kkfx086y",
144144+ "url": "https://github.com/nextcloud/polls/releases/download/v3.8.4/polls.tar.gz",
145145+ "version": "3.8.4",
146146 "description": "A polls app, similar to Doodle/Dudle with the possibility to restrict access (members, certain groups/users, hidden and public).",
147147 "homepage": "https://github.com/nextcloud/polls",
148148 "licenses": [
···160160 ]
161161 },
162162 "spreed": {
163163- "sha256": "0frilxny4mvp34fxw0k8al3r5apy3q6vq7z35jkph3vaq1889m9k",
164164- "url": "https://github.com/nextcloud-releases/spreed/releases/download/v14.0.7/spreed-v14.0.7.tar.gz",
165165- "version": "14.0.7",
163163+ "sha256": "0c5b46g5vi8fsjcd2r0wqza7iqyvbgznwww5zcyajf29a32950c6",
164164+ "url": "https://github.com/nextcloud-releases/spreed/releases/download/v14.0.8/spreed-v14.0.8.tar.gz",
165165+ "version": "14.0.8",
166166 "description": "Chat, video & audio-conferencing using WebRTC\n\n* 💬 **Chat integration!** Nextcloud Talk comes with a simple text chat. Allowing you to share files from your Nextcloud and mentioning other participants.\n* 👥 **Private, group, public and password protected calls!** Just invite somebody, a whole group or send a public link to invite to a call.\n* 💻 **Screen sharing!** Share your screen with participants of your call. You just need to use Firefox version 66 (or newer), latest Edge or Chrome 72 (or newer, also possible using Chrome 49 with this [Chrome extension](https://chrome.google.com/webstore/detail/screensharing-for-nextclo/kepnpjhambipllfmgmbapncekcmabkol)).\n* 🚀 **Integration with other Nextcloud apps** like Files, Contacts and Deck. More to come.\n\nAnd in the works for the [coming versions](https://github.com/nextcloud/spreed/milestones/):\n* ✋ [Federated calls](https://github.com/nextcloud/spreed/issues/21), to call people on other Nextclouds",
167167 "homepage": "https://github.com/nextcloud/spreed",
168168 "licenses": [
+15-15
pkgs/servers/nextcloud/packages/25.json
···1010 ]
1111 },
1212 "calendar": {
1313- "sha256": "04g1xm3q46j7harxr0n56r7kkkqjxvah7xijddyq5fj7icr6qf5d",
1414- "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.2.1/calendar-v4.2.1.tar.gz",
1515- "version": "4.2.1",
1313+ "sha256": "0yqpfp5nbzd7zar2rbcx3bhfgjxrp1sy6a57fdagndfi4y0r56hq",
1414+ "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.2.2/calendar-v4.2.2.tar.gz",
1515+ "version": "4.2.2",
1616 "description": "The Calendar app is a user interface for Nextcloud's CalDAV server. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* 🚀 **Integration with other Nextcloud apps!** Currently Contacts - more to come.\n* 🌐 **WebCal Support!** Want to see your favorite team’s matchdays in your calendar? No problem!\n* 🙋 **Attendees!** Invite people to your events\n* ⌚️ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* 🔍 Search! Find your events at ease\n* ☑️ Tasks! See tasks with a due date directly in the calendar\n* 🙈 **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.",
1717 "homepage": "https://github.com/nextcloud/calendar/",
1818 "licenses": [
···2020 ]
2121 },
2222 "contacts": {
2323- "sha256": "097a71if6kkc7nphfc8b6llqlsskjwp1vg83134hzgfscvllvaj8",
2424- "url": "https://github.com/nextcloud-releases/contacts/releases/download/v5.0.2/contacts-v5.0.2.tar.gz",
2525- "version": "5.0.2",
2323+ "sha256": "181lycyz4v7v1yir6ylmblgha625sn23nf3661g3izq1whi0wgr9",
2424+ "url": "https://github.com/nextcloud-releases/contacts/releases/download/v5.0.3/contacts-v5.0.3.tar.gz",
2525+ "version": "5.0.3",
2626 "description": "The Nextcloud contacts app is a user interface for Nextcloud's CardDAV server. Easily sync contacts from various devices with your Nextcloud and edit them online.\n\n* 🚀 **Integration with other Nextcloud apps!** Currently Mail and Calendar – more to come.\n* 🎉 **Never forget a birthday!** You can sync birthdays and other recurring events with your Nextcloud Calendar.\n* 👥 **Sharing of Adressbooks!** You want to share your contacts with your friends or coworkers? No problem!\n* 🙈 **We’re not reinventing the wheel!** Based on the great and open SabreDAV library.",
2727 "homepage": "https://github.com/nextcloud/contacts#readme",
2828 "licenses": [
···9090 ]
9191 },
9292 "news": {
9393- "sha256": "0pnriarr2iqci2v2hn6vpvszf4m4pkcxsd2i13bp7n1zqkg6swd7",
9494- "url": "https://github.com/nextcloud/news/releases/download/20.0.0/news.tar.gz",
9595- "version": "20.0.0",
9393+ "sha256": "0iz1yrl7h60yhc1d1gkalkzc5vlj8sq6lff0ggns6a6qpsdpn9c5",
9494+ "url": "https://github.com/nextcloud/news/releases/download/20.0.1/news.tar.gz",
9595+ "version": "20.0.1",
9696 "description": "📰 A RSS/Atom Feed reader App for Nextcloud\n\n- 📲 Synchronize your feeds with multiple mobile or desktop [clients](https://nextcloud.github.io/news/clients/)\n- 🔄 Automatic updates of your news feeds\n- 🆓 Free and open source under AGPLv3, no ads or premium functions\n\n**System Cron is currently required for this app to work**\n\nRequirements can be found [here](https://nextcloud.github.io/news/install/#dependencies)\n\nThe Changelog is available [here](https://github.com/nextcloud/news/blob/master/CHANGELOG.md)\n\nCreate a [bug report](https://github.com/nextcloud/news/issues/new/choose)\n\nCreate a [feature request](https://github.com/nextcloud/news/discussions/new)\n\nReport a [feed issue](https://github.com/nextcloud/news/discussions/new)",
9797 "homepage": "https://github.com/nextcloud/news",
9898 "licenses": [
···120120 ]
121121 },
122122 "polls": {
123123- "sha256": "1amywiw91acp4g90wazmqmnw51s7z6rf27bdrzxrcqryd8igsniq",
124124- "url": "https://github.com/nextcloud/polls/releases/download/v4.1.0-beta4/polls.tar.gz",
125125- "version": "4.1.0-beta4",
123123+ "sha256": "0mqc9zmxrm98byy6v13si3hwii8hx85998c4kv91vk6ad0sfxjhb",
124124+ "url": "https://github.com/nextcloud/polls/releases/download/v4.1.2/polls.tar.gz",
125125+ "version": "4.1.2",
126126 "description": "A polls app, similar to Doodle/Dudle with the possibility to restrict access (members, certain groups/users, hidden and public).",
127127 "homepage": "https://github.com/nextcloud/polls",
128128 "licenses": [
···140140 ]
141141 },
142142 "spreed": {
143143- "sha256": "1w5v866lkd0skv666vhz75zwalr2w83shrhdvv354kill9k53awh",
144144- "url": "https://github.com/nextcloud-releases/spreed/releases/download/v15.0.2/spreed-v15.0.2.tar.gz",
145145- "version": "15.0.2",
143143+ "sha256": "07nh7nlz8di69ms1156fklj29526i3phlvki5vf2mxnlcz8ihg27",
144144+ "url": "https://github.com/nextcloud-releases/spreed/releases/download/v15.0.3/spreed-v15.0.3.tar.gz",
145145+ "version": "15.0.3",
146146 "description": "Chat, video & audio-conferencing using WebRTC\n\n* 💬 **Chat integration!** Nextcloud Talk comes with a simple text chat. Allowing you to share files from your Nextcloud and mentioning other participants.\n* 👥 **Private, group, public and password protected calls!** Just invite somebody, a whole group or send a public link to invite to a call.\n* 💻 **Screen sharing!** Share your screen with participants of your call. You just need to use Firefox version 66 (or newer), latest Edge or Chrome 72 (or newer, also possible using Chrome 49 with this [Chrome extension](https://chrome.google.com/webstore/detail/screensharing-for-nextclo/kepnpjhambipllfmgmbapncekcmabkol)).\n* 🚀 **Integration with other Nextcloud apps** like Files, Contacts and Deck. More to come.\n\nAnd in the works for the [coming versions](https://github.com/nextcloud/spreed/milestones/):\n* ✋ [Federated calls](https://github.com/nextcloud/spreed/issues/21), to call people on other Nextclouds",
147147 "homepage": "https://github.com/nextcloud/spreed",
148148 "licenses": [
+62
pkgs/servers/nextcloud/packages/26.json
···11+{
22+ "calendar": {
33+ "sha256": "0yqpfp5nbzd7zar2rbcx3bhfgjxrp1sy6a57fdagndfi4y0r56hq",
44+ "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.2.2/calendar-v4.2.2.tar.gz",
55+ "version": "4.2.2",
66+ "description": "The Calendar app is a user interface for Nextcloud's CalDAV server. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* 🚀 **Integration with other Nextcloud apps!** Currently Contacts - more to come.\n* 🌐 **WebCal Support!** Want to see your favorite team’s matchdays in your calendar? No problem!\n* 🙋 **Attendees!** Invite people to your events\n* ⌚️ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* 🔍 Search! Find your events at ease\n* ☑️ Tasks! See tasks with a due date directly in the calendar\n* 🙈 **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.",
77+ "homepage": "https://github.com/nextcloud/calendar/",
88+ "licenses": [
99+ "agpl"
1010+ ]
1111+ },
1212+ "files_texteditor": {
1313+ "sha256": "0rmk14iw34pd81snp3lm01k07wm5j2nh9spcd4j0m43l20b7kxss",
1414+ "url": "https://github.com/nextcloud-releases/files_texteditor/releases/download/v2.15.0/files_texteditor.tar.gz",
1515+ "version": "2.15.0",
1616+ "description": "This application enables Nextcloud users to open, save and edit text files in the web browser. If enabled, an entry called \"Text file\" in the \"New\" button menu at the top of the web browser appears. When clicked, a new text file opens in the browser and the file can be saved into the current Nextcloud directory. Further, when a text file is clicked in the web browser, it will be opened and editable. If the privileges allow, a user can also edit shared files and save these changes back into the web browser.\nMore information is available in the text editor documentation.",
1717+ "homepage": "https://github.com/nextcloud/files_texteditor",
1818+ "licenses": [
1919+ "agpl"
2020+ ]
2121+ },
2222+ "mail": {
2323+ "sha256": "",
2424+ "url": "https://github.com/nextcloud-releases/mail/releases/download/v2.2.2/mail-v2.2.2.tar.gz",
2525+ "version": "2.2.2",
2626+ "description": "**💌 A mail app for Nextcloud**\n\n- **🚀 Integration with other Nextcloud apps!** Currently Contacts, Calendar & Files – more to come.\n- **📥 Multiple mail accounts!** Personal and company account? No problem, and a nice unified inbox. Connect any IMAP account.\n- **🔒 Send & receive encrypted mails!** Using the great [Mailvelope](https://mailvelope.com) browser extension.\n- **🙈 We’re not reinventing the wheel!** Based on the great [Horde](https://horde.org) libraries.\n- **📬 Want to host your own mail server?** We do not have to reimplement this as you could set up [Mail-in-a-Box](https://mailinabox.email)!",
2727+ "homepage": "https://github.com/nextcloud/mail#readme",
2828+ "licenses": [
2929+ "agpl"
3030+ ]
3131+ },
3232+ "notes": {
3333+ "sha256": "1jcgv3awr45jq3n3qv851qlpbdl2plixba0iq2s54dmhciypdckl",
3434+ "url": "https://github.com/nextcloud/notes/releases/download/v4.6.0/notes.tar.gz",
3535+ "version": "4.6.0",
3636+ "description": "The Notes app is a distraction free notes taking app for [Nextcloud](https://www.nextcloud.com/). It provides categories for better organization and supports formatting using [Markdown](https://en.wikipedia.org/wiki/Markdown) syntax. Notes are saved as files in your Nextcloud, so you can view and edit them with every Nextcloud client. Furthermore, a separate [REST API](https://github.com/nextcloud/notes/blob/master/docs/api/README.md) allows for an easy integration into third-party apps (currently, there are notes apps for [Android](https://github.com/stefan-niedermann/nextcloud-notes), [iOS](https://github.com/owncloud/notes-iOS-App) and the [console](https://git.danielmoch.com/nncli/about) which allow convenient access to your Nextcloud notes). Further features include marking notes as favorites.",
3737+ "homepage": "https://github.com/nextcloud/notes",
3838+ "licenses": [
3939+ "agpl"
4040+ ]
4141+ },
4242+ "tasks": {
4343+ "sha256": "0jm13d6nm7cfsw27yfiq1il9xjlh0qrq8xby2yz9dmggn7lk1dx5",
4444+ "url": "https://github.com/nextcloud/tasks/releases/download/v0.14.5/tasks.tar.gz",
4545+ "version": "0.14.5",
4646+ "description": "Once enabled, a new Tasks menu will appear in your Nextcloud apps menu. From there you can add and delete tasks, edit their title, description, start and due dates and mark them as important. Tasks can be shared between users. Tasks can be synchronized using CalDav (each task list is linked to an Nextcloud calendar, to sync it to your local client: Thunderbird, Evolution, KDE Kontact, iCal … - just add the calendar as a remote calendar in your client). You can download your tasks as ICS files using the download button for each calendar.",
4747+ "homepage": "https://github.com/nextcloud/tasks/",
4848+ "licenses": [
4949+ "agpl"
5050+ ]
5151+ },
5252+ "unsplash": {
5353+ "sha256": "17qqn6kwpvkq21c92jyy3pfvjaj5xms1hr07fnn39zxg0nmwjdd8",
5454+ "url": "https://github.com/nextcloud/unsplash/releases/download/v2.1.1/unsplash.tar.gz",
5555+ "version": "2.1.1",
5656+ "description": "Show a new random featured nature photo in your nextcloud. Now with choosable motives!",
5757+ "homepage": "https://github.com/nextcloud/unsplash/",
5858+ "licenses": [
5959+ "agpl"
6060+ ]
6161+ }
6262+}
···11+From fc3e14155b3c4300b691ab46579830e725457a54 Mon Sep 17 00:00:00 2001
22+From: Maximilian Bosch <maximilian@mbosch.me>
33+Date: Sat, 10 Sep 2022 15:18:05 +0200
44+Subject: [PATCH] Setup: remove custom dbuser creation behavior
55+66+Both PostgreSQL and MySQL can be authenticated against from Nextcloud by
77+supplying a database password. Now, during setup the following things
88+happen:
99+1010+* When using postgres and the db user has elevated permissions, a new
1111+ unprivileged db user is created and the settings `dbuser`/`dbpass` are
1212+ altered in `config.php`.
1313+1414+* When using MySQL, the password is **always** regenerated since
1515+ 24.0.5/23.0.9[1].
1616+1717+I consider both cases problematic: the reason why people do configuration
1818+management is to have it as single source of truth! So, IMHO any
1919+application that silently alters config and thus causes deployed
2020+nodes to diverge from the configuration is harmful for that.
2121+2222+I guess it was sheer luck that it worked for so long in NixOS because
2323+nobody has apparently used password authentication with a privileged
2424+user to operate Nextcloud (which is a good thing in fact).
2525+2626+[1] https://github.com/nextcloud/server/pull/33513
2727+---
2828+ lib/private/Setup/MySQL.php | 53 --------------------------------
2929+ lib/private/Setup/PostgreSQL.php | 37 ----------------------
3030+ 2 files changed, 90 deletions(-)
3131+3232+diff --git a/lib/private/Setup/MySQL.php b/lib/private/Setup/MySQL.php
3333+index e3004c269bc..bc958e84e44 100644
3434+--- a/lib/private/Setup/MySQL.php
3535++++ b/lib/private/Setup/MySQL.php
3636+@@ -141,62 +141,6 @@
3737+ $rootUser = $this->dbUser;
3838+ $rootPassword = $this->dbPassword;
3939+4040+- //create a random password so we don't need to store the admin password in the config file
4141+- $saveSymbols = str_replace(['\"', '\\', '\'', '`'], '', ISecureRandom::CHAR_SYMBOLS);
4242+- $password = $this->random->generate(22, ISecureRandom::CHAR_ALPHANUMERIC . $saveSymbols)
4343+- . $this->random->generate(2, ISecureRandom::CHAR_UPPER)
4444+- . $this->random->generate(2, ISecureRandom::CHAR_LOWER)
4545+- . $this->random->generate(2, ISecureRandom::CHAR_DIGITS)
4646+- . $this->random->generate(2, $saveSymbols)
4747+- ;
4848+- $this->dbPassword = str_shuffle($password);
4949+-
5050+- try {
5151+- //user already specified in config
5252+- $oldUser = $this->config->getValue('dbuser', false);
5353+-
5454+- //we don't have a dbuser specified in config
5555+- if ($this->dbUser !== $oldUser) {
5656+- //add prefix to the admin username to prevent collisions
5757+- $adminUser = substr('oc_' . $username, 0, 16);
5858+-
5959+- $i = 1;
6060+- while (true) {
6161+- //this should be enough to check for admin rights in mysql
6262+- $query = 'SELECT user FROM mysql.user WHERE user=?';
6363+- $result = $connection->executeQuery($query, [$adminUser]);
6464+-
6565+- //current dbuser has admin rights
6666+- $data = $result->fetchAll();
6767+- $result->closeCursor();
6868+- //new dbuser does not exist
6969+- if (count($data) === 0) {
7070+- //use the admin login data for the new database user
7171+- $this->dbUser = $adminUser;
7272+- $this->createDBUser($connection);
7373+-
7474+- break;
7575+- } else {
7676+- //repeat with different username
7777+- $length = strlen((string)$i);
7878+- $adminUser = substr('oc_' . $username, 0, 16 - $length) . $i;
7979+- $i++;
8080+- }
8181+- }
8282+- } else {
8383+- // Reuse existing password if a database config is already present
8484+- $this->dbPassword = $rootPassword;
8585+- }
8686+- } catch (\Exception $ex) {
8787+- $this->logger->info('Can not create a new MySQL user, will continue with the provided user.', [
8888+- 'exception' => $ex,
8989+- 'app' => 'mysql.setup',
9090+- ]);
9191+- // Restore the original credentials
9292+- $this->dbUser = $rootUser;
9393+- $this->dbPassword = $rootPassword;
9494+- }
9595+-
9696+ $this->config->setValues([
9797+ 'dbuser' => $this->dbUser,
9898+ 'dbpassword' => $this->dbPassword,
9999+diff --git a/lib/private/Setup/PostgreSQL.php b/lib/private/Setup/PostgreSQL.php
100100+index af816c7ad04..e49e5508e15 100644
101101+--- a/lib/private/Setup/PostgreSQL.php
102102++++ b/lib/private/Setup/PostgreSQL.php
103103+@@ -45,43 +45,6 @@ class PostgreSQL extends AbstractDatabase {
104104+ $connection = $this->connect([
105105+ 'dbname' => 'postgres'
106106+ ]);
107107+- //check for roles creation rights in postgresql
108108+- $builder = $connection->getQueryBuilder();
109109+- $builder->automaticTablePrefix(false);
110110+- $query = $builder
111111+- ->select('rolname')
112112+- ->from('pg_roles')
113113+- ->where($builder->expr()->eq('rolcreaterole', new Literal('TRUE')))
114114+- ->andWhere($builder->expr()->eq('rolname', $builder->createNamedParameter($this->dbUser)));
115115+-
116116+- try {
117117+- $result = $query->execute();
118118+- $canCreateRoles = $result->rowCount() > 0;
119119+- } catch (DatabaseException $e) {
120120+- $canCreateRoles = false;
121121+- }
122122+-
123123+- if ($canCreateRoles) {
124124+- $connectionMainDatabase = $this->connect();
125125+- //use the admin login data for the new database user
126126+-
127127+- //add prefix to the postgresql user name to prevent collisions
128128+- $this->dbUser = 'oc_' . strtolower($username);
129129+- //create a new password so we don't need to store the admin config in the config file
130130+- $this->dbPassword = \OC::$server->getSecureRandom()->generate(30, ISecureRandom::CHAR_ALPHANUMERIC);
131131+-
132132+- $this->createDBUser($connection);
133133+-
134134+- // Go to the main database and grant create on the public schema
135135+- // The code below is implemented to make installing possible with PostgreSQL version 15:
136136+- // https://www.postgresql.org/docs/release/15.0/
137137+- // From the release notes: For new databases having no need to defend against insider threats, granting CREATE permission will yield the behavior of prior releases
138138+- // Therefore we assume that the database is only used by one user/service which is Nextcloud
139139+- // Additional services should get installed in a separate database in order to stay secure
140140+- // Also see https://www.postgresql.org/docs/15/ddl-schemas.html#DDL-SCHEMAS-PATTERNS
141141+- $connectionMainDatabase->executeQuery('GRANT CREATE ON SCHEMA public TO ' . addslashes($this->dbUser));
142142+- $connectionMainDatabase->close();
143143+- }
144144+145145+ $this->config->setValues([
146146+ 'dbuser' => $this->dbUser,
147147+--
148148+2.38.1
149149+