Hello List,

here is the update from the secret manual in addition to 
https://github.com/inverse-inc/packetfence/tree/packetfence-5.0.0/UPGRADE.asciidoc
 ;)

1st) There is a dependency with haproxy-1.5, Ubuntu 12.04.5 LTS uses 
haproxy-1.4 though:

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:vbernat/haproxy-1.5
sudo apt-get install haproxy

Now you should be able to do:
sudo apt-get dist-upgrade

2nd) /etc/init.d/packetfence-config will then complain
"Could not write namespace config::PfDefault to L2 cache ! This is bad."

So fix this by filling in your DB-credentials into 
/usr/local/pf/conf/pfconfig.conf which has to be a new configuration file, at 
least i did not notice it before.
Then do a "sudo /etc/init.d/packetfence-config restart"


3rd)
https.admin wont start with an error message similar to this:

failed to resolve handler `pfappserver': Can't locate 
pfappserver/PacketFence/Controller/Config/Fingerprints.pm in @INC (@INC 
contains: /usr/local/pf/conf /usr/local/fingerbank/lib /usr/local/pf/lib 
/usr/local/pf/html/pfappserver/lib /etc/perl /usr/local/lib/perl/5.14.2 
/usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 
/usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2) at 
/usr/share/perl5/Module/Runtime.pm line 317.\n at /usr/lib/perl5/Moose.pm line 
63.\nBEGIN failed--compilation aborted at 
/usr/local/pf/html/pfappserver/lib/pfappserver/Controller/Config/Fingerprints.pm
 line 15.\nCompilation failed in require at /usr/share/perl5/Catalyst/Utils.pm 
line 306.\nCompilation failed in require at (eval 1944) li

I dont know what i broke with my fix but commenting line 15 in 
/usr/local/pf/html/pfappserver/lib/pfappserver/Controller/Config/Fingerprints.pm
 line 15 did the job for the moment.
Do a "sudo /etc/init.d/packetfence start" now.

Kind regards,
David

________________________________


Klinikum Nürnberg, Sitz: Nürnberg, Amtsgericht Nürnberg -Registergericht- HRA 
14190, Vorstand: Dr. Alfred Estelmann
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to