Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type-errors in dokku-installer.py #3761

Merged
merged 1 commit into from
Oct 28, 2019
Merged

Conversation

pithyless
Copy link
Contributor

Ran the installer on a clean Ubuntu 18.04.3 LTS node and got a 502 Bad Gateway on the initial setup page.

After debugging, identified there were two problems with the dokku-installer.py script (Python 3.6.8).

TypeError: cannot use a string pattern on a bytes-like object

TypeError: '>' not supported between instances of 'str' and 'int'

The two changes to the script fix these two type-errors (if I understood the intent of the code correctly).

@jccr
Copy link

jccr commented Oct 28, 2019

I'm just setting up a new dokku installation on a clean Ubuntu 18.04.3 LTS droplet and I'm experiencing this same issue.

@josegonzalez josegonzalez merged commit 4b8acf5 into dokku:master Oct 28, 2019
josegonzalez added a commit that referenced this pull request Oct 28, 2019
# History

## 0.19.6

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.19.6/bootstrap.sh
sudo DOKKU_TAG=v0.19.6 bash bootstrap.sh
```

### Other

- #3761: @pithyless Fix type-errors in dokku-installer.py
- #3759: @dependabot-preview[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 163 to 164 in /tests/apps/php
- #3758: @dependabot-preview[bot] chore(deps): bump jetty-servlet from 9.4.21.v20190926 to 9.4.22.v20191022 in /tests/apps/java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants