Re: [PacketFence-users] Problem to upgrade from 8.2.1

2021-03-23 Thread VIRGINIE GIROU via PacketFence-users

Hello,

I did the upgrade as you told me. It went to the end.

After the reboot, when i tried the "systemctl start packetfence-config", 
it failed and the same messages appeared :


"Failed to connect to config service for namespace config::Pf(hotspot2), 
retrying".


So I came back to my 8.2.1 version, tried to update only kernel to 
centos 7.9 before doing the packetfence upgrade.


Then I have a few services that don't load because "unit is masked" :

dbus[867]: [system] Activating via systemd: service 
name='org.freedesktop.login1' unit='dbus-org.freedesktop.login1.service'
dbus[867]: [system] Activation via systemd failed for unit 
'dbus-org.freedesktop.login1.service': Unit is masked.
dbus[867]: [system] Activating via systemd: service 
name='org.freedesktop.login1' unit='dbus-org.freedesktop.login1.service'
dbus[867]: [system] Activation via systemd failed for unit 
'dbus-org.freedesktop.login1.service': Unit is masked.


# systemctl list-unit-files | grep masked
dbus-org.freedesktop.login1.service   masked
mariadb.service   masked
mysql.service masked
mysqld.service    masked
systemd-logind.service    masked

Is it possible that the centos 7.9 causes the problem ?

regards,

*Virginie GIROU*
/Equipe Systèmes-Réseaux/
Direction des Systèmes d'Information

Bureau AR 139
+33 (0)5 61 63 *39 19*
virginie.gi...@ut-capitole.fr 

Le 22/03/2021 à 17:02, VIRGINIE GIROU via PacketFence-users a écrit :


Hello,

This is a standalone server.

OK I will try what you suggest, indeed I work with snapshot so I can 
rollback before the upgrade.


Thank you


*Virginie GIROU*
/Equipe Systèmes-Réseaux/
Direction des Systèmes d'Information

Bureau AR 139
+33 (0)5 61 63 *39 19*
virginie.gi...@ut-capitole.fr 

Le 22/03/2021 à 15:42, Ludovic Zammit a écrit :

Hello Virginie,

Is it a standalone server or a cluster ?

The upgrade documentation that we have gives you the step by step 
guide to upgrade from 8.2.1 to 10.0.0


You may have an issue in the background that prevent the installation 
to finis properly.


Do you have a snapshot before the upgrade ? If yes, try that:

/usr/local/pf/bin/pfcmd service pf stop

yum update --enablerepo=packetfence

systemctl set-default multi-user.target

shutdown -r now

After reboot:

systemctl set-default packetfence.target

systemctl start packetfence-config

Then execute all those :

https://github.com/inverse-inc/packetfence/blob/devel/docs/PacketFence_Upgrade_Guide.asciidoc#upgrading-from-a-version-prior-to-900 
<https://github.com/inverse-inc/packetfence/blob/devel/docs/PacketFence_Upgrade_Guide.asciidoc#upgrading-from-a-version-prior-to-900>


Make sure to merge those also:

find /usr/local/pf -name \*.rpmnew

Once that’s is done:

/usr/local/pf/bin/pfcmd fixpermissions
/usr/local/pf/bin/pfcmd pfconfig clear_backend
systemctl restart packetfence-config
/usr/local/pf/bin/pfcmd configreload hard
/usr/local/pf/bin/pfcmd service pf restart

Thanks,

Ludovic Zammit
lzam...@inverse.ca <mailto:lzam...@inverse.ca> ::  +1.514.447.4918 
(x145) :: www.inverse.ca <https://www.inverse.ca/>
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu 
<http://www.sogo.nu/>) and PacketFence (http://packetfence.org 
<http://packetfence.org/>)








On Mar 19, 2021, at 12:37 PM, VIRGINIE GIROU via PacketFence-users 
<mailto:packetfence-users@lists.sourceforge.net>> wrote:


