Troubleshooting

Permission denied error when saving Bacula configuration

Error 1000: Internal error.
[Warning] file_put_contents(/etc/bacula/bacula-dir.conf): failed to open stream:
Permission denied (@line 56 in file
/usr/share/baculum/htdocs/protected/Common/Class/ConfigBacula.php).

Web server user of the Baculum API requires read/write access to the Bacula configuration files. It requires manual administrator action to set proper permission to files. Baculum does not solve this issue automatically.

Error 1000 when you go to Volumes page

Error 1000 - Internal error. [Warning] strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. (@line 135 in file /usr/share/baculum/htdocs/protected/API/Class/VolumeManager.php).

To solve this error please set a timezone in the PHP configuration file. You can do it the php.ini file, for example:

date.timezone = "Europe/Warsaw"

To check your timezone, please look at the list of all timezones possible to set in the php.ini file.

Time fields contain invalid date/time values

Wrong timezone is set in the PHP configuration. To fix it, please update “date.timezone” option in the php.ini file, for example:

date.timezone = "Europe/Warsaw"

To check your timezone, please look at the list of all timezones possible to set in the php.ini file.

The job history list or the job files table is empty

The reason can be a try to load too many elements, for example 20,000 jobs. In this case please check the web server logs for the Baculum API and the Baculum Web to make sure, that it is because of exhausted PHP memory limit.

[Error] Allowed memory size of 125829120 bytes exhausted (tried to allocate 1167360 bytes) (@line 262 in file /usr/share/baculum/htdocs/protected/API/Class/BaculumAPIServer.php).

If it is this case, you can solve in in two ways:

  • setting lower elements limit in the Baculum Web application settings (gearwheel icon on the top left side of page),

  • increasing memory limit for PHP by setting in php.ini file for example:

memory_limit = 256M

The Baculum job tables are loading slowly

Default the number of jobs displayed in tables is set to 15000 jobs. There is possible to change this limit by setting lower value than 15000. It is recommended if older jobs are not so relevant to display in the job tables. Always there is possible to increase the limit back to 15000 or greater value.

To set the number of jobs displayed in tables, please to to the Baculum Web application settings page (under black gear wheel icon at the top left side of the interface) and set lower value in the field Max. number of jobs visible in tables, for example 500.

Where to find help?

Mailing list

For getting help with installing and configuring Baculum you can use the Bacula-Users mailing list on SourceForge.net:

Registration to the list:

https://sourceforge.net/projects/bacula/lists/bacula-users

The mailing list archive:

https://sourceforge.net/p/bacula/mailman/bacula-users

The mailing list e-mail address:

Bug tracker

If you find a bug in Baculum, you can report it to the Bacula Community Bug Tracker.

To report bugs, you need to register in the bug tracker first.

For reviewing bugs without registration you can use the anonymous user account:

username: anonymous

password: anonymous

The bug tracker address:

https://bugs.bacula.org