Hi Louis,
I went ahead and downloaded the two files from the devel branch, and ran the
patch. It complained that the changes were already in the file, so I chose to
skip those parts and the patch applied successfully.
I've just tested and my email validation seems to be working ok now.
Thanks for your help. I'll try to wait until 6.1 is released before pushing
this into production. A horrible question I know, but do you know a rough
timescale for this release?
Cheers,
Andi
From: Morris, Andi [mailto:[email protected]]
Sent: 10 June 2016 09:20
To: [email protected]
Subject: Re: [PacketFence-users] Still a problem with registration process
Thanks Louis,
That makes sense, I've never been brave enough to run a devel version.
I've created empty upgrade-X.X.X-X.Y.Z.sql and pf-schema-X.Y.Z.sql , but now
I'm getting a different error when running the dry run patch command.
patch -p1 --dry-run <f1680b831db011ebf2ad8cee4e48f7e9db6e60c7.diff
checking file db/pf-schema-X.Y.Z.sql
Hunk #1 FAILED at 1028.
1 out of 1 hunk FAILED
checking file db/upgrade-X.X.X-X.Y.Z.sql
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED
checking file
html/captive-portal/lib/captiveportal/PacketFence/Controller/Activate/Email.pm
checking file
html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication/Email.pm
Hunk #1 succeeded at 75 (offset -1 lines).
Hunk #2 succeeded at 85 (offset -1 lines).
Hunk #3 succeeded at 112 (offset -1 lines).
checking file lib/pf/activation.pm
Can I just download the two files from the
https://github.com/inverse-inc/packetfence/tree/devel/db page or will they
contain extra changes that I won't need?
Cheers,
Andi
From: Louis Munro [mailto:[email protected]]
Sent: 09 June 2016 19:16
To: [email protected]
Subject: Re: [PacketFence-users] Still a problem with registration process
On Jun 8, 2016, at 6:02 , Morris, Andi
<[email protected]<mailto:[email protected]>> wrote:
Hi Louis,
I needed to reinstall as I messed something up, so this is with the patch file
on a completely CentOS 7.2.1511 vanilla 6.0.3 installation just after
completing the configurator.
patch -p1 --dry-run <f1680b831db011ebf2ad8cee4e48f7e9db6e60c7.diff
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/db/pf-schema-X.Y.Z.sql b/db/pf-schema-X.Y.Z.sql
|index 864aa2d..ed1757e 100644
|--- a/db/pf-schema-X.Y.Z.sql
|+++ b/db/pf-schema-X.Y.Z.sql
--------------------------
File to patch:
Hi Andy,
Right. That file only exists in the devel branch and is usually renamed before
a release.
You can just do a touch on it to create it.
It will contain the schema changes required for the update.
Regards,
--
Louis Munro
[email protected]<mailto:[email protected]> ::
www.inverse.ca<http://www.inverse.ca>
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and
PacketFence (www.packetfence.org<http://www.packetfence.org>)
________________________________
[Image removed by sender. Cardiff Metropolitan University - Queens Anniversary
Prizes
2015]<http://www.cardiffmet.ac.uk/news/Pages/Cardiff-Met-research-recognised-in-Queens-Anniversary-Prizes-for-Higher-and-Further-Education.aspx>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users