Hello,

I'm trying to upgrade our old working 8.2.1 packetfence to latest 
version but it fails during install.


I have done preliminary steps to run before packages upgrades (those 
from 9.2.0 and 10.0.0) then I ran the upgrade command and the prompt 
stop going on during packetfence installation :


".../DKMS: install completed.//
//  Installation : ipt-netflow-2.4-4.1.x86_64       307/713//
//  Installation : adobe-mappings-pdf-20180407-1.el7.noarch 308/713//
//  Installation : libgs-9.25-5.el7.x86_64 309/713//
//  Mise à jour  : ImageMagick-6.9.10.68-5.el7_9.x86_64 310/713//
//  Mise à jour  : 32:bind-license-9.11.4-26.P2.el7_9.4.noarch 311/713//
//  Mise à jour  : kbd-legacy-1.15.5-15.el7.noarch 312/713//
//  Mise à jour  : kbd-1.15.5-15.el7.x86_64 313/713//
//  Mise à jour  : 32:bind-libs-lite-9.11.4-26.P2.el7_9.4.x86_64 
314/713//

//  Mise à jour  : ImageMagick-perl-6.9.10.68-5.el7_9.x86_64 315/713//
//  Mise à jour  : ghostscript-9.25-5.el7.x86_64         316/713//
//  Mise à jour  : graphviz-2.30.1-22.el7.x86_64 317/713//
//Warning: mariadb.service changed on disk. Run 'systemctl 
daemon-reload' to reload units.//
//Removed symlink 
/etc/systemd/system/packetfence-base.target.wants/packetfence-redis-cache.service.//

//Failed to execute operation: No such file or directory//
//Failed to execute operation: No such file or directory//
//Failed to execute operation: No such file or directory//
//Adding pf user to app gro

Re: [PacketFence-users] Problem to upgrade from 8.2.1

2021-03-22 Thread VIRGINIE GIROU via PacketFence-users

Hello,

This is a standalone server.

OK I will try what you suggest, indeed I work with snapshot so I can 
rollback before the upgrade.


Thank you


*Virginie GIROU*
/Equipe Systèmes-Réseaux/
Direction des Systèmes d'Information

Bureau AR 139
+33 (0)5 61 63 *39 19*
virginie.gi...@ut-capitole.fr 

Le 22/03/2021 à 15:42, Ludovic Zammit a écrit :

Hello Virginie,

Is it a standalone server or a cluster ?

The upgrade documentation that we have gives you the step by step 
guide to upgrade from 8.2.1 to 10.0.0


You may have an issue in the background that prevent the installation 
to finis properly.


Do you have a snapshot before the upgrade ? If yes, try that:

/usr/local/pf/bin/pfcmd service pf stop

yum update --enablerepo=packetfence

systemctl set-default multi-user.target

shutdown -r now

After reboot:

systemctl set-default packetfence.target

systemctl start packetfence-config

Then execute all those :

https://github.com/inverse-inc/packetfence/blob/devel/docs/PacketFence_Upgrade_Guide.asciidoc#upgrading-from-a-version-prior-to-900 
<https://github.com/inverse-inc/packetfence/blob/devel/docs/PacketFence_Upgrade_Guide.asciidoc#upgrading-from-a-version-prior-to-900>


Make sure to merge those also:

find /usr/local/pf -name \*.rpmnew

Once that’s is done:

/usr/local/pf/bin/pfcmd fixpermissions
/usr/local/pf/bin/pfcmd pfconfig clear_backend
systemctl restart packetfence-config
/usr/local/pf/bin/pfcmd configreload hard
/usr/local/pf/bin/pfcmd service pf restart

Thanks,

Ludovic Zammit
lzam...@inverse.ca <mailto:lzam...@inverse.ca> ::  +1.514.447.4918 
(x145) :: www.inverse.ca <https://www.inverse.ca/>
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu 
<http://www.sogo.nu/>) and PacketFence (http://packetfence.org 
<http://packetfence.org/>)








