Skip to content

Commit af7f83c

Browse files
removing troubleshooting that repeats steps from previous section
1 parent 3f050f7 commit af7f83c

2 files changed

Lines changed: 2 additions & 43 deletions

File tree

content/learning-paths/servers-and-cloud-computing/keycloak-cobalt/keycloak_deployment_azure_cobalt100.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,10 @@ OpenJDK 64-Bit Server VM (build 21.0.11+10-1-24.04.2-Ubuntu, mixed mode, sharing
5151
```
5252

5353

54-
### Configure PostgreSQL database
54+
### Configure PostgreSQL database and user
5555

5656
Keycloak needs a persistent database to store realms, users, clients, roles, and authentication configuration.
5757

58-
#### Create the Keycloak database and user
59-
6058
Log in to PostgreSQL as the default `postgres` user:
6159

6260
```bash
@@ -107,7 +105,7 @@ Exit PostgreSQL:
107105
Download the Keycloak release archive, extract it, and move it to `/opt/keycloak`:
108106

109107
{{% notice Note %}}
110-
The following commands use Keycloak version 26.2.5. The same commands work with other versions. Replace the file names in these steps with the file for your version of choice. To find the latest version, see [Keycloak releases on GitHub](https://github.com/keycloak/keycloak/releases).
108+
The following command uses Keycloak version 26.2.5. The same command works with other versions. Replace the file names in these steps with the file for your version of choice. To find the latest version, see [Keycloak releases on GitHub](https://github.com/keycloak/keycloak/releases).
111109
{{% /notice %}}
112110

113111
```bash

content/learning-paths/servers-and-cloud-computing/keycloak-cobalt/keycloak_flask_oauth_usecase.md

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -225,45 +225,6 @@ Restart Keycloak:
225225
sudo systemctl restart keycloak
226226
```
227227

228-
### PostgreSQL schema permission denied
229-
230-
View Keycloak logs:
231-
232-
```bash
233-
sudo journalctl -u keycloak -f
234-
```
235-
236-
If logs show:
237-
238-
```text
239-
permission denied for schema public
240-
```
241-
242-
Connect to the Keycloak database and grant the required permissions:
243-
244-
```bash
245-
sudo -u postgres psql -d keycloak
246-
```
247-
248-
```sql
249-
GRANT ALL ON SCHEMA public TO keycloakuser;
250-
ALTER SCHEMA public OWNER TO keycloakuser;
251-
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO keycloakuser;
252-
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO keycloakuser;
253-
```
254-
255-
Exit PostgreSQL:
256-
257-
```sql
258-
\q
259-
```
260-
261-
Restart Keycloak:
262-
263-
```bash
264-
sudo systemctl restart keycloak
265-
```
266-
267228
## What you've accomplished
268229

269230
You've now completed a full OAuth2/OpenID Connect integration on an Azure Cobalt 100-based Arm64 VM.

0 commit comments

Comments
 (0)