Hello Cristian,
i am able to reproduce it, we will provide a fix soon.
Regards
Fabrice
Le 2018-01-29 à 07:17, Cristian Mammoli via PacketFence-users a écrit :
Hi, after updating to 7.4 I have the following issues in the admin
portal:
Restart switchport on the node details show:
*Error!* An error occured while contacting the server. Please try
again later.
Deregistering a node show:
*Error!* An error condition has occured. See server side logs for
details.
/usr/local/pf/logs/httpd.admin.log reports:
Restart switchport:
Jan 29 11:52:00 srvpf httpd_admin: httpd.admin(2125) ERROR:
[mac:unknown] Caught exception in
pfappserver::Controller::Node->restart_switchport "Can't use string
("") as a subroutine ref while "strict refs" in use at
/usr/local/pf/lib/CHI/Driver/DBI.pm line 43."
(pfappserver::PacketFence::Controller::Root::end)
Bull unregister:
Jan 29 11:52:18 srvpf httpd_admin: httpd.admin(4681) ERROR:
[mac:unknown] Caught exception in
pfappserver::Controller::Node->bulk_deregister "Can't use string ("")
as a subroutine ref while "strict refs" in use at
/usr/local/pf/lib/CHI/Driver/DBI.pm line 43."
(pfappserver::PacketFence::Controller::Root::end)
Set a node to unregistered:
Jan 29 11:52:37 srvpf httpd_admin: httpd.admin(2125) ERROR:
[mac:unknown] Caught exception in
pfappserver::Controller::Node->update "Can't use string ("") as a
subroutine ref while "strict refs" in use at
/usr/local/pf/lib/CHI/Driver/DBI.pm line 43."
(pfappserver::PacketFence::Controller::Root::end)
Enabling debug:
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:[undef]] (Re)Connecting to MySQL (pid: 28442) (pf::db::db_connect)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:[undef]] connected (pf::db::db_connect)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] cache get for namespace='Default', key='inreadonly',
cache='RawMemory', time='0ms': MISS (not in cache)
(CHI::Driver::_log_get_result)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] not checking db handle, it has been less than 30 sec
from last connection (pf::db::is_old_connection_good)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] not checking db handle, it has been less than 30 sec
from last connection (pf::db::is_old_connection_good)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] No wsrep provider so considering wsrep as healthy
(pf::db::db_wsrep_healthy)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] cache set for namespace='Default', key='inreadonly',
size=1, expires='5s', cache='RawMemory', time='0ms'
(CHI::Driver::_log_set_result)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] cache get for namespace='Default',
key='HASH(0x555e329d7298)', cache='RawMemory', time='0ms': MISS (not
in cache) (CHI::Driver::_log_get_result)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] cache set for namespace='Default',
key='{"encoding":null,"reconnect":"60","server":"127.0.0.1:6379"}',
size=1, expires='never', cache='RawMemory', time='0ms'
(CHI::Driver::_log_set_result)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] cache get for namespace='httpd.admin',
key='expires:124eb2e7dfa483170770149e0e0d89b212c64914', cache='Redis',
time='1ms': HIT (CHI::Driver::_log_get_result)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] cache get for namespace='httpd.admin',
key='session:124eb2e7dfa483170770149e0e0d89b212c64914', cache='Redis',
time='0ms': HIT (CHI::Driver::_log_get_result)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] cache get for namespace='Default', key='inreadonly',
cache='RawMemory', time='0ms': HIT (CHI::Driver::_log_get_result)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) ERROR:
[mac:unknown] Caught exception in
pfappserver::Controller::Node->restart_switchport "Can't use string
("") as a subroutine ref while "strict refs" in use at
/usr/local/pf/lib/CHI/Driver/DBI.pm line 43, line 1003."
(pfappserver::PacketFence::Controller::Root::end)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] cache get for namespace='httpd.admin',
key='expires:124eb2e7dfa483170770149e0e0d89b212c64914', cache='Redis',
time='0ms': HIT (CHI::Driver::_log_get_result)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] cache get for namespace='httpd.admin',
key='expires:124eb2e7dfa483170770149e0e0d89b212c64914', cache='Redis',
time='0ms': HIT (CHI::Driver::_log_get_result)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] cache get for namespace='httpd.admin',
key='expires:124eb2e7dfa483170770149e0e0d89b212c64914', cache='Redis',
time='0ms': HIT (CHI::Driver::_log_get_result)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] cache set for namespace='httpd.admin',
key='expires:124eb2e7dfa483170770149e0e0d89b212c64914', size=24,
expires='1d', cache='Redis', time='0ms' (CHI::Driver::_log_set_result)
Jan 29 12:32:09 srvpf httpd_admin: httpd.admin(28373) DEBUG:
[mac:unknown] cache set for namespace='httpd.admin',
key='session:124eb2e7dfa483170770149e0e0d89b212c64914', size=259,
expires='1d', cache='Redis', time='0ms' (CHI::Driver::_log_set_result)
I already tried to clear every possible cache with no result.
Thanks in advance
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users