On Mar 19, 2021, at 12:37 PM, VIRGINIE GIROU via PacketFence-users 
<mailto:packetfence-users@lists.sourceforge.net>> wrote:


Hello,

I'm trying to upgrade our old working 8.2.1 packetfence to latest 
version but it fails during install.


I have done preliminary steps to run before packages upgrades (those 
from 9.2.0 and 10.0.0) then I ran the upgrade command and the prompt 
stop going on during packetfence installation :


".../DKMS: install completed.//
//  Installation : ipt-netflow-2.4-4.1.x86_64     307/713//
//  Installation : adobe-mappings-pdf-20180407-1.el7.noarch 308/713//
//  Installation : libgs-9.25-5.el7.x86_64 309/713//
//  Mise à jour  : ImageMagick-6.9.10.68-5.el7_9.x86_64 310/713//
//  Mise à jour  : 32:bind-license-9.11.4-26.P2.el7_9.4.noarch 311/713//
//  Mise à jour  : kbd-legacy-1.15.5-15.el7.noarch 312/713//
//  Mise à jour  : kbd-1.15.5-15.el7.x86_64 313/713//
//  Mise à jour  : 32:bind-libs-lite-9.11.4-26.P2.el7_9.4.x86_64 
314/713//

//  Mise à jour  : ImageMagick-perl-6.9.10.68-5.el7_9.x86_64 315/713//
//  Mise à jour  : ghostscript-9.25-5.el7.x86_64       316/713//
//  Mise à jour  : graphviz-2.30.1-22.el7.x86_64 317/713//
//Warning: mariadb.service changed on disk. Run 'systemctl 
daemon-reload' to reload units.//
//Removed symlink 
/etc/systemd/system/packetfence-base.target.wants/packetfence-redis-cache.service.//

//Failed to execute operation: No such file or directory//
//Failed to execute operation: No such file or directory//
//Failed to execute operation: No such file or directory//
//Adding pf user to app groups//
//  Installation : 
packetfence-10.2.0-20201007132254.199263253.0007.v10.2.0.el7.x86_64 
318/713"/



I have to do Ctrl +C to stop.

The log file during install is filled with failure message like :

/Failed to start PacketFence Config Service.
Unit packetfence-config.service entered failed state.
packetfence-config.service failed.
...
/

/Failed to connect to config service for namespace 
config::Pf(hotspot2), retrying/


Is there a way to upgrade step by step from 8.2.1 to 9.0.0 for 
example and so on until 10 ?


Thank you for your advices.

Regards,


--
*Virginie GIROU*
/Equipe Systèmes-Réseaux/
Direction des Systèmes d'Information

Bureau AR 139
+33 (0)5 61 63 *39 19*
virginie.gi...@ut-capitole.fr 

___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net 
<mailto:PacketFence-users@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users


!DSPAM:5,6058acc452591245927316! 
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] Problem to upgrade from 8.2.1

2021-03-19 Thread VIRGINIE GIROU via PacketFence-users

Hello,

I'm trying to upgrade our old working 8.2.1 packetfence to latest 
version but it fails during install.


I have done preliminary steps to run before packages upgrades (those 
from 9.2.0 and 10.0.0) then I ran the upgrade command and the prompt 
stop going on during packetfence installation :


".../DKMS: install completed.//
//  Installation : ipt-netflow-2.4-4.1.x86_64               307/713//
//  Installation : adobe-mappings-pdf-20180407-1.el7.noarch 308/713//
//  Installation : libgs-9.25-5.el7.x86_64 309/713//
//  Mise à jour  : ImageMagick-6.9.10.68-5.el7_9.x86_64 
310/713//
//  Mise à jour  : 32:bind-license-9.11.4-26.P2.el7_9.4.noarch  
311/713//

