View Issue Details

IDProjectCategoryView StatusLast Update
0000677bareos-corewebuipublic2016-11-03 17:37
Reporterpvdpoel Assigned To 
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSDebianOS Version8
Product Version15.2.2 
Summary0000677: WebUI: Error: API 2 not available on director. Please upgrade to version 15.2.1 or greater and/or compile with jansson support.
DescriptionTrying 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 Informationlibjansson4 installed on same machine bareos-director is running on.

In bconsole:
*.api json
{
  "result": {
    "api": 2
  },
  "jsonrpc": "2.0",
  "id": null
}*
TagsNo tags attached.

Activities

pvdpoel

pvdpoel

2016-08-02 12:39

reporter   ~0002331

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.
frank

frank

2016-11-03 17:37

developer   ~0002438

done

Issue History

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