View Issue Details

IDProjectCategoryView StatusLast Update
0000621bareos-corewebuipublic2016-11-04 12:21
Reporterjedfrechette Assigned To 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionduplicate 
PlatformLinuxOSDebianOS Version7
Product Version15.2.2 
Summary0000621: Error: API 2 not available on director (Debian Packages)
DescriptionAs noted in the FreeBSD report about this error [https://bugs.bareos.org/view.php?id=543#c2038], the Debian 7 packages for bareos-webui from downloads.bareos.org are also unusable because of this error.

In my case the director and webui are running on the same server and libjannson4==2.3.1-2 is installed. Everything was working prior to the 15.2 update.

Running .api json from bconsole on the server reports:

{
"result": {"api": 2},
"jsonrpc": "2.0",
"id": null
}
                                                              27,1 92%
Steps To ReproduceOn an up to date Debian 7:
1. Install bareos and bareeos-webui following instructions at: http://doc.bareos.org/master/html/bareos-manual-main-reference.html#QQ2-1-39
2. Navigate to http://mybareosserver/bareos-webui/dashboard/ and login.
3. The error message displayed is:

"Error: API 2 not available on director. Please upgrade to version 15.2.1 or greater and/or compile with jansson support."
Additional Information
Package: bareos-webui
Version: 15.2.2-41.1

-- System Information:
Debian Release: 7.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-44-pve (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bareos-webui depends on:
ii apache2 2.2.22-13+deb7u6
ii apache2-mpm-prefork [httpd] 2.2.22-13+deb7u6
ii libapache2-mod-php5 5.4.45-0+deb7u2
ii php5-zendframework2 2.3.5-29.2

bareos-webui recommends no packages.

bareos-webui suggests no packages.

Package: bareos-director
Version: 15.2.2-37.1

Versions of packages bareos-director depends on:
ii adduser 3.113+nmu3
ii bareos-common 15.2.2-37.1
ii bareos-database-common 15.2.2-37.1
ii bareos-database-tools 15.2.2-37.1
ii bsd-mailx [mailx] 8.1.2-0.20111106cvs-1+deb7u1
ii debconf [debconf-2.0] 1.5.49
ii libacl1 2.2.51-8
ii libc6 2.13-38+deb7u10
ii libcap2 1:2.22-1.2
ii libfastlz 0.1-7.2
ii libgcc1 1:4.7.2-5
ii libjansson4 2.3.1-2
ii liblzo2-2 2.06-1+deb7u1
ii libssl1.0.0 1.0.1e-2+deb7u19
ii libstdc++6 4.7.2-5
ii libwrap0 7.6.q-24
ii lsb-base 4.1+Debian8+deb7u1
ii lsof 4.86+dfsg-1
ii zlib1g 1:1.2.7.dfsg-13

Versions of packages bareos-director recommends:
ii logrotate 3.8.1-4

bareos-director suggests no packages.


-- Configuration Files:
/etc/bareos-webui/directors.ini changed [not included]
/etc/bareos/bareos-dir.d/bareos-webui.conf changed [not included]
TagsNo tags attached.

Relationships

duplicate of 0000526 closed Webui: "API 2 not available" after Upgrade to 15.2.1 

Activities

jedfrechette

jedfrechette

2016-03-03 19:35

reporter   ~0002206

This report is a duplicate of:

https://bugs.bareos.org/view.php?id=526

It would be good to have the required configuration changes documented, and/or a less cryptic error message.

Issue History

Date Modified Username Field Change
2016-02-17 18:25 jedfrechette New Issue
2016-02-25 17:20 maik Assigned To => frank
2016-02-25 17:20 maik Status new => assigned
2016-03-03 19:35 jedfrechette Note Added: 0002206
2016-06-10 17:31 frank Relationship added duplicate of 0000526
2016-06-10 17:31 frank Status assigned => feedback
2016-11-04 12:21 frank Status feedback => closed
2016-11-04 12:21 frank Assigned To frank =>
2016-11-04 12:21 frank Resolution open => duplicate