//  Mise à jour  : kbd-legacy-1.15.5-15.el7.noarch 312/713//
//  Mise à jour  : kbd-1.15.5-15.el7.x86_64 313/713//
//  Mise à jour  : 32:bind-libs-lite-9.11.4-26.P2.el7_9.4.x86_64 
314/713//

//  Mise à jour  : ImageMagick-perl-6.9.10.68-5.el7_9.x86_64  315/713//
//  Mise à jour  : ghostscript-9.25-5.el7.x86_64                 
316/713//

//  Mise à jour  : graphviz-2.30.1-22.el7.x86_64 317/713//
//Warning: mariadb.service changed on disk. Run 'systemctl 
daemon-reload' to reload units.//
//Removed symlink 
/etc/systemd/system/packetfence-base.target.wants/packetfence-redis-cache.service.//

//Failed to execute operation: No such file or directory//
//Failed to execute operation: No such file or directory//
//Failed to execute operation: No such file or directory//
//Adding pf user to app groups//
//  Installation : 
packetfence-10.2.0-20201007132254.199263253.0007.v10.2.0.el7.x86_64 
318/713"/



I have to do Ctrl +C to stop.

The log file during install is filled with failure message like :

/Failed to start PacketFence Config Service.
Unit packetfence-config.service entered failed state.
packetfence-config.service failed.
...
/

/Failed to connect to config service for namespace config::Pf(hotspot2), 
retrying/


Is there a way to upgrade step by step from 8.2.1 to 9.0.0 for example 
and so on until 10 ?


Thank you for your advices.

Regards,


--
*Virginie GIROU*
/Equipe Systèmes-Réseaux/
Direction des Systèmes d'Information

Bureau AR 139
+33 (0)5 61 63 *39 19*
virginie.gi...@ut-capitole.fr 

___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] "Unable to match MAC address"

2019-01-25 Thread Virginie Girou via PacketFence-users

Hello,

Our packetfence is in 8.2.1 version and we use the captive portal.
For a week now a lot of clients get the "Your computer was not found in 
Packetfence database" message instead of captive portal Authentication page.


In packetfence.log i see, for an IP that had the problem :

Jan 25 15:26:32 hotspot2 pfdhcp[1524]: t=2019-01-25T15:26:32+0100 
lvl=info msg="DHCPREQUEST for 10.7.51.67 from 6c:88:14:be:47:18 
(Cosmogonia)" pid=1524 mac=6c:88:14:be:47:18
Jan 25 15:26:33 hotspot2 packetfence_httpd.portal: httpd.portal(3835) 
WARN: [mac:unknown] Unable to match MAC address to IP '10.7.51.67' 
(pf::ip4log::ip2mac)
Jan 25 15:26:33 hotspot2 packetfence_httpd.portal: httpd.portal(3835) 
WARN: [mac:0] Unable to match MAC address to IP '10.7.51.67' 
(pf::ip4log::ip2mac)
Jan 25 15:26:33 hotspot2 pfdhcp[1524]: t=2019-01-25T15:26:33+0100 
lvl=info msg="DHCPREQUEST for 10.7.51.67 from 6c:88:14:be:47:18 
(Cosmogonia)" pid=1524 mac=6c:88:14:be:47:18
Jan 25 15:26:34 hotspot2 pfdhcp[1524]: t=2019-01-25T15:26:34+0100 
lvl=info msg="DHCPREQUEST for 10.7.51.67 from 6c:88:14:be:47:18 
(Cosmogonia)" pid=1524 mac=6c:88:14:be:47:18



curl http://127.0.0.1:2/api/v1/dhcp/mac/6c:88:14:be:47:18 | python 
-m json.tool

  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   Spent Left  Speed
10053  100530 0  47195  0 --:--:-- --:--:-- --:--:-- 
53000

{
"message": "Cannot find match for this MAC address"
}

I don't understand what is going on with those clients. Some other works 
fine ...


