oliveiraped / Reportula

Reportula is a php based web program that provides you a summarized output stats of Bacula Backups jobs, clients, volumes and director that have already run. It obtains its information from your catalog database. This is a fairly high level bacula management tool. Here are a few points that one user made concerning this important tool. It is web-based so can be accessed from anywhere. It packs a phenomenal amount of information into a single web-page – that I credit as being very good design! Features Display last jobs status Display volumes usage by pool Full supported MySQL, PostgreSQL databases. Show Jobs which executed with errors last day, week, month Show a condition of your Volumes Show terminated Jobs Search Jobs on several conditions The detailed information on Pools, Volumes, Storages and Clients Search options List the files stored on job Acl Supports and Login users support Integration with Active Directory or Ldap servers
http://www.reportula.org
GNU General Public License v3.0
25 stars 9 forks source link

There is no way to Configure Bacula Client #8

Closed newburns closed 10 years ago

newburns commented 10 years ago

Fresh CentOS 6.5 instal on the Bacula host. Installed into the bacula client. I'm assuming that the bacula client information is loaded through the configurator. The configurator throws an error

[20:09:37] LOG.error: exception 'InvalidArgumentException' with message 'The "" directory does not exist.' in /var/www/html/reports/vendor/symfony/finder/Symfony/Component/Finder/Finder.php:667 Stack trace:

0 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(264): Symfony\Component\Finder\Finder->in('')

1 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(208): Illuminate\Filesystem\Filesystem->allFiles('')

2 /var/www/html/reports/app/controllers/admin/ConfiguratorController.php(621): Illuminate\Support\Facades\Facade::__callStatic('allFiles', Array)

3 /var/www/html/reports/app/controllers/admin/ConfiguratorController.php(621): Illuminate\Support\Facades\File::allFiles('')

4 [internal function]: app\controllers\admin\ConfiguratorController->readbacula()

5 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(231): call_user_func_array(Array, Array)

6 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93): Illuminate\Routing\Controller->callAction('readbacula', Array)

7 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62): Illuminate\Routing\ControllerDispatcher->call(Object(app\controllers\admin\ConfiguratorController), Object(Illuminate\Routing\Route), 'readbacula')

8 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Routing/Router.php(934): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'app\controllers...', 'readbacula')

9 [internal function]: Illuminate\Routing{closure}()

10 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Routing/Route.php(104): call_user_func_array(Object(Closure), Array)

11 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1000): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))

12 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Routing/Router.php(968): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))

13 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(738): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))

14 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(708): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request))

15 /var/www/html/reports/vendor/barryvdh/laravel-debugbar/src/Barryvdh/Debugbar/Middleware.php(34): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true)

16 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Http/FrameGuard.php(38): Barryvdh\Debugbar\Middleware->handle(Object(Illuminate\Http\Request), 1, true)

17 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Http\FrameGuard->handle(Object(Illuminate\Http\Request), 1, true)

18 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)

19 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)

20 /var/www/html/reports/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)

21 /var/www/html/reports/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(606): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))

22 /var/www/html/reports/public/index.php(49): Illuminate\Foundation\Application->run()

23 {main}

newburns commented 10 years ago

Also...

The "" directory does not exist./var/www/html/reports/vendor/symfony/finder/Symfony/Component/Finder/Finder.php#667InvalidArgumentException

} elseif ($glob = glob($dir, GLOB_ONLYDIR)) {
$resolvedDirs = array_merge($resolvedDirs, $glob);
} else {
throw new \InvalidArgumentException(sprintf('The "%s" directory does not exist.', $dir));
}
}
oliveiraped commented 10 years ago

The configurator is still in very early developing stage, so right now i can not tell you when will okay to use

oliveiraped commented 10 years ago

newburns Check the new Reportula Version, the configurator is ready.