Skip to content

Commit

Permalink
Merge pull request #174 from City-of-Helsinki/UHF-X_pubsub_debugging_…
Browse files Browse the repository at this point in the history
…readme

added some guidelines how to figure out what is going on
  • Loading branch information
rpnykanen authored Jul 26, 2024
2 parents 4165398 + 4d85e7a commit 53fd2f2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions documentation/pubsub-messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,30 @@ $pubsub_account = [
];
$config['helfi_api_base.api_accounts']['vault'][] = $pubsub_account;
```

## Solving pubsub related problems

If menus or news or other content doesn't update normally, you can verify that the pubsub service is working correctly

### Artemis is not up on etusivu-instance
- See that frontpage production has artemis pod up and running

#### If the pod is not running
- See if there is a pipeline to get it up again OR
- Contact HiQ


### Pubsub-process is not running
- Go to any production site's cron pod
- run `ps aux`, you should see pubsub related process on the list

#### If the process is not running
- Short term solution is to run `drush cr` to force the site to fetch new data.
- You can run production deployment to get it running again.


### Bad credentials
- Go to any cron pod and look for authorization error

#### Update the credentials
- Go and update the pubsub-vault credentials

0 comments on commit 53fd2f2

Please sign in to comment.