What can i do ?

Thank you.

Regards,

--
Virginie Girou
Equipe systeme
DSI - UT1 Capitole
Tel : +33 (0)5.61.63.39.19



___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] character from ISO-8859-1 in password ...

2018-12-14 Thread Virginie Girou via PacketFence-users

Hello,

Le 14/12/2018 09:34, Nicolas Quiniou-Briand via PacketFence-users a écrit :

Hello Virginie,

On 2018-12-13 4:48 p.m., Virginie Girou via PacketFence-users wrote:
Concerning password entered in Captiveportal authentication page 
(signin.html), if password include character deg "°",  for instance, 
packetfence send to our radius the octal code for "°" (\260).
Do we have to restrict password characters in ascii table ? Or can I 
do something on packetfence to permit the ISO-8859-1 character ?


Just to be sure to understand your setup, you use a RADIUS source that 
send authentications made on captive portal to an external RADIUS 
server ?



Yes exactly.


Virginie Girou
Equipe systeme
DSI - UT1 Capitole
Tel : +33 (0)5.61.63.39.19




___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] character from ISO-8859-1 in password ...

2018-12-14 Thread Virginie Girou via PacketFence-users

Hello,

Concerning password entered in Captiveportal authentication page 
(signin.html), if password include character deg "°",  for instance, 
packetfence send to our radius the octal code for "°" (\260).
Do we have to restrict password characters in ascii table ? Or can I do 
something on packetfence to permit the ISO-8859-1 character ?


Thank you

--
Virginie Girou
Equipe systeme
DSI - UT1 Capitole
Tel : +33 (0)5.61.63.39.19



___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] Error trying to upgrade from 8.1 to 8.2

2018-11-15 Thread Virginie Girou via PacketFence-users

Hello,

Yes, i have a pb with my VM so I went back on a backup and it's getting 
better !


Regards,

Virginie Girou
Equipe systeme
DSI - UT1 Capitole
Tel : +33 (0)5.61.63.39.19

Le 14/11/2018 04:22, Durand fabrice via PacketFence-users a écrit :

Hello Virginie,

it's not related to PacketFence, it looks that you have an issue with 
your python modules on your system.


Regards

Fabrice

Le 18-11-13 à 05 h 14, Virginie Girou via PacketFence-users a écrit :

Hi,

I try to upgrade my packetfence from 8.1 to 8.2.
I first stop pfcmd and packetfence-config and when i update i have 
this following message :



# /usr/local/pf/bin/pfcmd service pf stop
# service packetfence-config stop

#yum update packetfence --enablerepo=packetfence

Traceback (most recent call last):
  File "/usr/bin/yum", line 4, in 
import yum
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 62, 
in 

import rpmsack
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 38, in 


import yum.depsolve
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 30, 
in 

from transactioninfo import TransactionMember
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", 
line 32, in 

from sqlitesack import YumAvailablePackageSqlite
  File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 31, 
in 

from sqlutils import executeSQL, sql_esc, sql_esc_glob
  File "/usr/lib/python2.7/site-packages/yum/sqlutils.py", line 170, 
in 

if sqlite.version_info[0] > 1:
AttributeError: 'module' object has no attribute 'version_info'


Do you have any idea ?

Thank you.

Regards,




___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

!DSPAM:67760,5beb955038739658187727!






___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] Error trying to upgrade from 8.1 to 8.2

2018-11-13 Thread Virginie Girou via PacketFence-users

Hi,

I try to upgrade my packetfence from 8.1 to 8.2.
I first stop pfcmd and packetfence-config and when i update i have this 
following message :



# /usr/local/pf/bin/pfcmd service pf stop
# service packetfence-config stop

#yum update packetfence --enablerepo=packetfence

Traceback (most recent call last):
  File "/usr/bin/yum", line 4, in 
import yum
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 62, in 


import rpmsack
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 38, in 


