OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [OBSOLETE] How to test the development version
« previous next »
  • Print
Pages: 1 ... 3 4 [5] 6

Author Topic: [OBSOLETE] How to test the development version  (Read 37018 times)

mmorev

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: How to test the development version
« Reply #60 on: January 15, 2017, 06:28:52 am »
Thanks!
I have a new issue when building:
Code: [Select]
>>> Setting up /usr/core copy in /usr/obj/usr/tools/config/17.1/OpenSSL:amd64
fatal: ambiguous argument 'stable/17.1': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
*** Error code 128

Stop.
make: stopped in /usr/tools

There is core folder mentioned, i have forked its master branch to my own repo and made some minor changes in code. Could that be a cause of tools build failure?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10022
  • Karma: 753
    • View Profile
Re: How to test the development version
« Reply #61 on: January 15, 2017, 05:42:02 pm »
core.git's stable/17.1 branch was added a few days ago, simply do:

# cd /usr/core && git pull


Cheers,
Franco
Logged

Solaris17

  • Full Member
  • ***
  • Posts: 108
  • Karma: 14
    • View Profile
Re: How to test the development version
« Reply #62 on: January 15, 2017, 05:43:07 pm »
Quote from: franco on January 15, 2017, 05:42:02 pm
core.git's stable/17.1 branch was added a few days ago, simply do:

# cd /usr/core && git pull


Cheers,
Franco

Thanks I am also going to give this a shot because my beta install is having issues updating every way thats posted.

EDIT:: Bah my main fear is not being able to upgrade into the RC or stable editions. currently checking for firmware updates yeilds no results (Im assuming this is intended) and git pull / make install requests are now failing. Bind910 among other dependencies it says it needs.

Should I really be going line by line and deleting these? Can I download a fresh copy of the file without the old entries.
« Last Edit: January 15, 2017, 05:48:39 pm by Solaris17 »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10022
  • Karma: 753
    • View Profile
Re: How to test the development version
« Reply #63 on: January 15, 2017, 06:00:26 pm »
Hey Solaris,

Some packages changed, some got renamed in FreeBSD (openvpn -> openvpn23), which can only be tied together in points where we release a version like 17.1.b or the upcoming 17.1.r1 next week.

I think most of your trouble can be fixed with:

# make upgrade CORE_ABI=17.1

I expect the shifting of build bits to stop once 17.1.r1 (17.1-RC1) is out, because then it will be a full build like 16.7 has been for the last couple of months.


Cheers,
Franco
Logged

Solaris17

  • Full Member
  • ***
  • Posts: 108
  • Karma: 14
    • View Profile
Re: How to test the development version
« Reply #64 on: January 15, 2017, 06:07:22 pm »
Quote from: franco on January 15, 2017, 06:00:26 pm
Hey Solaris,

Some packages changed, some got renamed in FreeBSD (openvpn -> openvpn23), which can only be tied together in points where we release a version like 17.1.b or the upcoming 17.1.r1 next week.

I think most of your trouble can be fixed with:

# make upgrade CORE_ABI=17.1

I expect the shifting of build bits to stop once 17.1.r1 (17.1-RC1) is out, because then it will be a full build like 16.7 has been for the last couple of months.


Cheers,
Franco

Hey Frano,

I appreciate the advice and I have seen that in the OP. Unfortunetely I have the same issues even with core ABI updates. IE

Code: [Select]
root@TDE-Core-Router:/usr/core # make upgrade CORE_ABI=17.1
/usr/core/+POST_INSTALL -> /usr/core/work/src/+POST_INSTALL
/usr/core/+PRE_DEINSTALL -> /usr/core/work/src/+PRE_DEINSTALL
>>> Missing dependency: openvpn23
*** Error code 1

Stop.
make[1]: stopped in /usr/core
*** Error code 1

Stop.
make: stopped in /usr/core
root@TDE-Core-Router:/usr/core #

I run into the same issues via

git pull
make install

I also cant (obviously) update via the firmware section in th GUI itself. What concerns me is that both of the GIT methodes fail and im concerned I won't be able to dig myself out to get into the RC and Stable builds.

EDIT:: I have even tried updating from console and reinstalling 17.1_b in the hopes it would fix whatever issues I was having.
« Last Edit: January 15, 2017, 06:09:01 pm by Solaris17 »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10022
  • Karma: 753
    • View Profile
Re: How to test the development version
« Reply #65 on: January 15, 2017, 06:13:35 pm »
It's really not an issue to fix this...

The package updates we provide will work when they are published.

