-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add an UPDATE.md file for additional steps
- Loading branch information
1 parent
cbf21f2
commit c740c9c
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
This document describes eventual additional steps that might be required to update between two versions of Kong. If nothing is described here for a particular version and platform, then assume the update will go smoothly. | ||
|
||
## Update to Kong `0.3.x` | ||
|
||
Kong now requires a patch on OpenResty for SSL support. On Homebrew you will need to reinstall OpenResty. | ||
|
||
#### Homebrew | ||
|
||
```shell | ||
$ brew update | ||
$ brew reinstall mashape/kong/ngx_openresty | ||
$ brew upgrade kong | ||
``` | ||
|
||
#### Troubleshoot | ||
|
||
If you are seeing a similar error on `kong start`: | ||
|
||
``` | ||
nginx: [error] [lua] init_by_lua:5: Startup error: Cassandra error: Failed to prepare statement: "SELECT id FROM apis WHERE path = ?;". Cassandra returned error (Invalid): "Undefined name path in where clause ('path = ?')" | ||
``` | ||
|
||
You can run the following command to update your schema: | ||
|
||
``` | ||
$ kong migrations up | ||
``` | ||
|
||
Please consider updating to `0.3.1` or greater which automatically handles the schema migration. |