import yum.depsolve
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 30, in 


from transactioninfo import TransactionMember
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 
32, in 

from sqlitesack import YumAvailablePackageSqlite
  File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 31, 
in 

from sqlutils import executeSQL, sql_esc, sql_esc_glob
  File "/usr/lib/python2.7/site-packages/yum/sqlutils.py", line 170, in 


if sqlite.version_info[0] > 1:
AttributeError: 'module' object has no attribute 'version_info'


Do you have any idea ?

Thank you.

Regards,

--
Virginie Girou
Equipe systeme
DSI - UT1 Capitole
Tel : +33 (0)5.61.63.39.19



___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] Wrong language after upgrade to 7.0.4

2018-03-08 Thread Virginie Girou via PacketFence-users

Hi,

I am interrested in your problem (/solution ;-) ), because i encounter 
the same with french language.


I first though it was a translation message problem but actually it acts 
as if the only active language was "en" while my profile parameters are 
set to "fr" and my browser request the "fr" language ...


I wrote the list in january (subject : No translation on "Enabling 
network access" page) and i have the problem on a 7.3 version (install 
directly in 7.3) but not in a 7.0.


I tried to compare different files but I am not good enough in 
programming to understand the differences.


Hope that packetfence team could help us !

Regards,

Virginie Girou
Equipe systeme
DSI - UT1 Capitole
Tel : +33 (0)5.61.63.39.19

Le 07/03/2018 14:23, Hubert Kupper via PacketFence-users a écrit :

Hi Ian,

yes, I mean 7.3.0 to 7.4.0 sorry ;-)

mybrowserinfo.com shows the correct language. When I set 
locale= I get the english version of the profile preview and 
the preview of the html files like layout.html. When I set the 
locale=de_DE in the profiles.conf file, I get the profile preview in 
the german version but all other htlm files in the english version.


cheers,
Hubert

Am 06.03.2018 um 06:19 schrieb Ian MacDonald via PacketFence-users:

Hubert,

I would assume you mean upgraded from 7.3.0 to 7.4.0;

I think by default, connection profiles support whatever locale your 
browser requests.   Maybe confirm your local setup using 
mybrowserinfo.com  and make sure you are 
requesting the language you want.


Using locale= will let your browser select the locale.

You should probably just start with a clone of the default connection 
profile with no languages specified and see if the problem occurs 
there with the correct browser locale, both in the Preview from the 
admin GUI as well as when you hit the captive portal directly.


Compare different devices with your desired locale setting set to 
rule out the client.


If the problem goes away with a clone of the default connection 
profile, you can focus on your profile configuration and files, 
opting to find the difference by direct comparison.


I am not sure, but your locale setting may also require subtags;  I'm 
not sure the "de" language identifier will actually match one of the 
German locales. Check the notation is correct 
https://www.w3.org/TR/ltli/#language-terminology


I don't use the locale setting myself.

cheers,
Ian



On Wed, Feb 28, 2018 at 3:26 AM, Hubert Kupper via PacketFence-users 
> wrote:


Hello,

I did a upgrade from 7.0.3 to 7.0.4. After the upgrade, the
profile language is english while in pf.conf and profiles.conf
the language is already set to "de".  Any ideas?

Best regards,
Hubert


--
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
PacketFence-users@lists.sourceforge.net

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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


!DSPAM:67760,5aa01758104847092754295!


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

!DSPAM:67760,5aa01758104847092754295!


___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


!DSPAM:67760,5aa01758104847092754295!


--
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] No translation on "Enabling network access" page

2018-01-22 Thread Virginie Girou via PacketFence-users

Hello Fabrice,

Yes, packetfence.po includes the three messages below, none of them 
appears in french during the "access" page while "authentication" page 
is in french :


/# 
html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module.pm /

/msgid "release: enabling network"//
//msgstr "Activation de l'acces réseau"/

