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 <mailto: 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 <mailto: 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 <packetfence-users@lists.sourceforge.net <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 <mailto: 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,6058d1fa52596932117607!


!DSPAM:5,6058d1fa52596932117607!

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


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

Reply via email to