View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000677 | bareos-core | webui | public | 2016-08-02 08:35 | 2016-11-03 17:37 |
| Reporter | pvdpoel | Assigned To | |||
| Priority | normal | Severity | trivial | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | Linux | OS | Debian | OS Version | 8 |
| Product Version | 15.2.2 | ||||
| Summary | 0000677: WebUI: Error: API 2 not available on director. Please upgrade to version 15.2.1 or greater and/or compile with jansson support. | ||||
| Description | Trying to login using Bareos WebUI gives following error: Error: API 2 not available on director. Please upgrade to version 15.2.1 or greater and/or compile with jansson support. | ||||
| Steps To Reproduce | - Debian Jessie (8.0) - APT: deb http://download.bareos.org/bareos/release/latest/Debian_8.0/ / - apt-get update - apt-get install bareos-webui # Installs Bareos WebUI 15.2.2-41.2 Installed version of bareos-director (on separate machine): 15.2.2-37.1 (using same apt repo & steps) After configuring access etc: - Fire up WebUI. - Enter login details Result: Error: API 2 not available on director. Please upgrade to version 15.2.1 or greater and/or compile with jansson support. | ||||
| Additional Information | libjansson4 installed on same machine bareos-director is running on. In bconsole: *.api json { "result": { "api": 2 }, "jsonrpc": "2.0", "id": null }* | ||||
| Tags | No tags attached. | ||||
|
Ok, I've solved the problem. I upgraded from an older version of Bareos and forgot to update the configuration on the bareos director side. In particular, I was missing the 'Profile' configuration. Followed the instructions as per https://github.com/bareos/bareos-webui/blob/master/doc/README-INSTALL-FROM-SOURCE.md, restarted the bareos director and it all started working. Needless to say that the error is very misleading. Anyway, issue can now be closed. |
|
| done | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-08-02 08:35 | pvdpoel | New Issue | |
| 2016-08-02 12:39 | pvdpoel | Note Added: 0002331 | |
| 2016-08-02 17:12 | frank | Assigned To | => frank |
| 2016-08-02 17:12 | frank | Status | new => assigned |
| 2016-11-03 17:37 | frank | Note Added: 0002438 | |
| 2016-11-03 17:37 | frank | Status | assigned => closed |
| 2016-11-03 17:37 | frank | Assigned To | frank => |
| 2016-11-03 17:37 | frank | Resolution | open => no change required |