Hello Yakup

Something happened with the session file that its content is
unserializeable. Information about this error should be available in
the web server log.

Please move somewhere this file:

/usr/share/baculum/htdocs/protected/Web/Config/session.dump

and it should start working back.

Best regards,
Marcin Haba (gani)

On Mon, 12 Jul 2021 at 11:06, Yakup Kaya <yakup.k...@indra-avitech.aero> wrote:
>
> Hello everybody,
>
>
> Today I started getting an error on Baculum interface. I did not change 
> anything on the configuration. The details of the OS and bacula/baculum is as 
> follows. Restarting httpd and bacula services did not change anything.
>
>
> OS: CentOS Linux release 7.6.1810 (Core)
>
> Bacula version: 9.6.6-1
>
> Baculum version: 9.6.6.1-1
>
> Database: PostgreSQL (version 9.2.24)
>
> Authentication method for users: Oauth2
>
> And here is the error I am getting on the web browser (Firefox 89.0.2-2):
>
> Prado\Exceptions\TPhpErrorException
>
> Description
>
> [Warning] array_key_exists() expects parameter 2 to be array, boolean given 
> (@line 148 in file 
> /usr/share/baculum/htdocs/protected/Common/Class/SessionRecord.php).
>
> Source File
>
> /usr/share/baculum/htdocs/protected/Common/Class/SessionRecord.php (148)
>
> 0137:         if ($is_saved || $is_updated) {
> 0138:             self::store();
> 0139:         }
> 0140:         return ($is_saved || $is_updated);
> 0141:     }
> 0142:
> 0143:     public static function &get() {
> 0144:         self::restore();
> 0145:         $result = array();
> 0146:         $c = get_called_class();
> 0147:         $record_id = $c::getRecordId();
> 0148:         if (!array_key_exists($record_id, $GLOBALS['sess'])) {
> 0149:             $GLOBALS['sess'][$record_id] = array();;
> 0150:         }
> 0151:         return $GLOBALS['sess'][$record_id];
> 0152:     }
> 0153:
> 0154:     public static function findByPk($pk) {
> 0155:         $c = get_called_class();
> 0156:         $primary_key = $c::getPrimaryKey();
> 0157:         $result = self::findBy($primary_key, $pk);
> 0158:         return $result;
> 0159:     }
> 0160:
>
> Stack Trace
>
> #0 [internal function]: Prado\PradoBase::phpErrorHandler(2, 
> 'array_key_exist...', '/usr/share/bacu...', 148, Array)
> #1 /usr/share/baculum/htdocs/protected/Common/Class/SessionRecord.php(148): 
> array_key_exists('host_params', false)
> #2 /usr/share/baculum/htdocs/protected/Common/Class/SessionRecord.php(164): 
> SessionRecord::get()
> #3 /usr/share/baculum/htdocs/protected/Common/Class/SessionRecord.php(157): 
> SessionRecord::findBy('host', 'Main')
> #4 /usr/share/baculum/htdocs/protected/Web/Class/BaculumAPIClient.php(222): 
> SessionRecord::findByPk('Main')
> #5 /usr/share/baculum/htdocs/protected/Web/Class/BaculumAPIClient.php(302): 
> BaculumAPIClient->getHostParams('Main')
> #6 /usr/share/baculum/htdocs/protected/Web/Class/BaculumWebPage.php(71): 
> BaculumAPIClient->get(Array, NULL, false)
> #7 /usr/share/baculum/htdocs/protected/Web/Class/BaculumWebPage.php(60): 
> BaculumWebPage->setSessionUserVars()
> #8 
> /usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/UI/TPage.php(217):
>  BaculumWebPage->onPreInit(NULL)
> #9 
> /usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/UI/TPage.php(208):
>  Prado\Web\UI\TPage->processNormalRequest(Object(Prado\Web\UI\THtmlWriter))
> #10 
> /usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/Services/TPageService.php(528):
>  Prado\Web\UI\TPage->run(Object(Prado\Web\UI\THtmlWriter))
> #11 
> /usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/Services/TPageService.php(465):
>  Prado\Web\Services\TPageService->runPage(Object(Dashboard), Array)
> #12 
> /usr/share/baculum/htdocs/framework/pradosoft/prado/framework/TApplication.php(1190):
>  Prado\Web\Services\TPageService->run()
> #13 
> /usr/share/baculum/htdocs/framework/pradosoft/prado/framework/TApplication.php(382):
>  Prado\TApplication->runService()
> #14 /usr/share/baculum/htdocs/index.php(31): Prado\TApplication->run()
> #15 {main}
>
>
> Thank you very much in advance. We have installed bacula and baculum via 
> rpms, so we do not have a config.out file. So I wrote the versions we used 
> manually.
>
>
> Kind regards,
>
>
>
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to