In the meantime there cannot be a guarantee that all repositories, in this case ports and core are always 100% in sync. You are currently relying on an older ports repository, but core wants a newer ports repository. In fact, it prevents you from upgrading into a yet unknown state, which is good.

I said it just then, openvpn got renamed to openvpn23, because openvpn package is now version 2.4 but we need to stay on 2.3 a bit longer:

https://github.com/opnsense/core/commit/1d694b2f29db6

In anything we try to do, we try not to brick installs for users. Errors like these are a healthy sign and with a bit of context they do make sense. :)


Cheers,
Franco
Logged

Solaris17

  • Full Member
  • ***
  • Posts: 108
  • Karma: 14
    • View Profile
Re: How to test the development version
« Reply #66 on: January 15, 2017, 06:35:46 pm »
Awesome that makes much more sense thank you!
Logged

Julien

  • Hero Member
  • *****
  • Posts: 596
  • Karma: 31
    • View Profile
Re: How to test the development version
« Reply #67 on: October 18, 2017, 11:36:32 pm »
Done the update from17.7 however the Suricada is not starting.
this update is on a home box and not a productions
OPNsense 18.1.a_203-amd64
FreeBSD 11.0-RELEASE-p12
OpenSSL 1.0.2l 25 May 2017
« Last Edit: October 18, 2017, 11:46:49 pm by Julien »
Logged

DanMc85

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 3
    • View Profile
Re: How to test the development version
« Reply #68 on: October 19, 2017, 12:44:53 am »
I keep getting a Missing dependency: hostapd error when trying to run the make upgrade command.
Logged

DanMc85

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 3
    • View Profile
Re: How to test the development version
« Reply #69 on: October 19, 2017, 01:36:10 am »
I edited the Makefile to bypass the missing files (wpa_supplicant) was also missing.

OPNsense 18.1.a_261-amd64
FreeBSD 11.0-RELEASE-p12
OpenSSL 1.0.2l 25 May 2017

I thought it was supposed to include FreeBSD 11.1 ?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10022
  • Karma: 753
    • View Profile
Re: How to test the development version
« Reply #70 on: October 19, 2017, 07:23:07 am »
Hi Dan,

We haven't fully updated the instructions yet. Normally, going through core.git upgrades the core UI/API package, nothing more.

The preferred method to do this now is simply:

# opnsense-update -t opnsense-devel

Which gives you no trouble with missing dependencies. We update the opnsense-devel package with each release.

This time around, the operating system will be shipped as a separate component to be installed at will. Since we can easily interchange 11.0 for 11.1, you can either choose the opnsense-devel package with it, or the normal release version.

Switching back to the release version:

# opnsense-update -t opnsense

We're still waiting for 17.7.6 to hit (tomorrow) because of an opnsense-update tweak that allows to lock the operating system updates in case people want to make sure they stay on the 18.1-BETA code during subsequent firmware updates. After that is out we will publish the remaining info as an official CFT.


Cheers,
Franco
Logged

Julien

  • Hero Member
  • *****
  • Posts: 596
  • Karma: 31
    • View Profile
Re: How to test the development version
« Reply #71 on: October 19, 2017, 11:10:07 am »
Hi Franco,
any suggestions why the IDS won't start after the update?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10022
  • Karma: 753
    • View Profile
Re: How to test the development version
« Reply #72 on: October 19, 2017, 02:38:45 pm »
Which update do you speak of?

Maybe simply this bug?

https://github.com/opnsense/core/issues/1848

Fix via:

# rm /var/run/suricata.pid

We are fixing this in FreeBSD very soon. Suricata also needs updating to 4.0.1.


Cheers,
Franco
Logged

Julien

  • Hero Member
  • *****
  • Posts: 596
  • Karma: 31
    • View Profile
Re: How to test the development version
« Reply #73 on: October 20, 2017, 04:25:58 pm »
Quote from: franco on October 19, 2017, 02:38:45 pm
Which update do you speak of?

Maybe simply this bug?

https://github.com/opnsense/core/issues/1848

Fix via:

# rm /var/run/suricata.pid

We are fixing this in FreeBSD very soon. Suricata also needs updating to 4.0.1.


Cheers,
Franco
Thank you Franco, yes updating to V18.
just want to inform you about the Suricata it won't start.
Can we update Suricata to 4.0.1 or its not on yet ?
thank you for the great job.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10022
  • Karma: 753
    • View Profile
Re: How to test the development version
« Reply #74 on: October 20, 2017, 04:37:15 pm »
Did you delete the PID file and try to start it? ;)
Logged

  • Print
Pages: 1 ... 3 4 [5] 6
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [OBSOLETE] How to test the development version
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2