View Issue Details

IDProjectCategoryView StatusLast Update
0000526bareos-corewebuipublic2016-06-10 17:31
Reporterc43rfcerf Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Platformamd64OSDebianOS Version7.9
Summary0000526: Webui: "API 2 not available" after Upgrade to 15.2.1
DescriptionHello,

on my debian 7.9 amd64 machine i upgrade bareos packages from:

14.2.1 to 15.2.1

with apt, using http://download.bareos.org/bareos/release/15.2/Debian_7.0/

After login into the webui i get this error:

"Error: API 2 not available on director. Please upgrade to version 15.2.1 or greater and/or compile with jansson support."


Additional InformationList of my packages:

4243# dpkg -l | egrep "bareos|zend"
ii bareos 15.2.1-15.1 amd64 Backup Archiving Recovery Open Sourced - metapackage
ii bareos-bconsole 15.2.1-15.1 amd64 Backup Archiving Recovery Open Sourced - text console
ii bareos-client 15.2.1-15.1 amd64 Backup Archiving Recovery Open Sourced - client metapackage
ii bareos-common 15.2.1-15.1 amd64 Backup Archiving Recovery Open Sourced - common files
ii bareos-database-common 15.2.1-15.1 amd64 Backup Archiving Recovery Open Sourced - common catalog files
ii bareos-database-mysql 15.2.1-15.1 amd64 Backup Archiving Recovery Open Sourced - MySQL backend
ii bareos-database-tools 15.2.1-15.1 amd64 Backup Archiving Recovery Open Sourced - database tools
ii bareos-director 15.2.1-15.1 amd64 Backup Archiving Recovery Open Sourced - director daemon
ii bareos-filedaemon 15.2.1-15.1 amd64 Backup Archiving Recovery Open Sourced - file daemon
ii bareos-storage 15.2.1-15.1 amd64 Backup Archiving Recovery Open Sourced - storage daemon
ii bareos-traymonitor 15.2.1-15.1 amd64 Backup Archiving Recovery Open Sourced - tray monitor
ii bareos-webui 15.2.1-15.1 all Bareos Web User Interface.
ii php5-zendframework2 2.3.5-29.2 amd64 Zend Framework 2



The setenv variable for zend framework is set in apache.

Also, a reboot was done after the upgrade.
TagsNo tags attached.

Relationships

has duplicate 0000621 closed Error: API 2 not available on director (Debian Packages) 

Activities

c43rfcerf

c43rfcerf

2015-09-30 14:55

reporter   ~0001854

Solution:

In version 14.x i had to include (bareos-dir.conf):

@/etc/bareos/bareos-dir.d/bareos-webui.conf

in 15.2.1. i had to replace it with:

@/etc/bareos/bareos-dir.d/webui-consoles.conf
@/etc/bareos/bareos-dir.d/webui-profiles.conf

(i also had to corrent the password in these files)

no it is working
frank

frank

2015-10-01 16:37

developer   ~0001858

Ok, I see. We may need to give an advice somewhere for upgrading users that some things have changed. Thanks for reporting the issue you run into.

Issue History

Date Modified Username Field Change
2015-09-30 14:39 c43rfcerf New Issue
2015-09-30 14:39 c43rfcerf Status new => assigned
2015-09-30 14:39 c43rfcerf Assigned To => frank
2015-09-30 14:55 c43rfcerf Note Added: 0001854
2015-10-01 16:37 frank Note Added: 0001858
2015-10-01 16:37 frank Status assigned => closed
2015-10-01 16:37 frank Assigned To frank =>
2015-10-01 16:37 frank Resolution open => no change required
2016-06-10 17:31 frank Relationship added has duplicate 0000621