/# html/captive-portal/templates/release.html//
//msgid ""//
//"Your network access is currently being enabled. Once network 
connectivity is"//

//" established you will be automatically redirected."//
//msgstr "Votre accès réseau est présentement en activation.  Une 
fois la connectivité réseau établie, vous serez automatiquement 
redirigé."/


# ...
/msgid ""//
//"If you have any questions regarding the registration process 
please contact "//

//"your local support staff."//
//msgstr "Si vous avez la moindre question concernant le processus 
d’enregistrement veuillez contacter le support."


/I join a screenshot (i translate directly in Root.pm the only french 
line that appears).


Hope you'll have an idea ...

Regards,

Virginie Girou
Equipe systeme
DSI - UT1 Capitole
Tel : +33 (0)5.61.63.39.19

Le 20/01/2018 02:48, Durand fabrice via PacketFence-users a écrit :

Hello Virginie,

in conf/locale/fr/LC_MESSAGES/packetfence.po can you check if you have :

# 
html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module.pm

msgid "release: enabling network"
msgstr "Activation de l'acces réseau"

Regards

Fabrice



Le 2018-01-16 à 10:19, Virginie Girou via PacketFence-users a écrit :

Hello,

We use a packetfence as captive portal in our university (v 7.0) 
using french language but first installed in v 6.4 and then updated.


I've installed another one directly in 7.3 for test before 
production, but the entire "Enabling network access" page stays in 
english even if i choose french language in the portal configuration 
(or another language).

All others are correctly in french.

I don't even find the file where i could translate title and messages.

Could you help me please, i am stuck ...

Regards,




-- 


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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

!DSPAM:67760,5a62a01634971071191456!




--
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] No translation on "Enabling network access" page

2018-01-16 Thread Virginie Girou via PacketFence-users

Hello,

We use a packetfence as captive portal in our university (v 7.0) using 
french language but first installed in v 6.4 and then updated.


I've installed another one directly in 7.3 for test before production, 
but the entire "Enabling network access" page stays in english even if i 
choose french language in the portal configuration (or another language).

All others are correctly in french.

I don't even find the file where i could translate title and messages.

Could you help me please, i am stuck ...

Regards,

--
Virginie Girou
Equipe systeme
DSI - UT1 Capitole
Tel : +33 (0)5.61.63.39.19


--
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] Captive Portal : language strings in .pm files

2017-08-17 Thread Virginie Girou via PacketFence-users


 Hello,

I would like to pick up on this question of language.

We work on Packetfence captive-portal in 7.0.0 version.

We use french language but there is still some messages in english such 
as :Â


 * *"Invalid login or password"* from
   /usr/local/pf/lib/pf/constants/authentication/messages.pm
 * *"Role xx has been assigned to your device with unregistration date
   : x"* from
   
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Root.pm
   (but there is variable in it %s ...)
 * *"Authentication"Â *as title of the authentication portal page : I
   don't know where this word comes from (which file).

How can I do ?  Does the 7.1 version translate everything ?

Thank you.

Virginie Girou

Le 31/05/2017 21:14, Fabrice Durand a écrit :


Hello George,

sorry for the delay.


In fact it suppose to be localized but our script to extract string
missed all the lines that contain showError.

I did a fix in github for the newer version but you can patch your setup
to make it work.

