You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a86207e
Browse filesBrowse the repository at this point in the historyBrowse files
The 1.2 setup restarts PostgreSQL itself when it still runs the replaced
libraries, and a re-run without --admin-user keeps the admin passwords.
The old steps reset the admin password and only covered v0.116/v0.117.
Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
Setup adds any missing `shared_preload_libraries` entries and updates the extensions, but only in
404
-
the `postgres` database. If your gateway uses another database, take the manual route below. It also asks for the admin password and sets it on the existing admin
405
-
user: enter the current password to keep it.
404
+
Without `--admin-user`, setup asks for no password and keeps every admin user and password as
405
+
they are. It adds any missing `shared_preload_libraries` entries and updates the extensions, but only in
406
+
the `postgres` database. If your gateway uses another database, take the manual route below.
406
407
407
408
To update by hand, or for every other database that has DocumentDB installed, first check that
408
409
the extended RUM library is preloaded:
@@ -411,7 +412,7 @@ the extended RUM library is preloaded:
Copy file name to clipboardExpand all lines: app/services/articleService.ts
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@ The current official release publishes the full stack — extension, gateway, se
196
196
**Recommended:** install the complete stack, then create a new private PostgreSQL 18 instance. The commands detect architecture on the Linux host where you run them. For containers or macOS/Windows evaluation, choose [Docker installation](/packages?method=docker).
197
197
198
198
> [!IMPORTANT]
199
-
> Already running v0.116 or v0.117 from packages? Follow [Upgrading](/docs/linux-packages#upgrading) instead of installing again. Hosts that ran a 1.0 release candidate have no upgrade path; use a clean host. Removing packages preserves database files; reinstalling is not a data reset.
199
+
> Already running 1.0 from packages? Follow [Upgrading](/docs/linux-packages#upgrading) instead of installing again. Hosts that ran a 1.0 release candidate have no upgrade path; use a clean host. Removing packages preserves database files; reinstalling is not a data reset.
200
200
201
201
> [!NOTE]
202
202
> Need another distribution or PostgreSQL major? We welcome community builds. Check out the \`v1.2-0\` tag, pass \`--version 1.2.0\`, and use the version-parameterized [packaging scripts](https://github.com/documentdb/documentdb/blob/v1.2-0/packaging/README.md). \`build_packages.sh\` builds the extension, \`gateway/build_gateway_packages.sh\` builds the gateway, and \`build_extra_packages.sh\` builds the common, tools, stand-alone, and meta packages. PostgreSQL 15 is extension-only because the setup tools require PostgreSQL 16 or newer. These builds are on demand and are not official release assets hosted by documentdb.io.
@@ -438,9 +438,11 @@ For an adopted instance, use the operator's existing PostgreSQL connection inste
438
438
439
439
## Upgrading
440
440
441
-
Package installs from v0.116 or v0.117 upgrade in place to 1.0. Move the entire stack
441
+
Package installs from 1.0.0 upgrade in place to 1.2. Move the entire stack
442
442
together; upgrading only \`postgresql-N-documentdb\` does not update the gateway, tools,
443
443
common payload, or \`documentdb-N\`. These steps use systemd; upgrading a host without it isn't covered here.
444
+
There is no downgrade: an older release starts on the updated catalog, but some commands then fail,
445
+
so back up the data directory first if you may need to go back.
444
446
On a package-managed private PostgreSQL 18 instance:
Setup adds any missing \`shared_preload_libraries\` entries and updates the extensions, but only in
476
-
the \`postgres\` database. If your gateway uses another database, take the manual route below. It also asks for the admin password and sets it on the existing admin
477
-
user: enter the current password to keep it.
476
+
Without \`--admin-user\`, setup asks for no password and keeps every admin user and password as
477
+
they are. It adds any missing \`shared_preload_libraries\` entries and updates the extensions, but only in
478
+
the \`postgres\` database. If your gateway uses another database, take the manual route below.
478
479
479
480
To update by hand, or for every other database that has DocumentDB installed, first check that
480
481
the extended RUM library is preloaded:
@@ -483,7 +484,7 @@ the extended RUM library is preloaded:
0 commit comments