So do what i have modified in Email.pm
(https://github.com/inverse-inc/packetfence/commit/07cab346e13a5c9ee8e7cf56bba591aeaccb1baa)
then edit conf/locale/fr/LC_MESSAGES/packetfence.po

and add that:

# html/captive-
# portal/lib/captiveportal/PacketFence/Controller/Activate/Email.pm
msgid ""
"The activation code provided is invalid. Reasons could be: it never
existed,"
" it was already used or has expired."
msgstr "Le code d'activation entré est invalide. Les raisons pourraient
être: il n'a jamais existé, il a déja êté utilisé ou expiré. "

Then do:

for TRANSLATION in de en es fr he_IL it nl pl_PL pt_BR; do
 /usr/bin/msgfmt conf/locale/$TRANSLATION/LC_MESSAGES/packetfence.po \
   --output-file conf/locale/$TRANSLATION/LC_MESSAGES/packetfence.mo
done


Or wait for the 7.1 version.

Regards

Fabrice



Le 2017-05-30 à 04:10, Kandalaft George a écrit :

Hi Fabrice

We are running version 6.2.1 and here is a string from
/captive-portal/lib/captiveportal/PacketFence/Controller/Activate/Email.pm:

$self->showError($c,
 "The activation code provided is invalid."
   . " Reasons could be: it never existed, it was already used or has 
expired."
 );

Thanks

George

-Original Message-

Date: Mon, 29 May 2017 11:22:39 -0400
From: Fabrice Durand
To:packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Language strings in .pm files
Message-ID:
Content-Type: text/plain; charset="windows-1252"

Hello George,

which version are you running and do you have any example ?

Regards

Fabrice



--
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


!DSPAM:67760,59550733154826258613221!



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

!DSPAM:67760,59550733154826258613221!


___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


!DSPAM:67760,59550733154826258613221!


--
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] Language strings in .pm files

2017-06-29 Thread Virginie Girou via PacketFence-users

Hello,

I would like to pick up on this question of language.

We work on Packetfence captive-portal in 7.0.0 version.

We use french language but there is still some messages in english such 
as :


 * *"Invalid login or password"* from
   /usr/local/pf/lib/pf/constants/authentication/messages.pm
 * *"Role xx has been assigned to your device with unregistration date
   : x"* from
   
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Root.pm
   (but there is variable in it %s ...)
 * *"Authentication" *as title of the authentication portal page : I
   don't know where this word comes from (which file).

How can I do ?  Does the 7.1 version translate everything ?

Thank you.

Virginie Girou

Le 31/05/2017 21:14, Fabrice Durand a écrit :


Hello George,

sorry for the delay.


In fact it suppose to be localized but our script to extract string
missed all the lines that contain showError.

I did a fix in github for the newer version but you can patch your setup
to make it work.

So do what i have modified in Email.pm
(https://github.com/inverse-inc/packetfence/commit/07cab346e13a5c9ee8e7cf56bba591aeaccb1baa)
then edit conf/locale/fr/LC_MESSAGES/packetfence.po

and add that:

# html/captive-
# portal/lib/captiveportal/PacketFence/Controller/Activate/Email.pm
msgid ""
"The activation code provided is invalid. Reasons could be: it never
existed,"
" it was already used or has expired."
msgstr "Le code d'activation entré est invalide. Les raisons pourraient
être: il n'a jamais existé, il a déja êté utilisé ou expiré. "

Then do:

for TRANSLATION in de en es fr he_IL it nl pl_PL pt_BR; do
 /usr/bin/msgfmt conf/locale/$TRANSLATION/LC_MESSAGES/packetfence.po \
   --output-file conf/locale/$TRANSLATION/LC_MESSAGES/packetfence.mo
done


Or wait for the 7.1 version.

Regards

Fabrice



Le 2017-05-30 à 04:10, Kandalaft George a écrit :

Hi Fabrice

We are running version 6.2.1 and here is a string from
/captive-portal/lib/captiveportal/PacketFence/Controller/Activate/Email.pm:

$self->showError($c,
 "The activation code provided is invalid."
   . " Reasons could be: it never existed, it was already used or has 
expired."
 );

Thanks

George

-Original Message-

Date: Mon, 29 May 2017 11:22:39 -0400
From: Fabrice Durand 
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Language strings in .pm files
Message-ID: 
Content-Type: text/plain; charset="windows-1252"

Hello George,

which version are you running and do you have any example ?

Regards

Fabrice



--
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
PacketFence-users@lists.sourceforge.net
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users